123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2019-10-15",
- "endpointPrefix": "codestar-notifications",
- "jsonVersion": "1.1",
- "protocol": "rest-json",
- "serviceFullName": "AWS CodeStar Notifications",
- "serviceId": "codestar notifications",
- "signatureVersion": "v4",
- "signingName": "codestar-notifications",
- "uid": "codestar-notifications-2019-10-15"
- },
- "operations": {
- "CreateNotificationRule": {
- "http": {
- "requestUri": "/createNotificationRule"
- },
- "input": {
- "type": "structure",
- "required": [
- "Name",
- "EventTypeIds",
- "Resource",
- "Targets",
- "DetailType"
- ],
- "members": {
- "Name": {
- "shape": "S2"
- },
- "EventTypeIds": {
- "shape": "S3"
- },
- "Resource": {},
- "Targets": {
- "shape": "S6"
- },
- "DetailType": {},
- "ClientRequestToken": {
- "idempotencyToken": true
- },
- "Tags": {
- "shape": "Sc"
- },
- "Status": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Arn": {}
- }
- }
- },
- "DeleteNotificationRule": {
- "http": {
- "requestUri": "/deleteNotificationRule"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn"
- ],
- "members": {
- "Arn": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Arn": {}
- }
- }
- },
- "DeleteTarget": {
- "http": {
- "requestUri": "/deleteTarget"
- },
- "input": {
- "type": "structure",
- "required": [
- "TargetAddress"
- ],
- "members": {
- "TargetAddress": {
- "shape": "S9"
- },
- "ForceUnsubscribeAll": {
- "type": "boolean"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "DescribeNotificationRule": {
- "http": {
- "requestUri": "/describeNotificationRule"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn"
- ],
- "members": {
- "Arn": {}
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "Arn"
- ],
- "members": {
- "Arn": {},
- "Name": {
- "shape": "S2"
- },
- "EventTypes": {
- "shape": "Sp"
- },
- "Resource": {},
- "Targets": {
- "shape": "Su"
- },
- "DetailType": {},
- "CreatedBy": {},
- "Status": {},
- "CreatedTimestamp": {
- "type": "timestamp"
- },
- "LastModifiedTimestamp": {
- "type": "timestamp"
- },
- "Tags": {
- "shape": "Sc"
- }
- }
- }
- },
- "ListEventTypes": {
- "http": {
- "requestUri": "/listEventTypes"
- },
- "input": {
- "type": "structure",
- "members": {
- "Filters": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "Name",
- "Value"
- ],
- "members": {
- "Name": {},
- "Value": {}
- }
- }
- },
- "NextToken": {},
- "MaxResults": {
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "EventTypes": {
- "shape": "Sp"
- },
- "NextToken": {}
- }
- }
- },
- "ListNotificationRules": {
- "http": {
- "requestUri": "/listNotificationRules"
- },
- "input": {
- "type": "structure",
- "members": {
- "Filters": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "Name",
- "Value"
- ],
- "members": {
- "Name": {},
- "Value": {}
- }
- }
- },
- "NextToken": {},
- "MaxResults": {
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "NextToken": {},
- "NotificationRules": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "Id": {},
- "Arn": {}
- }
- }
- }
- }
- }
- },
- "ListTagsForResource": {
- "http": {
- "requestUri": "/listTagsForResource"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn"
- ],
- "members": {
- "Arn": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Tags": {
- "shape": "Sc"
- }
- }
- }
- },
- "ListTargets": {
- "http": {
- "requestUri": "/listTargets"
- },
- "input": {
- "type": "structure",
- "members": {
- "Filters": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "Name",
- "Value"
- ],
- "members": {
- "Name": {},
- "Value": {}
- }
- }
- },
- "NextToken": {},
- "MaxResults": {
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Targets": {
- "shape": "Su"
- },
- "NextToken": {}
- }
- }
- },
- "Subscribe": {
- "http": {
- "requestUri": "/subscribe"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn",
- "Target"
- ],
- "members": {
- "Arn": {},
- "Target": {
- "shape": "S7"
- },
- "ClientRequestToken": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Arn": {}
- }
- }
- },
- "TagResource": {
- "http": {
- "requestUri": "/tagResource"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn",
- "Tags"
- ],
- "members": {
- "Arn": {},
- "Tags": {
- "shape": "Sc"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "Tags": {
- "shape": "Sc"
- }
- }
- }
- },
- "Unsubscribe": {
- "http": {
- "requestUri": "/unsubscribe"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn",
- "TargetAddress"
- ],
- "members": {
- "Arn": {},
- "TargetAddress": {
- "shape": "S9"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "Arn"
- ],
- "members": {
- "Arn": {}
- }
- }
- },
- "UntagResource": {
- "http": {
- "requestUri": "/untagResource/{resourceArn}"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn",
- "TagKeys"
- ],
- "members": {
- "Arn": {
- "location": "uri",
- "locationName": "resourceArn"
- },
- "TagKeys": {
- "location": "querystring",
- "locationName": "tagKeys",
- "type": "list",
- "member": {}
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "UpdateNotificationRule": {
- "http": {
- "requestUri": "/updateNotificationRule"
- },
- "input": {
- "type": "structure",
- "required": [
- "Arn"
- ],
- "members": {
- "Arn": {},
- "Name": {
- "shape": "S2"
- },
- "Status": {},
- "EventTypeIds": {
- "shape": "S3"
- },
- "Targets": {
- "shape": "S6"
- },
- "DetailType": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- }
- },
- "shapes": {
- "S2": {
- "type": "string",
- "sensitive": true
- },
- "S3": {
- "type": "list",
- "member": {}
- },
- "S6": {
- "type": "list",
- "member": {
- "shape": "S7"
- }
- },
- "S7": {
- "type": "structure",
- "members": {
- "TargetType": {},
- "TargetAddress": {
- "shape": "S9"
- }
- }
- },
- "S9": {
- "type": "string",
- "sensitive": true
- },
- "Sc": {
- "type": "map",
- "key": {},
- "value": {}
- },
- "Sp": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "EventTypeId": {},
- "ServiceName": {},
- "EventTypeName": {},
- "ResourceType": {}
- }
- }
- },
- "Su": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "TargetAddress": {
- "shape": "S9"
- },
- "TargetType": {},
- "TargetStatus": {}
- }
- }
- }
- }
- }
|