mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
717 lines
15 KiB
JSON
717 lines
15 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2018-10-26",
|
|
"endpointPrefix": "api.detective",
|
|
"jsonVersion": "1.1",
|
|
"protocol": "rest-json",
|
|
"serviceFullName": "Amazon Detective",
|
|
"serviceId": "Detective",
|
|
"signatureVersion": "v4",
|
|
"signingName": "detective",
|
|
"uid": "detective-2018-10-26"
|
|
},
|
|
"operations": {
|
|
"AcceptInvitation": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/invitation"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {}
|
|
}
|
|
}
|
|
},
|
|
"BatchGetGraphMemberDatasources": {
|
|
"http": {
|
|
"requestUri": "/graph/datasources/get"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn",
|
|
"AccountIds"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"AccountIds": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MemberDatasources": {
|
|
"shape": "S7"
|
|
},
|
|
"UnprocessedAccounts": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"BatchGetMembershipDatasources": {
|
|
"http": {
|
|
"requestUri": "/membership/datasources/get"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArns"
|
|
],
|
|
"members": {
|
|
"GraphArns": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MembershipDatasources": {
|
|
"shape": "S7"
|
|
},
|
|
"UnprocessedGraphs": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GraphArn": {},
|
|
"Reason": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"CreateGraph": {
|
|
"http": {
|
|
"requestUri": "/graph"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Tags": {
|
|
"shape": "So"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GraphArn": {}
|
|
}
|
|
}
|
|
},
|
|
"CreateMembers": {
|
|
"http": {
|
|
"requestUri": "/graph/members"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn",
|
|
"Accounts"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"Message": {
|
|
"type": "string",
|
|
"sensitive": true
|
|
},
|
|
"DisableEmailNotification": {
|
|
"type": "boolean"
|
|
},
|
|
"Accounts": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AccountId",
|
|
"EmailAddress"
|
|
],
|
|
"members": {
|
|
"AccountId": {},
|
|
"EmailAddress": {
|
|
"shape": "Sx"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Members": {
|
|
"shape": "Sz"
|
|
},
|
|
"UnprocessedAccounts": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DeleteGraph": {
|
|
"http": {
|
|
"requestUri": "/graph/removal"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {}
|
|
}
|
|
}
|
|
},
|
|
"DeleteMembers": {
|
|
"http": {
|
|
"requestUri": "/graph/members/removal"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn",
|
|
"AccountIds"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"AccountIds": {
|
|
"shape": "S1b"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AccountIds": {
|
|
"shape": "S1b"
|
|
},
|
|
"UnprocessedAccounts": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DescribeOrganizationConfiguration": {
|
|
"http": {
|
|
"requestUri": "/orgs/describeOrganizationConfiguration"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AutoEnable": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DisableOrganizationAdminAccount": {
|
|
"http": {
|
|
"requestUri": "/orgs/disableAdminAccount"
|
|
}
|
|
},
|
|
"DisassociateMembership": {
|
|
"http": {
|
|
"requestUri": "/membership/removal"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {}
|
|
}
|
|
}
|
|
},
|
|
"EnableOrganizationAdminAccount": {
|
|
"http": {
|
|
"requestUri": "/orgs/enableAdminAccount"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"AccountId"
|
|
],
|
|
"members": {
|
|
"AccountId": {}
|
|
}
|
|
}
|
|
},
|
|
"GetMembers": {
|
|
"http": {
|
|
"requestUri": "/graph/members/get"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn",
|
|
"AccountIds"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"AccountIds": {
|
|
"shape": "S1b"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MemberDetails": {
|
|
"shape": "Sz"
|
|
},
|
|
"UnprocessedAccounts": {
|
|
"shape": "Sf"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListDatasourcePackages": {
|
|
"http": {
|
|
"requestUri": "/graph/datasources/list"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"NextToken": {},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DatasourcePackages": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"DatasourcePackageIngestState": {},
|
|
"LastIngestStateChange": {
|
|
"shape": "Sb"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListGraphs": {
|
|
"http": {
|
|
"requestUri": "/graphs/list"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"GraphList": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Arn": {},
|
|
"CreatedTime": {
|
|
"shape": "Se"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListInvitations": {
|
|
"http": {
|
|
"requestUri": "/invitations/list"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Invitations": {
|
|
"shape": "Sz"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListMembers": {
|
|
"http": {
|
|
"requestUri": "/graph/members/list"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"NextToken": {},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"MemberDetails": {
|
|
"shape": "Sz"
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListOrganizationAdminAccounts": {
|
|
"http": {
|
|
"requestUri": "/orgs/adminAccountslist"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"NextToken": {},
|
|
"MaxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Administrators": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AccountId": {},
|
|
"GraphArn": {},
|
|
"DelegationTime": {
|
|
"shape": "Se"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"NextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListTagsForResource": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/tags/{ResourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceArn"
|
|
],
|
|
"members": {
|
|
"ResourceArn": {
|
|
"location": "uri",
|
|
"locationName": "ResourceArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Tags": {
|
|
"shape": "So"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"RejectInvitation": {
|
|
"http": {
|
|
"requestUri": "/invitation/removal"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {}
|
|
}
|
|
}
|
|
},
|
|
"StartMonitoringMember": {
|
|
"http": {
|
|
"requestUri": "/graph/member/monitoringstate"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn",
|
|
"AccountId"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"AccountId": {}
|
|
}
|
|
}
|
|
},
|
|
"TagResource": {
|
|
"http": {
|
|
"requestUri": "/tags/{ResourceArn}",
|
|
"responseCode": 204
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceArn",
|
|
"Tags"
|
|
],
|
|
"members": {
|
|
"ResourceArn": {
|
|
"location": "uri",
|
|
"locationName": "ResourceArn"
|
|
},
|
|
"Tags": {
|
|
"shape": "So"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UntagResource": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/tags/{ResourceArn}",
|
|
"responseCode": 204
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ResourceArn",
|
|
"TagKeys"
|
|
],
|
|
"members": {
|
|
"ResourceArn": {
|
|
"location": "uri",
|
|
"locationName": "ResourceArn"
|
|
},
|
|
"TagKeys": {
|
|
"location": "querystring",
|
|
"locationName": "tagKeys",
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UpdateDatasourcePackages": {
|
|
"http": {
|
|
"requestUri": "/graph/datasources/update"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn",
|
|
"DatasourcePackages"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"DatasourcePackages": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"UpdateOrganizationConfiguration": {
|
|
"http": {
|
|
"requestUri": "/orgs/updateOrganizationConfiguration"
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"GraphArn"
|
|
],
|
|
"members": {
|
|
"GraphArn": {},
|
|
"AutoEnable": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S7": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AccountId": {},
|
|
"GraphArn": {},
|
|
"DatasourcePackageIngestHistory": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"shape": "Sb"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Sb": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"Timestamp": {
|
|
"shape": "Se"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Se": {
|
|
"type": "timestamp",
|
|
"timestampFormat": "iso8601"
|
|
},
|
|
"Sf": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AccountId": {},
|
|
"Reason": {}
|
|
}
|
|
}
|
|
},
|
|
"So": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"Sx": {
|
|
"type": "string",
|
|
"sensitive": true
|
|
},
|
|
"Sz": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"AccountId": {},
|
|
"EmailAddress": {
|
|
"shape": "Sx"
|
|
},
|
|
"GraphArn": {},
|
|
"MasterId": {
|
|
"deprecated": true,
|
|
"deprecatedMessage": "This property is deprecated. Use AdministratorId instead."
|
|
},
|
|
"AdministratorId": {},
|
|
"Status": {},
|
|
"DisabledReason": {},
|
|
"InvitedTime": {
|
|
"shape": "Se"
|
|
},
|
|
"UpdatedTime": {
|
|
"shape": "Se"
|
|
},
|
|
"VolumeUsageInBytes": {
|
|
"deprecated": true,
|
|
"deprecatedMessage": "This property is deprecated. Use VolumeUsageByDatasourcePackage instead.",
|
|
"type": "long"
|
|
},
|
|
"VolumeUsageUpdatedTime": {
|
|
"shape": "Se",
|
|
"deprecated": true,
|
|
"deprecatedMessage": "This property is deprecated. Use VolumeUsageByDatasourcePackage instead."
|
|
},
|
|
"PercentOfGraphUtilization": {
|
|
"deprecated": true,
|
|
"deprecatedMessage": "This property is deprecated. Use VolumeUsageByDatasourcePackage instead.",
|
|
"type": "double"
|
|
},
|
|
"PercentOfGraphUtilizationUpdatedTime": {
|
|
"shape": "Se",
|
|
"deprecated": true,
|
|
"deprecatedMessage": "This property is deprecated. Use VolumeUsageByDatasourcePackage instead."
|
|
},
|
|
"InvitationType": {},
|
|
"VolumeUsageByDatasourcePackage": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"VolumeUsageInBytes": {
|
|
"type": "long"
|
|
},
|
|
"VolumeUsageUpdateTime": {
|
|
"shape": "Se"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DatasourcePackageIngestStates": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"S1b": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
} |