UNPKG

prowler-sdk-poc

Version:
2,100 lines 97.1 kB
{ "version": "2.0", "metadata": { "apiVersion": "2017-08-08", "endpointPrefix": "connect", "jsonVersion": "1.1", "protocol": "rest-json", "serviceAbbreviation": "Amazon Connect", "serviceFullName": "Amazon Connect Service", "serviceId": "Connect", "signatureVersion": "v4", "signingName": "connect", "uid": "connect-2017-08-08" }, "operations": { "AssociateApprovedOrigin": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/approved-origin" }, "input": { "type": "structure", "required": [ "InstanceId", "Origin" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Origin": {} } } }, "AssociateBot": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/bot" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "LexBot": { "shape": "S5" }, "LexV2Bot": { "shape": "S8" } } } }, "AssociateInstanceStorageConfig": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/storage-config" }, "input": { "type": "structure", "required": [ "InstanceId", "ResourceType", "StorageConfig" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "ResourceType": {}, "StorageConfig": { "shape": "Sc" } } }, "output": { "type": "structure", "members": { "AssociationId": {} } } }, "AssociateLambdaFunction": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/lambda-function" }, "input": { "type": "structure", "required": [ "InstanceId", "FunctionArn" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "FunctionArn": {} } } }, "AssociateLexBot": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/lex-bot" }, "input": { "type": "structure", "required": [ "InstanceId", "LexBot" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "LexBot": { "shape": "S5" } } } }, "AssociateQueueQuickConnects": { "http": { "requestUri": "/queues/{InstanceId}/{QueueId}/associate-quick-connects" }, "input": { "type": "structure", "required": [ "InstanceId", "QueueId", "QuickConnectIds" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "QueueId": { "location": "uri", "locationName": "QueueId" }, "QuickConnectIds": { "shape": "Sw" } } } }, "AssociateRoutingProfileQueues": { "http": { "requestUri": "/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues" }, "input": { "type": "structure", "required": [ "InstanceId", "RoutingProfileId", "QueueConfigs" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "RoutingProfileId": { "location": "uri", "locationName": "RoutingProfileId" }, "QueueConfigs": { "shape": "S10" } } } }, "AssociateSecurityKey": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/security-key" }, "input": { "type": "structure", "required": [ "InstanceId", "Key" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Key": {} } }, "output": { "type": "structure", "members": { "AssociationId": {} } } }, "CreateAgentStatus": { "http": { "method": "PUT", "requestUri": "/agent-status/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "Name", "State" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Name": {}, "Description": {}, "State": {}, "DisplayOrder": { "type": "integer" }, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "AgentStatusARN": {}, "AgentStatusId": {} } } }, "CreateContactFlow": { "http": { "method": "PUT", "requestUri": "/contact-flows/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "Name", "Type", "Content" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Name": {}, "Type": {}, "Description": {}, "Content": {}, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "ContactFlowId": {}, "ContactFlowArn": {} } } }, "CreateHoursOfOperation": { "http": { "method": "PUT", "requestUri": "/hours-of-operations/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "Name", "TimeZone", "Config" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Name": {}, "Description": {}, "TimeZone": {}, "Config": { "shape": "S1u" }, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "HoursOfOperationId": {}, "HoursOfOperationArn": {} } } }, "CreateInstance": { "http": { "method": "PUT", "requestUri": "/instance" }, "input": { "type": "structure", "required": [ "IdentityManagementType", "InboundCallsEnabled", "OutboundCallsEnabled" ], "members": { "ClientToken": {}, "IdentityManagementType": {}, "InstanceAlias": { "shape": "S25" }, "DirectoryId": {}, "InboundCallsEnabled": { "type": "boolean" }, "OutboundCallsEnabled": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "Id": {}, "Arn": {} } } }, "CreateIntegrationAssociation": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/integration-associations" }, "input": { "type": "structure", "required": [ "InstanceId", "IntegrationType", "IntegrationArn" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "IntegrationType": {}, "IntegrationArn": {}, "SourceApplicationUrl": {}, "SourceApplicationName": {}, "SourceType": {}, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "IntegrationAssociationId": {}, "IntegrationAssociationArn": {} } } }, "CreateQueue": { "http": { "method": "PUT", "requestUri": "/queues/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "Name", "HoursOfOperationId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Name": {}, "Description": {}, "OutboundCallerConfig": { "shape": "S2j" }, "HoursOfOperationId": {}, "MaxContacts": { "type": "integer" }, "QuickConnectIds": { "shape": "Sw" }, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "QueueArn": {}, "QueueId": {} } } }, "CreateQuickConnect": { "http": { "method": "PUT", "requestUri": "/quick-connects/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "Name", "QuickConnectConfig" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Name": {}, "Description": {}, "QuickConnectConfig": { "shape": "S2r" }, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "QuickConnectARN": {}, "QuickConnectId": {} } } }, "CreateRoutingProfile": { "http": { "method": "PUT", "requestUri": "/routing-profiles/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "Name", "Description", "DefaultOutboundQueueId", "MediaConcurrencies" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Name": {}, "Description": {}, "DefaultOutboundQueueId": {}, "QueueConfigs": { "shape": "S10" }, "MediaConcurrencies": { "shape": "S32" }, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "RoutingProfileArn": {}, "RoutingProfileId": {} } } }, "CreateUseCase": { "http": { "method": "PUT", "requestUri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases" }, "input": { "type": "structure", "required": [ "InstanceId", "IntegrationAssociationId", "UseCaseType" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "IntegrationAssociationId": { "location": "uri", "locationName": "IntegrationAssociationId" }, "UseCaseType": {}, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "UseCaseId": {}, "UseCaseArn": {} } } }, "CreateUser": { "http": { "method": "PUT", "requestUri": "/users/{InstanceId}" }, "input": { "type": "structure", "required": [ "Username", "PhoneConfig", "SecurityProfileIds", "RoutingProfileId", "InstanceId" ], "members": { "Username": {}, "Password": {}, "IdentityInfo": { "shape": "S3d" }, "PhoneConfig": { "shape": "S3h" }, "DirectoryUserId": {}, "SecurityProfileIds": { "shape": "S3m" }, "RoutingProfileId": {}, "HierarchyGroupId": {}, "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Tags": { "shape": "S1e" } } }, "output": { "type": "structure", "members": { "UserId": {}, "UserArn": {} } } }, "CreateUserHierarchyGroup": { "http": { "method": "PUT", "requestUri": "/user-hierarchy-groups/{InstanceId}" }, "input": { "type": "structure", "required": [ "Name", "InstanceId" ], "members": { "Name": {}, "ParentGroupId": {}, "InstanceId": { "location": "uri", "locationName": "InstanceId" } } }, "output": { "type": "structure", "members": { "HierarchyGroupId": {}, "HierarchyGroupArn": {} } } }, "DeleteHoursOfOperation": { "http": { "method": "DELETE", "requestUri": "/hours-of-operations/{InstanceId}/{HoursOfOperationId}" }, "input": { "type": "structure", "required": [ "InstanceId", "HoursOfOperationId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "HoursOfOperationId": { "location": "uri", "locationName": "HoursOfOperationId" } } } }, "DeleteInstance": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" } } } }, "DeleteIntegrationAssociation": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}" }, "input": { "type": "structure", "required": [ "InstanceId", "IntegrationAssociationId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "IntegrationAssociationId": { "location": "uri", "locationName": "IntegrationAssociationId" } } } }, "DeleteQuickConnect": { "http": { "method": "DELETE", "requestUri": "/quick-connects/{InstanceId}/{QuickConnectId}" }, "input": { "type": "structure", "required": [ "InstanceId", "QuickConnectId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "QuickConnectId": { "location": "uri", "locationName": "QuickConnectId" } } } }, "DeleteUseCase": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}" }, "input": { "type": "structure", "required": [ "InstanceId", "IntegrationAssociationId", "UseCaseId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "IntegrationAssociationId": { "location": "uri", "locationName": "IntegrationAssociationId" }, "UseCaseId": { "location": "uri", "locationName": "UseCaseId" } } } }, "DeleteUser": { "http": { "method": "DELETE", "requestUri": "/users/{InstanceId}/{UserId}" }, "input": { "type": "structure", "required": [ "InstanceId", "UserId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "UserId": { "location": "uri", "locationName": "UserId" } } } }, "DeleteUserHierarchyGroup": { "http": { "method": "DELETE", "requestUri": "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}" }, "input": { "type": "structure", "required": [ "HierarchyGroupId", "InstanceId" ], "members": { "HierarchyGroupId": { "location": "uri", "locationName": "HierarchyGroupId" }, "InstanceId": { "location": "uri", "locationName": "InstanceId" } } } }, "DescribeAgentStatus": { "http": { "method": "GET", "requestUri": "/agent-status/{InstanceId}/{AgentStatusId}" }, "input": { "type": "structure", "required": [ "InstanceId", "AgentStatusId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "AgentStatusId": { "location": "uri", "locationName": "AgentStatusId" } } }, "output": { "type": "structure", "members": { "AgentStatus": { "type": "structure", "members": { "AgentStatusARN": {}, "AgentStatusId": {}, "Name": {}, "Description": {}, "Type": {}, "DisplayOrder": { "type": "integer" }, "State": {}, "Tags": { "shape": "S1e" } } } } } }, "DescribeContactFlow": { "http": { "method": "GET", "requestUri": "/contact-flows/{InstanceId}/{ContactFlowId}" }, "input": { "type": "structure", "required": [ "InstanceId", "ContactFlowId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "ContactFlowId": { "location": "uri", "locationName": "ContactFlowId" } } }, "output": { "type": "structure", "members": { "ContactFlow": { "type": "structure", "members": { "Arn": {}, "Id": {}, "Name": {}, "Type": {}, "Description": {}, "Content": {}, "Tags": { "shape": "S1e" } } } } } }, "DescribeHoursOfOperation": { "http": { "method": "GET", "requestUri": "/hours-of-operations/{InstanceId}/{HoursOfOperationId}" }, "input": { "type": "structure", "required": [ "InstanceId", "HoursOfOperationId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "HoursOfOperationId": { "location": "uri", "locationName": "HoursOfOperationId" } } }, "output": { "type": "structure", "members": { "HoursOfOperation": { "type": "structure", "members": { "HoursOfOperationId": {}, "HoursOfOperationArn": {}, "Name": {}, "Description": {}, "TimeZone": {}, "Config": { "shape": "S1u" }, "Tags": { "shape": "S1e" } } } } } }, "DescribeInstance": { "http": { "method": "GET", "requestUri": "/instance/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" } } }, "output": { "type": "structure", "members": { "Instance": { "type": "structure", "members": { "Id": {}, "Arn": {}, "IdentityManagementType": {}, "InstanceAlias": { "shape": "S25" }, "CreatedTime": { "type": "timestamp" }, "ServiceRole": {}, "InstanceStatus": {}, "StatusReason": { "type": "structure", "members": { "Message": {} } }, "InboundCallsEnabled": { "type": "boolean" }, "OutboundCallsEnabled": { "type": "boolean" } } } } } }, "DescribeInstanceAttribute": { "http": { "method": "GET", "requestUri": "/instance/{InstanceId}/attribute/{AttributeType}" }, "input": { "type": "structure", "required": [ "InstanceId", "AttributeType" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "AttributeType": { "location": "uri", "locationName": "AttributeType" } } }, "output": { "type": "structure", "members": { "Attribute": { "shape": "S4k" } } } }, "DescribeInstanceStorageConfig": { "http": { "method": "GET", "requestUri": "/instance/{InstanceId}/storage-config/{AssociationId}" }, "input": { "type": "structure", "required": [ "InstanceId", "AssociationId", "ResourceType" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "AssociationId": { "location": "uri", "locationName": "AssociationId" }, "ResourceType": { "location": "querystring", "locationName": "resourceType" } } }, "output": { "type": "structure", "members": { "StorageConfig": { "shape": "Sc" } } } }, "DescribeQueue": { "http": { "method": "GET", "requestUri": "/queues/{InstanceId}/{QueueId}" }, "input": { "type": "structure", "required": [ "InstanceId", "QueueId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "QueueId": { "location": "uri", "locationName": "QueueId" } } }, "output": { "type": "structure", "members": { "Queue": { "type": "structure", "members": { "Name": {}, "QueueArn": {}, "QueueId": {}, "Description": {}, "OutboundCallerConfig": { "shape": "S2j" }, "HoursOfOperationId": {}, "MaxContacts": { "type": "integer" }, "Status": {}, "Tags": { "shape": "S1e" } } } } } }, "DescribeQuickConnect": { "http": { "method": "GET", "requestUri": "/quick-connects/{InstanceId}/{QuickConnectId}" }, "input": { "type": "structure", "required": [ "InstanceId", "QuickConnectId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "QuickConnectId": { "location": "uri", "locationName": "QuickConnectId" } } }, "output": { "type": "structure", "members": { "QuickConnect": { "type": "structure", "members": { "QuickConnectARN": {}, "QuickConnectId": {}, "Name": {}, "Description": {}, "QuickConnectConfig": { "shape": "S2r" }, "Tags": { "shape": "S1e" } } } } } }, "DescribeRoutingProfile": { "http": { "method": "GET", "requestUri": "/routing-profiles/{InstanceId}/{RoutingProfileId}" }, "input": { "type": "structure", "required": [ "InstanceId", "RoutingProfileId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "RoutingProfileId": { "location": "uri", "locationName": "RoutingProfileId" } } }, "output": { "type": "structure", "members": { "RoutingProfile": { "type": "structure", "members": { "InstanceId": {}, "Name": {}, "RoutingProfileArn": {}, "RoutingProfileId": {}, "Description": {}, "MediaConcurrencies": { "shape": "S32" }, "DefaultOutboundQueueId": {}, "Tags": { "shape": "S1e" } } } } } }, "DescribeUser": { "http": { "method": "GET", "requestUri": "/users/{InstanceId}/{UserId}" }, "input": { "type": "structure", "required": [ "UserId", "InstanceId" ], "members": { "UserId": { "location": "uri", "locationName": "UserId" }, "InstanceId": { "location": "uri", "locationName": "InstanceId" } } }, "output": { "type": "structure", "members": { "User": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Username": {}, "IdentityInfo": { "shape": "S3d" }, "PhoneConfig": { "shape": "S3h" }, "DirectoryUserId": {}, "SecurityProfileIds": { "shape": "S3m" }, "RoutingProfileId": {}, "HierarchyGroupId": {}, "Tags": { "shape": "S1e" } } } } } }, "DescribeUserHierarchyGroup": { "http": { "method": "GET", "requestUri": "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}" }, "input": { "type": "structure", "required": [ "HierarchyGroupId", "InstanceId" ], "members": { "HierarchyGroupId": { "location": "uri", "locationName": "HierarchyGroupId" }, "InstanceId": { "location": "uri", "locationName": "InstanceId" } } }, "output": { "type": "structure", "members": { "HierarchyGroup": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "LevelId": {}, "HierarchyPath": { "type": "structure", "members": { "LevelOne": { "shape": "S56" }, "LevelTwo": { "shape": "S56" }, "LevelThree": { "shape": "S56" }, "LevelFour": { "shape": "S56" }, "LevelFive": { "shape": "S56" } } } } } } } }, "DescribeUserHierarchyStructure": { "http": { "method": "GET", "requestUri": "/user-hierarchy-structure/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" } } }, "output": { "type": "structure", "members": { "HierarchyStructure": { "type": "structure", "members": { "LevelOne": { "shape": "S5a" }, "LevelTwo": { "shape": "S5a" }, "LevelThree": { "shape": "S5a" }, "LevelFour": { "shape": "S5a" }, "LevelFive": { "shape": "S5a" } } } } } }, "DisassociateApprovedOrigin": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}/approved-origin" }, "input": { "type": "structure", "required": [ "InstanceId", "Origin" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Origin": { "location": "querystring", "locationName": "origin" } } } }, "DisassociateBot": { "http": { "requestUri": "/instance/{InstanceId}/bot" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "LexBot": { "shape": "S5" }, "LexV2Bot": { "shape": "S8" } } } }, "DisassociateInstanceStorageConfig": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}/storage-config/{AssociationId}" }, "input": { "type": "structure", "required": [ "InstanceId", "AssociationId", "ResourceType" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "AssociationId": { "location": "uri", "locationName": "AssociationId" }, "ResourceType": { "location": "querystring", "locationName": "resourceType" } } } }, "DisassociateLambdaFunction": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}/lambda-function" }, "input": { "type": "structure", "required": [ "InstanceId", "FunctionArn" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "FunctionArn": { "location": "querystring", "locationName": "functionArn" } } } }, "DisassociateLexBot": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}/lex-bot" }, "input": { "type": "structure", "required": [ "InstanceId", "BotName", "LexRegion" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "BotName": { "location": "querystring", "locationName": "botName" }, "LexRegion": { "location": "querystring", "locationName": "lexRegion" } } } }, "DisassociateQueueQuickConnects": { "http": { "requestUri": "/queues/{InstanceId}/{QueueId}/disassociate-quick-connects" }, "input": { "type": "structure", "required": [ "InstanceId", "QueueId", "QuickConnectIds" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "QueueId": { "location": "uri", "locationName": "QueueId" }, "QuickConnectIds": { "shape": "Sw" } } } }, "DisassociateRoutingProfileQueues": { "http": { "requestUri": "/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues" }, "input": { "type": "structure", "required": [ "InstanceId", "RoutingProfileId", "QueueReferences" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "RoutingProfileId": { "location": "uri", "locationName": "RoutingProfileId" }, "QueueReferences": { "type": "list", "member": { "shape": "S12" } } } } }, "DisassociateSecurityKey": { "http": { "method": "DELETE", "requestUri": "/instance/{InstanceId}/security-key/{AssociationId}" }, "input": { "type": "structure", "required": [ "InstanceId", "AssociationId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "AssociationId": { "location": "uri", "locationName": "AssociationId" } } } }, "GetContactAttributes": { "http": { "method": "GET", "requestUri": "/contact/attributes/{InstanceId}/{InitialContactId}" }, "input": { "type": "structure", "required": [ "InstanceId", "InitialContactId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "InitialContactId": { "location": "uri", "locationName": "InitialContactId" } } }, "output": { "type": "structure", "members": { "Attributes": { "shape": "S5o" } } } }, "GetCurrentMetricData": { "http": { "requestUri": "/metrics/current/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "Filters", "CurrentMetrics" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "Filters": { "shape": "S5s" }, "Groupings": { "shape": "S5v" }, "CurrentMetrics": { "type": "list", "member": { "shape": "S5y" } }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextToken": {}, "MetricResults": { "type": "list", "member": { "type": "structure", "members": { "Dimensions": { "shape": "S66" }, "Collections": { "type": "list", "member": { "type": "structure", "members": { "Metric": { "shape": "S5y" }, "Value": { "type": "double" } } } } } } }, "DataSnapshotTime": { "type": "timestamp" } } } }, "GetFederationToken": { "http": { "method": "GET", "requestUri": "/user/federate/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" } } }, "output": { "type": "structure", "members": { "Credentials": { "type": "structure", "members": { "AccessToken": { "shape": "S6f" }, "AccessTokenExpiration": { "type": "timestamp" }, "RefreshToken": { "shape": "S6f" }, "RefreshTokenExpiration": { "type": "timestamp" } } } } } }, "GetMetricData": { "http": { "requestUri": "/metrics/historical/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId", "StartTime", "EndTime", "Filters", "HistoricalMetrics" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Filters": { "shape": "S5s" }, "Groupings": { "shape": "S5v" }, "HistoricalMetrics": { "type": "list", "member": { "shape": "S6i" } }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextToken": {}, "MetricResults": { "type": "list", "member": { "type": "structure", "members": { "Dimensions": { "shape": "S66" }, "Collections": { "type": "list", "member": { "type": "structure", "members": { "Metric": { "shape": "S6i" }, "Value": { "type": "double" } } } } } } } } } }, "ListAgentStatuses": { "http": { "method": "GET", "requestUri": "/agent-status/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "AgentStatusTypes": { "location": "querystring", "locationName": "AgentStatusTypes", "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "NextToken": {}, "AgentStatusSummaryList": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "Type": {} } } } } } }, "ListApprovedOrigins": { "http": { "method": "GET", "requestUri": "/instance/{InstanceId}/approved-origins" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "members": { "Origins": { "type": "list", "member": {} }, "NextToken": {} } } }, "ListBots": { "http": { "method": "GET", "requestUri": "/instance/{InstanceId}/bots" }, "input": { "type": "structure", "required": [ "InstanceId", "LexVersion" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "LexVersion": { "location": "querystring", "locationName": "lexVersion" } } }, "output": { "type": "structure", "members": { "LexBots": { "type": "list", "member": { "type": "structure", "members": { "LexBot": { "shape": "S5" }, "LexV2Bot": { "shape": "S8" } } } }, "NextToken": {} } } }, "ListContactFlows": { "http": { "method": "GET", "requestUri": "/contact-flows-summary/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "ContactFlowTypes": { "location": "querystring", "locationName": "contactFlowTypes", "type": "list", "member": {} }, "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "members": { "ContactFlowSummaryList": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "ContactFlowType": {} } } }, "NextToken": {} } } }, "ListHoursOfOperations": { "http": { "method": "GET", "requestUri": "/hours-of-operations-summary/{InstanceId}" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "members": { "HoursOfOperationSummaryList": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {} } } }, "NextToken": {} } } }, "ListInstanceAttributes": { "http": { "method": "GET", "requestUri": "/instance/{InstanceId}/attributes" }, "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "members": { "Attributes": { "type": "list", "member": { "shape": "S4k" } }, "NextToken": {} } } }, "ListInstanceStorageConfigs": { "http": { "method": "GET", "requestUri": "/instance/{InstanceId}/storage-configs" }, "input": { "type": "structure", "required": [ "InstanceId", "ResourceType" ], "members": { "InstanceId": { "location": "uri", "locationName": "InstanceId" }, "ResourceType": { "location": "querystring", "locationName": "resourceType" }, "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "members": { "StorageConfigs": { "type": "list", "member": { "shape": "Sc" } }, "NextToken": {} } } }, "ListInstances": { "http": { "method": "GET", "requestUri": "/instance" }, "input": { "type": "structure", "members": { "NextToken": { "location": "querystring", "locationName": "nextToken" }, "MaxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "members": { "InstanceSummaryList": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Arn": {}, "IdentityManagementType": {}, "InstanceAlias": { "shape": "S25" }, "CreatedTime": { "type": "timestamp" }, "ServiceRole": {}, "InstanceStatus": {}, "InboundCallsEnabled": { "type": "boolean" }, "OutboundCallsEnabled": { "type": "boolean" } } } }, "NextToken": {} } } }, "ListIntegrationAssociations": { "http": { "m