Backend half
This commit is contained in:
Generated
Vendored
+638
@@ -0,0 +1,638 @@
|
||||
{
|
||||
"version": "2.0",
|
||||
"metadata": {
|
||||
"apiVersion": "2022-10-30",
|
||||
"endpointPrefix": "arc-zonal-shift",
|
||||
"jsonVersion": "1.1",
|
||||
"protocol": "rest-json",
|
||||
"protocols": [
|
||||
"rest-json"
|
||||
],
|
||||
"serviceFullName": "AWS ARC - Zonal Shift",
|
||||
"serviceId": "ARC Zonal Shift",
|
||||
"signatureVersion": "v4",
|
||||
"signingName": "arc-zonal-shift",
|
||||
"uid": "arc-zonal-shift-2022-10-30",
|
||||
"auth": [
|
||||
"aws.auth#sigv4"
|
||||
]
|
||||
},
|
||||
"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
|
||||
},
|
||||
"GetAutoshiftObserverNotificationStatus": {
|
||||
"http": {
|
||||
"method": "GET",
|
||||
"requestUri": "/autoshift-observer-notification",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"members": {}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"status"
|
||||
],
|
||||
"members": {
|
||||
"status": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": "Su"
|
||||
},
|
||||
"arn": {},
|
||||
"autoshifts": {
|
||||
"shape": "Sw"
|
||||
},
|
||||
"name": {},
|
||||
"practiceRunConfiguration": {
|
||||
"shape": "Sl"
|
||||
},
|
||||
"zonalAutoshiftStatus": {},
|
||||
"zonalShifts": {
|
||||
"shape": "Sz"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": "Su"
|
||||
},
|
||||
"arn": {},
|
||||
"autoshifts": {
|
||||
"shape": "Sw"
|
||||
},
|
||||
"availabilityZones": {
|
||||
"type": "list",
|
||||
"member": {}
|
||||
},
|
||||
"name": {},
|
||||
"practiceRunStatus": {},
|
||||
"zonalAutoshiftStatus": {},
|
||||
"zonalShifts": {
|
||||
"shape": "Sz"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"UpdateAutoshiftObserverNotificationStatus": {
|
||||
"http": {
|
||||
"method": "PUT",
|
||||
"requestUri": "/autoshift-observer-notification",
|
||||
"responseCode": 200
|
||||
},
|
||||
"input": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"status"
|
||||
],
|
||||
"members": {
|
||||
"status": {}
|
||||
}
|
||||
},
|
||||
"output": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"status"
|
||||
],
|
||||
"members": {
|
||||
"status": {}
|
||||
}
|
||||
},
|
||||
"idempotent": true
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Su": {
|
||||
"type": "map",
|
||||
"key": {},
|
||||
"value": {
|
||||
"type": "float"
|
||||
}
|
||||
},
|
||||
"Sw": {
|
||||
"type": "list",
|
||||
"member": {
|
||||
"type": "structure",
|
||||
"required": [
|
||||
"appliedStatus",
|
||||
"awayFrom",
|
||||
"startTime"
|
||||
],
|
||||
"members": {
|
||||
"appliedStatus": {},
|
||||
"awayFrom": {},
|
||||
"startTime": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Sz": {
|
||||
"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": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user