123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2022-10-30",
- "endpointPrefix": "arc-zonal-shift",
- "jsonVersion": "1.1",
- "protocol": "rest-json",
- "serviceFullName": "AWS ARC - Zonal Shift",
- "serviceId": "ARC Zonal Shift",
- "signatureVersion": "v4",
- "signingName": "arc-zonal-shift",
- "uid": "arc-zonal-shift-2022-10-30"
- },
- "operations": {
- "CancelZonalShift": {
- "http": {
- "method": "DELETE",
- "requestUri": "/zonalshifts/{zonalShiftId}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "zonalShiftId"
- ],
- "members": {
- "zonalShiftId": {
- "location": "uri",
- "locationName": "zonalShiftId"
- }
- }
- },
- "output": {
- "shape": "S3"
- }
- },
- "CreatePracticeRunConfiguration": {
- "http": {
- "requestUri": "/configuration",
- "responseCode": 201
- },
- "input": {
- "type": "structure",
- "required": [
- "outcomeAlarms",
- "resourceIdentifier"
- ],
- "members": {
- "blockedDates": {
- "shape": "Sb"
- },
- "blockedWindows": {
- "shape": "Sd"
- },
- "blockingAlarms": {
- "shape": "Sf"
- },
- "outcomeAlarms": {
- "shape": "Sf"
- },
- "resourceIdentifier": {}
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "arn",
- "name",
- "practiceRunConfiguration",
- "zonalAutoshiftStatus"
- ],
- "members": {
- "arn": {},
- "name": {},
- "practiceRunConfiguration": {
- "shape": "Sl"
- },
- "zonalAutoshiftStatus": {}
- }
- }
- },
- "DeletePracticeRunConfiguration": {
- "http": {
- "method": "DELETE",
- "requestUri": "/configuration/{resourceIdentifier}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "resourceIdentifier"
- ],
- "members": {
- "resourceIdentifier": {
- "location": "uri",
- "locationName": "resourceIdentifier"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "arn",
- "name",
- "zonalAutoshiftStatus"
- ],
- "members": {
- "arn": {},
- "name": {},
- "zonalAutoshiftStatus": {}
- }
- },
- "idempotent": true
- },
- "GetManagedResource": {
- "http": {
- "method": "GET",
- "requestUri": "/managedresources/{resourceIdentifier}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "resourceIdentifier"
- ],
- "members": {
- "resourceIdentifier": {
- "location": "uri",
- "locationName": "resourceIdentifier"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "appliedWeights",
- "zonalShifts"
- ],
- "members": {
- "appliedWeights": {
- "shape": "Sr"
- },
- "arn": {},
- "autoshifts": {
- "shape": "St"
- },
- "name": {},
- "practiceRunConfiguration": {
- "shape": "Sl"
- },
- "zonalAutoshiftStatus": {},
- "zonalShifts": {
- "shape": "Sw"
- }
- }
- }
- },
- "ListAutoshifts": {
- "http": {
- "method": "GET",
- "requestUri": "/autoshifts",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "members": {
- "maxResults": {
- "location": "querystring",
- "locationName": "maxResults",
- "type": "integer"
- },
- "nextToken": {
- "location": "querystring",
- "locationName": "nextToken"
- },
- "status": {
- "location": "querystring",
- "locationName": "status"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "items": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "awayFrom",
- "endTime",
- "startTime",
- "status"
- ],
- "members": {
- "awayFrom": {},
- "endTime": {
- "type": "timestamp"
- },
- "startTime": {
- "type": "timestamp"
- },
- "status": {}
- }
- }
- },
- "nextToken": {}
- }
- }
- },
- "ListManagedResources": {
- "http": {
- "method": "GET",
- "requestUri": "/managedresources",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "members": {
- "maxResults": {
- "location": "querystring",
- "locationName": "maxResults",
- "type": "integer"
- },
- "nextToken": {
- "location": "querystring",
- "locationName": "nextToken"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "items"
- ],
- "members": {
- "items": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "availabilityZones"
- ],
- "members": {
- "appliedWeights": {
- "shape": "Sr"
- },
- "arn": {},
- "autoshifts": {
- "shape": "St"
- },
- "availabilityZones": {
- "type": "list",
- "member": {}
- },
- "name": {},
- "practiceRunStatus": {},
- "zonalAutoshiftStatus": {},
- "zonalShifts": {
- "shape": "Sw"
- }
- }
- }
- },
- "nextToken": {}
- }
- }
- },
- "ListZonalShifts": {
- "http": {
- "method": "GET",
- "requestUri": "/zonalshifts",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "members": {
- "maxResults": {
- "location": "querystring",
- "locationName": "maxResults",
- "type": "integer"
- },
- "nextToken": {
- "location": "querystring",
- "locationName": "nextToken"
- },
- "resourceIdentifier": {
- "location": "querystring",
- "locationName": "resourceIdentifier"
- },
- "status": {
- "location": "querystring",
- "locationName": "status"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "items": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "awayFrom",
- "comment",
- "expiryTime",
- "resourceIdentifier",
- "startTime",
- "status",
- "zonalShiftId"
- ],
- "members": {
- "awayFrom": {},
- "comment": {},
- "expiryTime": {
- "type": "timestamp"
- },
- "practiceRunOutcome": {},
- "resourceIdentifier": {},
- "startTime": {
- "type": "timestamp"
- },
- "status": {},
- "zonalShiftId": {}
- }
- }
- },
- "nextToken": {}
- }
- }
- },
- "StartZonalShift": {
- "http": {
- "requestUri": "/zonalshifts",
- "responseCode": 201
- },
- "input": {
- "type": "structure",
- "required": [
- "awayFrom",
- "comment",
- "expiresIn",
- "resourceIdentifier"
- ],
- "members": {
- "awayFrom": {},
- "comment": {},
- "expiresIn": {},
- "resourceIdentifier": {}
- }
- },
- "output": {
- "shape": "S3"
- }
- },
- "UpdatePracticeRunConfiguration": {
- "http": {
- "method": "PATCH",
- "requestUri": "/configuration/{resourceIdentifier}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "resourceIdentifier"
- ],
- "members": {
- "blockedDates": {
- "shape": "Sb"
- },
- "blockedWindows": {
- "shape": "Sd"
- },
- "blockingAlarms": {
- "shape": "Sf"
- },
- "outcomeAlarms": {
- "shape": "Sf"
- },
- "resourceIdentifier": {
- "location": "uri",
- "locationName": "resourceIdentifier"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "arn",
- "name",
- "practiceRunConfiguration",
- "zonalAutoshiftStatus"
- ],
- "members": {
- "arn": {},
- "name": {},
- "practiceRunConfiguration": {
- "shape": "Sl"
- },
- "zonalAutoshiftStatus": {}
- }
- }
- },
- "UpdateZonalAutoshiftConfiguration": {
- "http": {
- "method": "PUT",
- "requestUri": "/managedresources/{resourceIdentifier}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "resourceIdentifier",
- "zonalAutoshiftStatus"
- ],
- "members": {
- "resourceIdentifier": {
- "location": "uri",
- "locationName": "resourceIdentifier"
- },
- "zonalAutoshiftStatus": {}
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "resourceIdentifier",
- "zonalAutoshiftStatus"
- ],
- "members": {
- "resourceIdentifier": {},
- "zonalAutoshiftStatus": {}
- }
- },
- "idempotent": true
- },
- "UpdateZonalShift": {
- "http": {
- "method": "PATCH",
- "requestUri": "/zonalshifts/{zonalShiftId}",
- "responseCode": 200
- },
- "input": {
- "type": "structure",
- "required": [
- "zonalShiftId"
- ],
- "members": {
- "comment": {},
- "expiresIn": {},
- "zonalShiftId": {
- "location": "uri",
- "locationName": "zonalShiftId"
- }
- }
- },
- "output": {
- "shape": "S3"
- }
- }
- },
- "shapes": {
- "S3": {
- "type": "structure",
- "required": [
- "awayFrom",
- "comment",
- "expiryTime",
- "resourceIdentifier",
- "startTime",
- "status",
- "zonalShiftId"
- ],
- "members": {
- "awayFrom": {},
- "comment": {},
- "expiryTime": {
- "type": "timestamp"
- },
- "resourceIdentifier": {},
- "startTime": {
- "type": "timestamp"
- },
- "status": {},
- "zonalShiftId": {}
- }
- },
- "Sb": {
- "type": "list",
- "member": {}
- },
- "Sd": {
- "type": "list",
- "member": {}
- },
- "Sf": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "alarmIdentifier",
- "type"
- ],
- "members": {
- "alarmIdentifier": {},
- "type": {}
- }
- }
- },
- "Sl": {
- "type": "structure",
- "required": [
- "outcomeAlarms"
- ],
- "members": {
- "blockedDates": {
- "shape": "Sb"
- },
- "blockedWindows": {
- "shape": "Sd"
- },
- "blockingAlarms": {
- "shape": "Sf"
- },
- "outcomeAlarms": {
- "shape": "Sf"
- }
- }
- },
- "Sr": {
- "type": "map",
- "key": {},
- "value": {
- "type": "float"
- }
- },
- "St": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "appliedStatus",
- "awayFrom",
- "startTime"
- ],
- "members": {
- "appliedStatus": {},
- "awayFrom": {},
- "startTime": {
- "type": "timestamp"
- }
- }
- }
- },
- "Sw": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "appliedStatus",
- "awayFrom",
- "comment",
- "expiryTime",
- "resourceIdentifier",
- "startTime",
- "zonalShiftId"
- ],
- "members": {
- "appliedStatus": {},
- "awayFrom": {},
- "comment": {},
- "expiryTime": {
- "type": "timestamp"
- },
- "practiceRunOutcome": {},
- "resourceIdentifier": {},
- "startTime": {
- "type": "timestamp"
- },
- "zonalShiftId": {}
- }
- }
- }
- }
- }
|