diff --git a/CHANGELOG.md b/CHANGELOG.md index dd6f94fc908..3b2918a6b31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +Release v1.42.4 (2021-11-12) +=== + +### Service Client Updates +* `service/connect`: Updates service API, documentation, and paginators +* `service/devops-guru`: Updates service API, documentation, and paginators +* `service/ec2`: Updates service API + * C6i instances are powered by a third-generation Intel Xeon Scalable processor (Ice Lake) delivering all-core turbo frequency of 3.5 GHz. G5 instances feature up to 8 NVIDIA A10G Tensor Core GPUs and second generation AMD EPYC processors. +* `service/mediaconvert`: Updates service API and documentation + * AWS Elemental MediaConvert SDK has added automatic modes for GOP configuration and added the ability to ingest screen recordings generated by Safari on MacOS 12 Monterey. +* `service/ssm`: Updates service API and documentation + * This Patch Manager release supports creating Patch Baselines for RaspberryPi OS (formerly Raspbian) + Release v1.42.3 (2021-11-11) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index ea12126a711..7a19a8a7bdb 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -14201,6 +14201,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -17502,6 +17505,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 27a961c1a9c..e6d7c29533d 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.42.3" +const SDKVersion = "1.42.4" diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 942f627a896..b1fb8afc95f 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -493,6 +493,22 @@ {"shape":"InternalServiceException"} ] }, + "DescribeContact":{ + "name":"DescribeContact", + "http":{ + "method":"GET", + "requestUri":"/contacts/{InstanceId}/{ContactId}" + }, + "input":{"shape":"DescribeContactRequest"}, + "output":{"shape":"DescribeContactResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"ThrottlingException"} + ] + }, "DescribeContactFlow":{ "name":"DescribeContactFlow", "http":{ @@ -929,6 +945,22 @@ {"shape":"InternalServiceException"} ] }, + "ListContactReferences":{ + "name":"ListContactReferences", + "http":{ + "method":"GET", + "requestUri":"/contact/references/{InstanceId}/{ContactId}" + }, + "input":{"shape":"ListContactReferencesRequest"}, + "output":{"shape":"ListContactReferencesResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"ThrottlingException"} + ] + }, "ListHoursOfOperations":{ "name":"ListHoursOfOperations", "http":{ @@ -1462,6 +1494,22 @@ {"shape":"InternalServiceException"} ] }, + "UpdateContact":{ + "name":"UpdateContact", + "http":{ + "method":"POST", + "requestUri":"/contacts/{InstanceId}/{ContactId}" + }, + "input":{"shape":"UpdateContactRequest"}, + "output":{"shape":"UpdateContactResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"ThrottlingException"} + ] + }, "UpdateContactAttributes":{ "name":"UpdateContactAttributes", "http":{ @@ -1509,6 +1557,23 @@ {"shape":"InternalServiceException"} ] }, + "UpdateContactSchedule":{ + "name":"UpdateContactSchedule", + "http":{ + "method":"POST", + "requestUri":"/contact/schedule" + }, + "input":{"shape":"UpdateContactScheduleRequest"}, + "output":{"shape":"UpdateContactScheduleResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalServiceException"} + ] + }, "UpdateHoursOfOperation":{ "name":"UpdateHoursOfOperation", "http":{ @@ -1864,11 +1929,23 @@ "max":100, "min":1 }, + "AgentInfo":{ + "type":"structure", + "members":{ + "Id":{"shape":"AgentResourceId"}, + "ConnectedToAgentTimestamp":{"shape":"timestamp"} + } + }, "AgentLastName":{ "type":"string", "max":100, "min":1 }, + "AgentResourceId":{ + "type":"string", + "max":256, + "min":1 + }, "AgentStatus":{ "type":"structure", "members":{ @@ -2097,6 +2174,14 @@ "max":100, "min":1 }, + "AttachmentReference":{ + "type":"structure", + "members":{ + "Name":{"shape":"ReferenceKey"}, + "Value":{"shape":"ReferenceValue"}, + "Status":{"shape":"ReferenceStatus"} + } + }, "Attribute":{ "type":"structure", "members":{ @@ -2150,7 +2235,7 @@ "Channels":{ "type":"list", "member":{"shape":"Channel"}, - "max":1 + "max":3 }, "ChatContent":{ "type":"string", @@ -2203,6 +2288,25 @@ "max":10, "min":1 }, + "Contact":{ + "type":"structure", + "members":{ + "Arn":{"shape":"ARN"}, + "Id":{"shape":"ContactId"}, + "InitialContactId":{"shape":"ContactId"}, + "PreviousContactId":{"shape":"ContactId"}, + "InitiationMethod":{"shape":"ContactInitiationMethod"}, + "Name":{"shape":"Name"}, + "Description":{"shape":"Description"}, + "Channel":{"shape":"Channel"}, + "QueueInfo":{"shape":"QueueInfo"}, + "AgentInfo":{"shape":"AgentInfo"}, + "InitiationTimestamp":{"shape":"timestamp"}, + "DisconnectTimestamp":{"shape":"timestamp"}, + "LastUpdateTimestamp":{"shape":"timestamp"}, + "ScheduledTimestamp":{"shape":"timestamp"} + } + }, "ContactFlow":{ "type":"structure", "members":{ @@ -2270,6 +2374,17 @@ "max":256, "min":1 }, + "ContactInitiationMethod":{ + "type":"string", + "enum":[ + "INBOUND", + "OUTBOUND", + "TRANSFER", + "QUEUE_TRANSFER", + "CALLBACK", + "API" + ] + }, "ContactNotFoundException":{ "type":"structure", "members":{ @@ -2886,6 +3001,31 @@ "ContactFlow":{"shape":"ContactFlow"} } }, + "DescribeContactRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "ContactId":{ + "shape":"ContactId", + "location":"uri", + "locationName":"ContactId" + } + } + }, + "DescribeContactResponse":{ + "type":"structure", + "members":{ + "Contact":{"shape":"Contact"} + } + }, "DescribeHoursOfOperationRequest":{ "type":"structure", "required":[ @@ -4123,6 +4263,43 @@ "NextToken":{"shape":"NextToken"} } }, + "ListContactReferencesRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId", + "ReferenceTypes" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "ContactId":{ + "shape":"ContactId", + "location":"uri", + "locationName":"ContactId" + }, + "ReferenceTypes":{ + "shape":"ReferenceTypes", + "location":"querystring", + "locationName":"referenceTypes" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListContactReferencesResponse":{ + "type":"structure", + "members":{ + "ReferenceSummaryList":{"shape":"ReferenceSummaryList"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListHoursOfOperationsRequest":{ "type":"structure", "required":["InstanceId"], @@ -5255,6 +5432,13 @@ "min":1 }, "QueueId":{"type":"string"}, + "QueueInfo":{ + "type":"structure", + "members":{ + "Id":{"shape":"QueueId"}, + "EnqueueTimestamp":{"shape":"timestamp"} + } + }, "QueueMaxContacts":{ "type":"integer", "min":0 @@ -5400,9 +5584,36 @@ "max":4096, "min":1 }, + "ReferenceStatus":{ + "type":"string", + "enum":[ + "APPROVED", + "REJECTED" + ] + }, + "ReferenceSummary":{ + "type":"structure", + "members":{ + "Url":{"shape":"UrlReference"}, + "Attachment":{"shape":"AttachmentReference"} + }, + "union":true + }, + "ReferenceSummaryList":{ + "type":"list", + "member":{"shape":"ReferenceSummary"} + }, "ReferenceType":{ "type":"string", - "enum":["URL"] + "enum":[ + "URL", + "ATTACHMENT" + ] + }, + "ReferenceTypes":{ + "type":"list", + "member":{"shape":"ReferenceType"}, + "max":2 }, "ReferenceValue":{ "type":"string", @@ -5772,7 +5983,8 @@ "ClientToken":{ "shape":"ClientToken", "idempotencyToken":true - } + }, + "ScheduledTime":{"shape":"Timestamp"} } }, "StartTaskContactResponse":{ @@ -6064,6 +6276,51 @@ "Description":{"shape":"ContactFlowDescription"} } }, + "UpdateContactRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "ContactId":{ + "shape":"ContactId", + "location":"uri", + "locationName":"ContactId" + }, + "Name":{"shape":"Name"}, + "Description":{"shape":"Description"}, + "References":{"shape":"ContactReferences"} + } + }, + "UpdateContactResponse":{ + "type":"structure", + "members":{ + } + }, + "UpdateContactScheduleRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId", + "ScheduledTime" + ], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "ContactId":{"shape":"ContactId"}, + "ScheduledTime":{"shape":"Timestamp"} + } + }, + "UpdateContactScheduleResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateHoursOfOperationDescription":{ "type":"string", "max":250, @@ -6539,6 +6796,13 @@ } } }, + "UrlReference":{ + "type":"structure", + "members":{ + "Name":{"shape":"ReferenceKey"}, + "Value":{"shape":"ReferenceValue"} + } + }, "UseCase":{ "type":"structure", "members":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 1616083dd3a..a01741e0908 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "
Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
Working with contact flows? Check out the Amazon Connect Flow language.
Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an AWS service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
Working with contact flows? Check out the Amazon Connect Flow language.
This API is in preview release for Amazon Connect and is subject to change.
Associates an approved origin to an Amazon Connect instance.
", "AssociateBot": "This API is in preview release for Amazon Connect and is subject to change.
Allows the specified Amazon Connect instance to access the specified Amazon Lex or Amazon Lex V2 bot.
", @@ -14,7 +14,7 @@ "CreateContactFlow": "Creates a contact flow for the specified Amazon Connect instance.
You can also create and update contact flows using the Amazon Connect Flow language.
", "CreateHoursOfOperation": "Creates hours of operation.
", "CreateInstance": "This API is in preview release for Amazon Connect and is subject to change.
Initiates an Amazon Connect instance with all the supported channels enabled. It does not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon Kinesis. It also does not allow for any configurations on features, such as Contact Lens for Amazon Connect.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
", - "CreateIntegrationAssociation": "Creates an Amazon Web Services resource association with an Amazon Connect instance.
", + "CreateIntegrationAssociation": "Creates an AWS resource association with an Amazon Connect instance.
", "CreateQueue": "This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
", "CreateQuickConnect": "Creates a quick connect for the specified Amazon Connect instance.
", "CreateRoutingProfile": "Creates a new routing profile.
", @@ -24,13 +24,14 @@ "CreateUserHierarchyGroup": "Creates a new user hierarchy group.
", "DeleteHoursOfOperation": "Deletes an hours of operation.
", "DeleteInstance": "This API is in preview release for Amazon Connect and is subject to change.
Deletes the Amazon Connect instance.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
", - "DeleteIntegrationAssociation": "Deletes an Amazon Web Services resource association from an Amazon Connect instance. The association must not have any use cases associated with it.
", + "DeleteIntegrationAssociation": "Deletes an AWS resource association from an Amazon Connect instance. The association must not have any use cases associated with it.
", "DeleteQuickConnect": "Deletes a quick connect.
", "DeleteSecurityProfile": "This API is in preview release for Amazon Connect and is subject to change.
Deletes a security profile.
", "DeleteUseCase": "Deletes a use case from an integration association.
", "DeleteUser": "Deletes a user account from the specified Amazon Connect instance.
For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon Connect Instance in the Amazon Connect Administrator Guide.
", "DeleteUserHierarchyGroup": "Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.
", "DescribeAgentStatus": "This API is in preview release for Amazon Connect and is subject to change.
Describes an agent status.
", + "DescribeContact": "This API is in preview release for Amazon Connect and is subject to change.
Describes the specified contact.
Contact information is available in Amazon Connect for 24 months, and then it is deleted.
Describes the specified contact flow.
You can also create and update contact flows using the Amazon Connect Flow language.
", "DescribeHoursOfOperation": "Describes the hours of operation.
", "DescribeInstance": "This API is in preview release for Amazon Connect and is subject to change.
Returns the current state of the specified instance identifier. It tracks the instance while it is being created and returns an error status, if applicable.
If an instance is not created successfully, the instance status reason field returns details relevant to the reason. The instance in a failed state is returned only for 24 hours after the CreateInstance API was invoked.
", @@ -59,11 +60,12 @@ "ListApprovedOrigins": "This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all approved origins associated with the instance.
", "ListBots": "This API is in preview release for Amazon Connect and is subject to change.
For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance.
", "ListContactFlows": "Provides information about the contact flows for the specified Amazon Connect instance.
You can also create and update contact flows using the Amazon Connect Flow language.
For more information about contact flows, see Contact Flows in the Amazon Connect Administrator Guide.
", + "ListContactReferences": "This API is in preview release for Amazon Connect and is subject to change.
For the specified referenceTypes
, returns a list of references associated with the contact.
Provides information about the hours of operation for the specified Amazon Connect instance.
For more information about hours of operation, see Set the Hours of Operation for a Queue in the Amazon Connect Administrator Guide.
", "ListInstanceAttributes": "This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all attribute types for the given instance.
", "ListInstanceStorageConfigs": "This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of storage configs for the identified instance and resource type.
", "ListInstances": "This API is in preview release for Amazon Connect and is subject to change.
Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances that aren't successfully created (they are in a failed state) are returned only for 24 hours after the CreateInstance API was invoked.
", - "ListIntegrationAssociations": "Provides summary information about the Amazon Web Services resource associations for the specified Amazon Connect instance.
", + "ListIntegrationAssociations": "Provides summary information about the AWS resource associations for the specified Amazon Connect instance.
", "ListLambdaFunctions": "This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all Lambda functions that display in the dropdown options in the relevant contact flow blocks.
", "ListLexBots": "This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all the Amazon Lex bots currently associated with the instance.
", "ListPhoneNumbers": "Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
", @@ -75,7 +77,7 @@ "ListRoutingProfiles": "Provides summary information about the routing profiles for the specified Amazon Connect instance.
For more information about routing profiles, see Routing Profiles and Create a Routing Profile in the Amazon Connect Administrator Guide.
", "ListSecurityKeys": "This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all security keys associated with the instance.
", "ListSecurityProfilePermissions": "This API is in preview release for Amazon Connect and is subject to change.
Lists the permissions granted to a security profile.
", - "ListSecurityProfiles": "This API is in preview release for Amazon Connect and is subject to change.
Provides summary information about the security profiles for the specified Amazon Connect instance.
For more information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide.
", + "ListSecurityProfiles": "Provides summary information about the security profiles for the specified Amazon Connect instance.
For more information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide.
", "ListTagsForResource": "Lists the tags for the specified resource.
For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.
", "ListUseCases": "Lists the use cases for the integration association.
", "ListUserHierarchyGroups": "Provides summary information about the hierarchy groups for the specified Amazon Connect instance.
For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.
", @@ -85,7 +87,7 @@ "StartContactRecording": "Starts recording the contact when the agent joins the call. StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.
You can use this API to override the recording behavior configured in the Set recording behavior block.
Only voice recordings are supported at this time.
", "StartContactStreaming": "Initiates real-time message streaming for a new chat contact.
For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.
", "StartOutboundVoiceContact": "Places an outbound call to a contact, and then initiates the contact flow. It performs the actions in the contact flow that's specified (in ContactFlowId
).
Agents do not initiate the outbound API, which means that they do not dial the contact. If the contact flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.
There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.
UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
Campaign calls are not allowed by default. Before you can make a call with TrafficType
= CAMPAIGN
, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
Initiates a contact flow to start a new task.
", + "StartTaskContact": "Initiates a contact flow to start a new task immediately or at a future date and time.
", "StopContact": "Ends the specified contact.
", "StopContactRecording": "Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.
Only voice recordings are supported at this time.
", "StopContactStreaming": "Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.
", @@ -93,9 +95,11 @@ "TagResource": "Adds the specified tags to the specified resource.
The supported resource types are users, routing profiles, queues, quick connects, contact flows, agent status, and hours of operation.
For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.
", "UntagResource": "Removes the specified tags from the specified resource.
", "UpdateAgentStatus": "This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
", + "UpdateContact": "This API is in preview release for Amazon Connect and is subject to change.
Adds or updates user defined contact information associated with the specified contact. At least one field to be updated must be present in the request.
You can add or update user-defined contact information for both ongoing and completed contacts.
Creates or updates user-defined contact attributes associated with the specified contact.
You can create or update user-defined attributes for both ongoing and completed contacts. For example, while the call is active, you can update the customer's name or the reason the customer called. You can add notes about steps that the agent took during the call that display to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or to identify abusive callers.
Contact attributes are available in Amazon Connect for 24 months, and are then deleted. For information about CTR retention and the maximum size of the CTR attributes section, see Feature specifications in the Amazon Connect Administrator Guide.
Important: You cannot use the operation to update attributes for contacts that occurred prior to the release of the API, which was September 12, 2018. You can update attributes only for contacts that started after the release of the API. If you attempt to update attributes for a contact that occurred prior to the release of the API, a 400 error is returned. This applies also to queued callbacks that were initiated prior to the release of the API but are still active in your instance.
", "UpdateContactFlowContent": "Updates the specified contact flow.
You can also create and update contact flows using the Amazon Connect Flow language.
", "UpdateContactFlowName": "The name of the contact flow.
You can also create and update contact flows using the Amazon Connect Flow language.
", + "UpdateContactSchedule": "Updates the scheduled time of a task contact that is already scheduled.
", "UpdateHoursOfOperation": "Updates the hours of operation.
", "UpdateInstanceAttribute": "This API is in preview release for Amazon Connect and is subject to change.
Updates the value for the specified attribute type.
", "UpdateInstanceStorageConfig": "This API is in preview release for Amazon Connect and is subject to change.
Updates an existing configuration for a resource type. This API is idempotent.
", @@ -125,6 +129,7 @@ "refs": { "AgentStatus$AgentStatusARN": "The Amazon Resource Name (ARN) of the agent status.
", "AgentStatusSummary$Arn": "The Amazon Resource Name (ARN) for the agent status.
", + "Contact$Arn": "The Amazon Resource Name (ARN) for the contact.
", "ContactFlow$Arn": "The Amazon Resource Name (ARN) of the contact flow.
", "ContactFlowSummary$Arn": "The Amazon Resource Name (ARN) of the contact flow.
", "CreateAgentStatusResponse$AgentStatusARN": "The Amazon Resource Name (ARN) of the agent status.
", @@ -191,12 +196,24 @@ "UserIdentityInfo$FirstName": "The first name. This is required if you are using Amazon Connect or SAML for identity management.
" } }, + "AgentInfo": { + "base": "Information about the agent who accepted the contact.
", + "refs": { + "Contact$AgentInfo": "Information about the agent who accepted the contact.
" + } + }, "AgentLastName": { "base": null, "refs": { "UserIdentityInfo$LastName": "The last name. This is required if you are using Amazon Connect or SAML for identity management.
" } }, + "AgentResourceId": { + "base": null, + "refs": { + "AgentInfo$Id": "The identifier of the agent who accepted the contact.
" + } + }, "AgentStatus": { "base": "Contains information about an agent status.
", "refs": { @@ -354,6 +371,12 @@ "UpdateInstanceStorageConfigRequest$AssociationId": "The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
" } }, + "AttachmentReference": { + "base": "Information about the attachment reference if the referenceType
is ATTACHMENT
. Otherwise, null.
Information about the attachment reference if the referenceType
is ATTACHMENT
. Otherwise, null.
A toggle for an individual feature at the instance level.
", "refs": { @@ -426,6 +449,7 @@ "base": null, "refs": { "Channels$member": null, + "Contact$Channel": "How the contact reached your contact center.
", "Dimensions$Channel": "The channel used for grouping and filters.
", "MediaConcurrency$Channel": "The channels that agents can handle in the Contact Control Panel (CCP).
", "RoutingProfileQueueConfigSummary$Channel": "The channels this queue supports.
", @@ -501,6 +525,12 @@ "MediaConcurrency$Concurrency": "The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE
: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value of 10.
Valid Range for TASK
: Minimum value of 1. Maximum value of 10.
Contains information about a contact.
", + "refs": { + "DescribeContactResponse$Contact": "Information about the contact.
" + } + }, "ContactFlow": { "base": "Contains information about a contact flow.
", "refs": { @@ -584,7 +614,12 @@ "ContactId": { "base": null, "refs": { + "Contact$Id": "The identifier for the contact.
", + "Contact$InitialContactId": "If this contact is related to other contacts, this is the ID of the initial contact.
", + "Contact$PreviousContactId": "If this contact is not the first contact, this is the ID of the previous contact.
", + "DescribeContactRequest$ContactId": "The identifier of the initial contact.
", "GetContactAttributesRequest$InitialContactId": "The identifier of the initial contact.
", + "ListContactReferencesRequest$ContactId": "The identifier of the initial contact.
", "ResumeContactRecordingRequest$ContactId": "The identifier of the contact.
", "ResumeContactRecordingRequest$InitialContactId": "The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
", "StartChatContactResponse$ContactId": "The identifier of this contact within the Amazon Connect instance.
", @@ -600,7 +635,15 @@ "StopContactStreamingRequest$ContactId": "The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.
", "SuspendContactRecordingRequest$ContactId": "The identifier of the contact.
", "SuspendContactRecordingRequest$InitialContactId": "The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
", - "UpdateContactAttributesRequest$InitialContactId": "The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
" + "UpdateContactAttributesRequest$InitialContactId": "The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
", + "UpdateContactRequest$ContactId": "The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
", + "UpdateContactScheduleRequest$ContactId": "The identifier of the contact.
" + } + }, + "ContactInitiationMethod": { + "base": null, + "refs": { + "Contact$InitiationMethod": "Indicates how the contact was initiated.
" } }, "ContactNotFoundException": { @@ -611,7 +654,8 @@ "ContactReferences": { "base": null, "refs": { - "StartTaskContactRequest$References": "A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
" + "StartTaskContactRequest$References": "A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
", + "UpdateContactRequest$References": "A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
" } }, "CreateAgentStatusRequest": { @@ -850,6 +894,16 @@ "refs": { } }, + "DescribeContactRequest": { + "base": null, + "refs": { + } + }, + "DescribeContactResponse": { + "base": null, + "refs": { + } + }, "DescribeHoursOfOperationRequest": { "base": null, "refs": { @@ -963,7 +1017,9 @@ "Description": { "base": null, "refs": { - "StartTaskContactRequest$Description": "A description of the task that is shown to an agent in the Contact Control Panel (CCP).
" + "Contact$Description": "The description of the contact.
", + "StartTaskContactRequest$Description": "A description of the task that is shown to an agent in the Contact Control Panel (CCP).
", + "UpdateContactRequest$Description": "The description of the contact.
" } }, "DestinationNotAllowedException": { @@ -1095,7 +1151,7 @@ "FunctionArnsList": { "base": null, "refs": { - "ListLambdaFunctionsResponse$LambdaFunctions": "The Lambda function ARNs associated with the specified instance.
" + "ListLambdaFunctionsResponse$LambdaFunctions": "The Lambdafunction ARNs associated with the specified instance.
" } }, "GetContactAttributesRequest": { @@ -1396,7 +1452,7 @@ "refs": { "Attribute$AttributeType": "The type of attribute.
", "DescribeInstanceAttributeRequest$AttributeType": "The type of attribute.
", - "UpdateInstanceAttributeRequest$AttributeType": "The type of attribute.
Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.
The type of attribute.
Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact AWS Support for allowlisting.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "DescribeAgentStatusRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "DescribeContactFlowRequest$InstanceId": "The identifier of the Amazon Connect instance.
", + "DescribeContactRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "DescribeHoursOfOperationRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "DescribeInstanceAttributeRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "DescribeInstanceRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", @@ -1469,6 +1526,7 @@ "ListApprovedOriginsRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ListBotsRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ListContactFlowsRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", + "ListContactReferencesRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ListHoursOfOperationsRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ListInstanceAttributesRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "ListInstanceStorageConfigsRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", @@ -1504,6 +1562,8 @@ "UpdateContactAttributesRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "UpdateContactFlowContentRequest$InstanceId": "The identifier of the Amazon Connect instance.
", "UpdateContactFlowNameRequest$InstanceId": "The identifier of the Amazon Connect instance.
", + "UpdateContactRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", + "UpdateContactScheduleRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "UpdateHoursOfOperationRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "UpdateInstanceAttributeRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", "UpdateInstanceStorageConfigRequest$InstanceId": "The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
", @@ -1606,7 +1666,7 @@ "refs": { "CreateIntegrationAssociationRequest$IntegrationType": "The type of information to be ingested.
", "IntegrationAssociationSummary$IntegrationType": "The integration type.
", - "ListIntegrationAssociationsRequest$IntegrationType": "The type of integration.
" + "ListIntegrationAssociationsRequest$IntegrationType": "" } }, "InternalServiceException": { @@ -1747,6 +1807,16 @@ "refs": { } }, + "ListContactReferencesRequest": { + "base": null, + "refs": { + } + }, + "ListContactReferencesResponse": { + "base": null, + "refs": { + } + }, "ListHoursOfOperationsRequest": { "base": null, "refs": { @@ -2057,7 +2127,9 @@ "Name": { "base": null, "refs": { - "StartTaskContactRequest$Name": "The name of a task that is shown to an agent in the Contact Control Panel (CCP).
" + "Contact$Name": "The name of the contact.
", + "StartTaskContactRequest$Name": "The name of a task that is shown to an agent in the Contact Control Panel (CCP).
", + "UpdateContactRequest$Name": "The name of the contact.
" } }, "NextToken": { @@ -2075,6 +2147,8 @@ "ListBotsResponse$NextToken": "If there are additional results, this is the token for the next set of results.
", "ListContactFlowsRequest$NextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", "ListContactFlowsResponse$NextToken": "If there are additional results, this is the token for the next set of results.
", + "ListContactReferencesRequest$NextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
This is not expected to be set since the value returned in the previous response is always null.
If there are additional results, this is the token for the next set of results.
This is always returned as null in the response.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", "ListHoursOfOperationsResponse$NextToken": "If there are additional results, this is the token for the next set of results.
", "ListInstanceAttributesRequest$NextToken": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
", @@ -2344,6 +2418,7 @@ "DisassociateQueueQuickConnectsRequest$QueueId": "The identifier for the queue.
", "ListQueueQuickConnectsRequest$QueueId": "The identifier for the queue.
", "Queue$QueueId": "The identifier for the queue.
", + "QueueInfo$Id": "The identifier of the agent who accepted the contact.
", "QueueQuickConnectConfig$QueueId": "The identifier for the queue.
", "QueueReference$Id": "The identifier of the queue.
", "QueueSummary$Id": "The identifier of the queue.
", @@ -2360,6 +2435,12 @@ "UpdateRoutingProfileDefaultOutboundQueueRequest$DefaultOutboundQueueId": "The identifier for the default outbound queue.
" } }, + "QueueInfo": { + "base": "If this contact was queued, this contains information about the queue.
", + "refs": { + "Contact$QueueInfo": "If this contact was queued, this contains information about the queue.
" + } + }, "QueueMaxContacts": { "base": null, "refs": { @@ -2512,19 +2593,48 @@ "ReferenceKey": { "base": null, "refs": { - "ContactReferences$key": null + "AttachmentReference$Name": "Identifier of the attachment reference.
", + "ContactReferences$key": null, + "UrlReference$Name": "Identifier of the URL reference.
" + } + }, + "ReferenceStatus": { + "base": null, + "refs": { + "AttachmentReference$Status": "Status of an attachment reference type.
" + } + }, + "ReferenceSummary": { + "base": "Contains summary information about a reference. ReferenceSummary
contains only one non null field between the URL and attachment based on the reference type.
Information about the contact flows.
" } }, "ReferenceType": { "base": null, "refs": { - "Reference$Type": "A valid URL.
" + "Reference$Type": "The type of the reference. Only URL
type can be added or updated on a contact.
The type of reference.
" } }, "ReferenceValue": { "base": null, "refs": { - "Reference$Value": "A formatted URL that displays to an agent in the Contact Control Panel (CCP)
" + "AttachmentReference$Value": "Contains the location path of the attachment reference.
", + "Reference$Value": "A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
", + "UrlReference$Value": "A valid URL.
" } }, "ResourceConflictException": { @@ -2887,24 +2997,24 @@ "TagMap": { "base": null, "refs": { - "AgentStatus$Tags": "The tags used to organize, track, or control access for this resource.
", + "AgentStatus$Tags": "One or more tags.
", "ContactFlow$Tags": "One or more tags.
", - "CreateAgentStatusRequest$Tags": "The tags used to organize, track, or control access for this resource.
", + "CreateAgentStatusRequest$Tags": "One or more tags.
", "CreateContactFlowRequest$Tags": "One or more tags.
", - "CreateHoursOfOperationRequest$Tags": "The tags used to organize, track, or control access for this resource.
", - "CreateIntegrationAssociationRequest$Tags": "The tags used to organize, track, or control access for this resource.
", - "CreateQueueRequest$Tags": "The tags used to organize, track, or control access for this resource.
", - "CreateQuickConnectRequest$Tags": "The tags used to organize, track, or control access for this resource.
", + "CreateHoursOfOperationRequest$Tags": "One or more tags.
", + "CreateIntegrationAssociationRequest$Tags": "One or more tags.
", + "CreateQueueRequest$Tags": "One or more tags.
", + "CreateQuickConnectRequest$Tags": "One or more tags.
", "CreateRoutingProfileRequest$Tags": "One or more tags.
", - "CreateSecurityProfileRequest$Tags": "The tags used to organize, track, or control access for this resource.
", - "CreateUseCaseRequest$Tags": "The tags used to organize, track, or control access for this resource.
", + "CreateSecurityProfileRequest$Tags": "One or more tags.
", + "CreateUseCaseRequest$Tags": "One or more tags.
", "CreateUserRequest$Tags": "One or more tags.
", - "HoursOfOperation$Tags": "The tags used to organize, track, or control access for this resource.
", + "HoursOfOperation$Tags": "One or more tags.
", "ListTagsForResourceResponse$tags": "Information about the tags.
", - "Queue$Tags": "The tags used to organize, track, or control access for this resource.
", - "QuickConnect$Tags": "The tags used to organize, track, or control access for this resource.
", + "Queue$Tags": "One or more tags.
", + "QuickConnect$Tags": "One or more tags.
", "RoutingProfile$Tags": "One or more tags.
", - "SecurityProfile$Tags": "The tags used to organize, track, or control access for this resource.
", + "SecurityProfile$Tags": "One or more tags.
", "TagResourceRequest$tags": "One or more tags. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.
", "User$Tags": "The tags.
" } @@ -2949,7 +3059,9 @@ "base": null, "refs": { "Instance$CreatedTime": "When the instance was created.
", - "InstanceSummary$CreatedTime": "When the instance was created.
" + "InstanceSummary$CreatedTime": "When the instance was created.
", + "StartTaskContactRequest$ScheduledTime": "The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
", + "UpdateContactScheduleRequest$ScheduledTime": "The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
" } }, "TrafficType": { @@ -3008,6 +3120,26 @@ "refs": { } }, + "UpdateContactRequest": { + "base": null, + "refs": { + } + }, + "UpdateContactResponse": { + "base": null, + "refs": { + } + }, + "UpdateContactScheduleRequest": { + "base": null, + "refs": { + } + }, + "UpdateContactScheduleResponse": { + "base": null, + "refs": { + } + }, "UpdateHoursOfOperationDescription": { "base": null, "refs": { @@ -3130,6 +3262,12 @@ "refs": { } }, + "UrlReference": { + "base": "The URL reference.
", + "refs": { + "ReferenceSummary$Url": "Information about Url reference if the referenceType
is URL
. Otherwise, null.
Contains the use case.
", "refs": { @@ -3240,11 +3378,17 @@ "timestamp": { "base": null, "refs": { + "AgentInfo$ConnectedToAgentTimestamp": "The timestamp when the contact was connected to the agent.
", + "Contact$InitiationTimestamp": "The date and time this contact was initiated, in UTC time. For INBOUND
, this is when the contact arrived. For OUTBOUND
, this is when the agent began dialing. For CALLBACK
, this is when the callback contact was created. For TRANSFER
and QUEUE_TRANSFER
, this is when the transfer was initiated. For API
, this is when the request arrived.
The timestamp when the customer endpoint disconnected from Amazon Connect.
", + "Contact$LastUpdateTimestamp": "The timestamp when contact was last updated.
", + "Contact$ScheduledTimestamp": "The timestamp, in Unix epoch time format, at which to start running the inbound flow.
", "Credentials$AccessTokenExpiration": "A token generated with an expiration time for the session a user is logged in to Amazon Connect.
", "Credentials$RefreshTokenExpiration": "Renews the expiration timer for a generated token.
", "GetCurrentMetricDataResponse$DataSnapshotTime": "The time at which the metrics were retrieved and cached for pagination.
", "GetMetricDataRequest$StartTime": "The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be specified using a multiple of 5 minutes, such as 10:05, 10:10, 10:15.
The start time cannot be earlier than 24 hours before the time of the request. Historical metrics are available only for 24 hours.
", "GetMetricDataRequest$EndTime": "The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be specified using an interval of 5 minutes, such as 11:00, 11:05, 11:10, and must be later than the start time timestamp.
The time range between the start and end time must be less than 24 hours.
", + "QueueInfo$EnqueueTimestamp": "The timestamp when the contact was added to the queue.
", "SecurityKey$CreationTime": "When the security key was created.
" } } diff --git a/models/apis/connect/2017-08-08/paginators-1.json b/models/apis/connect/2017-08-08/paginators-1.json index 770ac3c49bc..a017de8e61d 100644 --- a/models/apis/connect/2017-08-08/paginators-1.json +++ b/models/apis/connect/2017-08-08/paginators-1.json @@ -34,6 +34,11 @@ "output_token": "NextToken", "result_key": "ContactFlowSummaryList" }, + "ListContactReferences": { + "input_token": "NextToken", + "output_token": "NextToken", + "result_key": "ReferenceSummaryList" + }, "ListHoursOfOperations": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/devops-guru/2020-12-01/api-2.json b/models/apis/devops-guru/2020-12-01/api-2.json index d9d32d8690e..9c90819cf6b 100644 --- a/models/apis/devops-guru/2020-12-01/api-2.json +++ b/models/apis/devops-guru/2020-12-01/api-2.json @@ -114,6 +114,54 @@ {"shape":"ValidationException"} ] }, + "DescribeOrganizationHealth":{ + "name":"DescribeOrganizationHealth", + "http":{ + "method":"POST", + "requestUri":"/organization/health", + "responseCode":200 + }, + "input":{"shape":"DescribeOrganizationHealthRequest"}, + "output":{"shape":"DescribeOrganizationHealthResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ] + }, + "DescribeOrganizationOverview":{ + "name":"DescribeOrganizationOverview", + "http":{ + "method":"POST", + "requestUri":"/organization/overview", + "responseCode":200 + }, + "input":{"shape":"DescribeOrganizationOverviewRequest"}, + "output":{"shape":"DescribeOrganizationOverviewResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ] + }, + "DescribeOrganizationResourceCollectionHealth":{ + "name":"DescribeOrganizationResourceCollectionHealth", + "http":{ + "method":"POST", + "requestUri":"/organization/health/resource-collection/", + "responseCode":200 + }, + "input":{"shape":"DescribeOrganizationResourceCollectionHealthRequest"}, + "output":{"shape":"DescribeOrganizationResourceCollectionHealthResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ] + }, "DescribeResourceCollectionHealth":{ "name":"DescribeResourceCollectionHealth", "http":{ @@ -246,6 +294,22 @@ {"shape":"ValidationException"} ] }, + "ListOrganizationInsights":{ + "name":"ListOrganizationInsights", + "http":{ + "method":"POST", + "requestUri":"/organization/insights", + "responseCode":200 + }, + "input":{"shape":"ListOrganizationInsightsRequest"}, + "output":{"shape":"ListOrganizationInsightsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ] + }, "ListRecommendations":{ "name":"ListRecommendations", "http":{ @@ -315,6 +379,22 @@ {"shape":"ValidationException"} ] }, + "SearchOrganizationInsights":{ + "name":"SearchOrganizationInsights", + "http":{ + "method":"POST", + "requestUri":"/organization/insights/search", + "responseCode":200 + }, + "input":{"shape":"SearchOrganizationInsightsRequest"}, + "output":{"shape":"SearchOrganizationInsightsResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"} + ] + }, "StartCostEstimation":{ "name":"StartCostEstimation", "http":{ @@ -378,6 +458,30 @@ "error":{"httpStatusCode":403}, "exception":true }, + "AccountHealth":{ + "type":"structure", + "members":{ + "AccountId":{"shape":"AwsAccountId"}, + "Insight":{"shape":"AccountInsightHealth"} + } + }, + "AccountHealths":{ + "type":"list", + "member":{"shape":"AccountHealth"} + }, + "AccountIdList":{ + "type":"list", + "member":{"shape":"AwsAccountId"}, + "max":5, + "min":0 + }, + "AccountInsightHealth":{ + "type":"structure", + "members":{ + "OpenProactiveInsights":{"shape":"NumOpenProactiveInsights"}, + "OpenReactiveInsights":{"shape":"NumOpenReactiveInsights"} + } + }, "AddNotificationChannelRequest":{ "type":"structure", "required":["Config"], @@ -439,6 +543,12 @@ "EndTime":{"shape":"Timestamp"} } }, + "AwsAccountId":{ + "type":"string", + "max":12, + "min":12, + "pattern":"^\\d{12}$" + }, "Channels":{ "type":"list", "member":{"shape":"NotificationChannel"} @@ -478,6 +588,21 @@ "type":"list", "member":{"shape":"CloudFormationHealth"} }, + "CloudWatchMetricDataStatusCode":{ + "type":"string", + "enum":[ + "Complete", + "InternalError", + "PartialData" + ] + }, + "CloudWatchMetricsDataSummary":{ + "type":"structure", + "members":{ + "TimestampMetricValuePairList":{"shape":"TimestampMetricValuePairList"}, + "StatusCode":{"shape":"CloudWatchMetricDataStatusCode"} + } + }, "CloudWatchMetricsDetail":{ "type":"structure", "members":{ @@ -486,7 +611,8 @@ "Dimensions":{"shape":"CloudWatchMetricsDimensions"}, "Stat":{"shape":"CloudWatchMetricsStat"}, "Unit":{"shape":"CloudWatchMetricsUnit"}, - "Period":{"shape":"CloudWatchMetricsPeriod"} + "Period":{"shape":"CloudWatchMetricsPeriod"}, + "MetricDataSummary":{"shape":"CloudWatchMetricsDataSummary"} } }, "CloudWatchMetricsDetails":{ @@ -622,6 +748,11 @@ "shape":"AnomalyId", "location":"uri", "locationName":"Id" + }, + "AccountId":{ + "shape":"AwsAccountId", + "location":"querystring", + "locationName":"AccountId" } } }, @@ -652,6 +783,11 @@ "shape":"InsightId", "location":"uri", "locationName":"Id" + }, + "AccountId":{ + "shape":"AwsAccountId", + "location":"querystring", + "locationName":"AccountId" } } }, @@ -662,6 +798,69 @@ "ReactiveInsight":{"shape":"ReactiveInsight"} } }, + "DescribeOrganizationHealthRequest":{ + "type":"structure", + "members":{ + "AccountIds":{"shape":"AccountIdList"}, + "OrganizationalUnitIds":{"shape":"OrganizationalUnitIdList"} + } + }, + "DescribeOrganizationHealthResponse":{ + "type":"structure", + "required":[ + "OpenReactiveInsights", + "OpenProactiveInsights", + "MetricsAnalyzed", + "ResourceHours" + ], + "members":{ + "OpenReactiveInsights":{"shape":"NumOpenReactiveInsights"}, + "OpenProactiveInsights":{"shape":"NumOpenProactiveInsights"}, + "MetricsAnalyzed":{"shape":"NumMetricsAnalyzed"}, + "ResourceHours":{"shape":"ResourceHours"} + } + }, + "DescribeOrganizationOverviewRequest":{ + "type":"structure", + "required":["FromTime"], + "members":{ + "FromTime":{"shape":"Timestamp"}, + "ToTime":{"shape":"Timestamp"}, + "AccountIds":{"shape":"AccountIdList"}, + "OrganizationalUnitIds":{"shape":"OrganizationalUnitIdList"} + } + }, + "DescribeOrganizationOverviewResponse":{ + "type":"structure", + "required":[ + "ReactiveInsights", + "ProactiveInsights" + ], + "members":{ + "ReactiveInsights":{"shape":"NumReactiveInsights"}, + "ProactiveInsights":{"shape":"NumProactiveInsights"} + } + }, + "DescribeOrganizationResourceCollectionHealthRequest":{ + "type":"structure", + "required":["OrganizationResourceCollectionType"], + "members":{ + "OrganizationResourceCollectionType":{"shape":"OrganizationResourceCollectionType"}, + "AccountIds":{"shape":"AccountIdList"}, + "OrganizationalUnitIds":{"shape":"OrganizationalUnitIdList"}, + "NextToken":{"shape":"UuidNextToken"}, + "MaxResults":{"shape":"OrganizationResourceCollectionMaxResults"} + } + }, + "DescribeOrganizationResourceCollectionHealthResponse":{ + "type":"structure", + "members":{ + "CloudFormation":{"shape":"CloudFormationHealths"}, + "Service":{"shape":"ServiceHealths"}, + "Account":{"shape":"AccountHealths"}, + "NextToken":{"shape":"UuidNextToken"} + } + }, "DescribeResourceCollectionHealthRequest":{ "type":"structure", "required":["ResourceCollectionType"], @@ -950,7 +1149,8 @@ }, "StartTimeRange":{"shape":"StartTimeRange"}, "MaxResults":{"shape":"ListAnomaliesForInsightMaxResults"}, - "NextToken":{"shape":"UuidNextToken"} + "NextToken":{"shape":"UuidNextToken"}, + "AccountId":{"shape":"AwsAccountId"} } }, "ListAnomaliesForInsightResponse":{ @@ -983,7 +1183,8 @@ "members":{ "Filters":{"shape":"ListEventsFilters"}, "MaxResults":{"shape":"ListEventsMaxResults"}, - "NextToken":{"shape":"UuidNextToken"} + "NextToken":{"shape":"UuidNextToken"}, + "AccountId":{"shape":"AwsAccountId"} } }, "ListEventsResponse":{ @@ -994,6 +1195,12 @@ "NextToken":{"shape":"UuidNextToken"} } }, + "ListInsightsAccountIdList":{ + "type":"list", + "member":{"shape":"AwsAccountId"}, + "max":1, + "min":0 + }, "ListInsightsAnyStatusFilter":{ "type":"structure", "required":[ @@ -1028,6 +1235,12 @@ "Type":{"shape":"InsightType"} } }, + "ListInsightsOrganizationalUnitIdList":{ + "type":"list", + "member":{"shape":"OrganizationalUnitId"}, + "max":1, + "min":0 + }, "ListInsightsRequest":{ "type":"structure", "required":["StatusFilter"], @@ -1066,13 +1279,33 @@ "NextToken":{"shape":"UuidNextToken"} } }, + "ListOrganizationInsightsRequest":{ + "type":"structure", + "required":["StatusFilter"], + "members":{ + "StatusFilter":{"shape":"ListInsightsStatusFilter"}, + "MaxResults":{"shape":"ListInsightsMaxResults"}, + "AccountIds":{"shape":"ListInsightsAccountIdList"}, + "OrganizationalUnitIds":{"shape":"ListInsightsOrganizationalUnitIdList"}, + "NextToken":{"shape":"UuidNextToken"} + } + }, + "ListOrganizationInsightsResponse":{ + "type":"structure", + "members":{ + "ProactiveInsights":{"shape":"ProactiveOrganizationInsights"}, + "ReactiveInsights":{"shape":"ReactiveOrganizationInsights"}, + "NextToken":{"shape":"UuidNextToken"} + } + }, "ListRecommendationsRequest":{ "type":"structure", "required":["InsightId"], "members":{ "InsightId":{"shape":"InsightId"}, "NextToken":{"shape":"UuidNextToken"}, - "Locale":{"shape":"Locale"} + "Locale":{"shape":"Locale"}, + "AccountId":{"shape":"AwsAccountId"} } }, "ListRecommendationsResponse":{ @@ -1099,6 +1332,7 @@ ] }, "MeanTimeToRecoverInMilliseconds":{"type":"long"}, + "MetricValue":{"type":"double"}, "NotificationChannel":{ "type":"structure", "members":{ @@ -1143,6 +1377,30 @@ "DISABLED" ] }, + "OrganizationResourceCollectionMaxResults":{ + "type":"integer", + "max":500, + "min":1 + }, + "OrganizationResourceCollectionType":{ + "type":"string", + "enum":[ + "AWS_CLOUD_FORMATION", + "AWS_SERVICE", + "AWS_ACCOUNT" + ] + }, + "OrganizationalUnitId":{ + "type":"string", + "max":68, + "pattern":"^ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}$" + }, + "OrganizationalUnitIdList":{ + "type":"list", + "member":{"shape":"OrganizationalUnitId"}, + "max":5, + "min":0 + }, "PredictionTimeRange":{ "type":"structure", "required":["StartTime"], @@ -1217,6 +1475,25 @@ "type":"list", "member":{"shape":"ProactiveInsightSummary"} }, + "ProactiveOrganizationInsightSummary":{ + "type":"structure", + "members":{ + "Id":{"shape":"InsightId"}, + "AccountId":{"shape":"AwsAccountId"}, + "OrganizationalUnitId":{"shape":"OrganizationalUnitId"}, + "Name":{"shape":"InsightName"}, + "Severity":{"shape":"InsightSeverity"}, + "Status":{"shape":"InsightStatus"}, + "InsightTimeRange":{"shape":"InsightTimeRange"}, + "PredictionTimeRange":{"shape":"PredictionTimeRange"}, + "ResourceCollection":{"shape":"ResourceCollection"}, + "ServiceCollection":{"shape":"ServiceCollection"} + } + }, + "ProactiveOrganizationInsights":{ + "type":"list", + "member":{"shape":"ProactiveOrganizationInsightSummary"} + }, "PutFeedbackRequest":{ "type":"structure", "members":{ @@ -1286,6 +1563,24 @@ "type":"list", "member":{"shape":"ReactiveInsightSummary"} }, + "ReactiveOrganizationInsightSummary":{ + "type":"structure", + "members":{ + "Id":{"shape":"InsightId"}, + "AccountId":{"shape":"AwsAccountId"}, + "OrganizationalUnitId":{"shape":"OrganizationalUnitId"}, + "Name":{"shape":"InsightName"}, + "Severity":{"shape":"InsightSeverity"}, + "Status":{"shape":"InsightStatus"}, + "InsightTimeRange":{"shape":"InsightTimeRange"}, + "ResourceCollection":{"shape":"ResourceCollection"}, + "ServiceCollection":{"shape":"ServiceCollection"} + } + }, + "ReactiveOrganizationInsights":{ + "type":"list", + "member":{"shape":"ReactiveOrganizationInsightSummary"} + }, "Recommendation":{ "type":"structure", "members":{ @@ -1439,6 +1734,12 @@ "pattern":"^[a-zA-Z]+[a-zA-Z0-9-_:]*$" }, "RetryAfterSeconds":{"type":"integer"}, + "SearchInsightsAccountIdList":{ + "type":"list", + "member":{"shape":"AwsAccountId"}, + "max":1, + "min":1 + }, "SearchInsightsFilters":{ "type":"structure", "members":{ @@ -1475,6 +1776,44 @@ "NextToken":{"shape":"UuidNextToken"} } }, + "SearchOrganizationInsightsFilters":{ + "type":"structure", + "members":{ + "Severities":{"shape":"InsightSeverities"}, + "Statuses":{"shape":"InsightStatuses"}, + "ResourceCollection":{"shape":"ResourceCollection"}, + "ServiceCollection":{"shape":"ServiceCollection"} + } + }, + "SearchOrganizationInsightsMaxResults":{ + "type":"integer", + "max":100, + "min":1 + }, + "SearchOrganizationInsightsRequest":{ + "type":"structure", + "required":[ + "AccountIds", + "StartTimeRange", + "Type" + ], + "members":{ + "AccountIds":{"shape":"SearchInsightsAccountIdList"}, + "StartTimeRange":{"shape":"StartTimeRange"}, + "Filters":{"shape":"SearchOrganizationInsightsFilters"}, + "MaxResults":{"shape":"SearchOrganizationInsightsMaxResults"}, + "NextToken":{"shape":"UuidNextToken"}, + "Type":{"shape":"InsightType"} + } + }, + "SearchOrganizationInsightsResponse":{ + "type":"structure", + "members":{ + "ProactiveInsights":{"shape":"ProactiveInsights"}, + "ReactiveInsights":{"shape":"ReactiveInsights"}, + "NextToken":{"shape":"UuidNextToken"} + } + }, "ServiceCollection":{ "type":"structure", "members":{ @@ -1623,6 +1962,17 @@ "exception":true }, "Timestamp":{"type":"timestamp"}, + "TimestampMetricValuePair":{ + "type":"structure", + "members":{ + "Timestamp":{"shape":"Timestamp"}, + "MetricValue":{"shape":"MetricValue"} + } + }, + "TimestampMetricValuePairList":{ + "type":"list", + "member":{"shape":"TimestampMetricValuePair"} + }, "TopicArn":{ "type":"string", "max":1024, diff --git a/models/apis/devops-guru/2020-12-01/docs-2.json b/models/apis/devops-guru/2020-12-01/docs-2.json index 3108d41f947..c1f97735a74 100644 --- a/models/apis/devops-guru/2020-12-01/docs-2.json +++ b/models/apis/devops-guru/2020-12-01/docs-2.json @@ -1,28 +1,33 @@ { "version": "2.0", - "service": "Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical operational applications. You specify the AWS resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and AWS CloudTrail events related to those resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an insight that includes recommendations, related events, and related metrics that can help you improve your operational applications. For more information, see What is Amazon DevOps Guru.
You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate an OpsItem in AWS Systems Manager for each insight to help you manage and track your work addressing insights.
To learn about the DevOps Guru workflow, see How DevOps Guru works. To learn about DevOps Guru concepts, see Concepts in DevOps Guru.
", + "service": "Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in business critical operational applications. You specify the Amazon Web Services resources that you want DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those resources are analyzed. When anomalous behavior is detected, DevOps Guru creates an insight that includes recommendations, related events, and related metrics that can help you improve your operational applications. For more information, see What is Amazon DevOps Guru.
You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight is created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each insight to help you manage and track your work addressing insights.
To learn about the DevOps Guru workflow, see How DevOps Guru works. To learn about DevOps Guru concepts, see Concepts in DevOps Guru.
", "operations": { - "AddNotificationChannel": "Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
", - "DescribeAccountHealth": "Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your AWS account. Use these numbers to gauge the health of operations in your AWS account.
", + "AddNotificationChannel": "Adds a notification channel to DevOps Guru. A notification channel is used to notify you about important DevOps Guru events, such as when an insight is generated.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
", + "DescribeAccountHealth": "Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon Web Services account.
", "DescribeAccountOverview": "For the time range passed in, returns the number of open reactive insight that were created, the number of open proactive insights that were created, and the Mean Time to Recover (MTTR) for all closed reactive insights.
", "DescribeAnomaly": "Returns details about an anomaly that you specify using its ID.
", - "DescribeFeedback": "Returns the most recent feedback submitted in the current AWS account and Region.
", + "DescribeFeedback": "Returns the most recent feedback submitted in the current Amazon Web Services account and Region.
", "DescribeInsight": "Returns details about an insight that you specify using its ID.
", - "DescribeResourceCollectionHealth": "Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of AWS resources collection. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
", - "DescribeServiceIntegration": "Returns the integration status of services that are integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS Systems Manager, which can be used to create an OpsItem for each generated insight.
", - "GetCostEstimation": "Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
", - "GetResourceCollection": "Returns lists AWS resources that are of the specified resource collection type. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
", + "DescribeOrganizationHealth": "Returns active insights, predictive insights, and resource hours analyzed in last hour.
", + "DescribeOrganizationOverview": "Returns an overview of your organization's history based on the specified time range. The overview includes the total reactive and proactive insights.
", + "DescribeOrganizationResourceCollectionHealth": "Provides an overview of your system's health. If additional member accounts are part of your organization, you can filter those accounts using the AccountIds
field.
Returns the number of open proactive insights, open reactive insights, and the Mean Time to Recover (MTTR) for all closed insights in resource collections in your account. You specify the type of Amazon Web Services resources collection. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
", + "DescribeServiceIntegration": "Returns the integration status of services that are integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight.
", + "GetCostEstimation": "Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
", + "GetResourceCollection": "Returns lists Amazon Web Services resources that are of the specified resource collection type. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
", "ListAnomaliesForInsight": "Returns a list of the anomalies that belong to an insight that you specify using its ID.
", "ListEvents": "Returns a list of the events emitted by the resources that are evaluated by DevOps Guru. You can use filters to specify which events are returned.
", - "ListInsights": " Returns a list of insights in your AWS account. You can specify which insights are returned by their start time and status (ONGOING
, CLOSED
, or ANY
).
Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by their start time and status (ONGOING
, CLOSED
, or ANY
).
Returns a list of notification channels configured for DevOps Guru. Each notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
", + "ListOrganizationInsights": "Returns a list of insights associated with the account or OU Id.
", "ListRecommendations": "Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.
", "PutFeedback": "Collects customer feedback about the specified insight.
", "RemoveNotificationChannel": "Removes a notification channel from DevOps Guru. A notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations.
", - "SearchInsights": " Returns a list of insights in your AWS account. You can specify which insights are returned by their start time, one or more statuses (ONGOING
, CLOSED
, and CLOSED
), one or more severities (LOW
, MEDIUM
, and HIGH
), and type (REACTIVE
or PROACTIVE
).
Use the Filters
parameter to specify status and severity search parameters. Use the Type
parameter to specify REACTIVE
or PROACTIVE
in your search.
Starts the creation of an estimate of the monthly cost to analyze your AWS resources.
", - "UpdateResourceCollection": "Updates the collection of resources that DevOps Guru analyzes. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks. This method also creates the IAM role required for you to use DevOps Guru.
", - "UpdateServiceIntegration": "Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is AWS Systems Manager, which can be used to create an OpsItem for each generated insight.
" + "SearchInsights": " Returns a list of insights in your Amazon Web Services account. You can specify which insights are returned by their start time, one or more statuses (ONGOING
, CLOSED
, and CLOSED
), one or more severities (LOW
, MEDIUM
, and HIGH
), and type (REACTIVE
or PROACTIVE
).
Use the Filters
parameter to specify status and severity search parameters. Use the Type
parameter to specify REACTIVE
or PROACTIVE
in your search.
Returns a list of insights in your organization. You can specify which insights are returned by their start time, one or more statuses (ONGOING
, CLOSED
, and CLOSED
), one or more severities (LOW
, MEDIUM
, and HIGH
), and type (REACTIVE
or PROACTIVE
).
Use the Filters
parameter to specify status and severity search parameters. Use the Type
parameter to specify REACTIVE
or PROACTIVE
in your search.
Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services resources.
", + "UpdateResourceCollection": "Updates the collection of resources that DevOps Guru analyzes. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks. This method also creates the IAM role required for you to use DevOps Guru.
", + "UpdateServiceIntegration": "Enables or disables integration with a service that can be integrated with DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon Web Services Systems Manager, which can be used to create an OpsItem for each generated insight.
" }, "shapes": { "AccessDeniedException": { @@ -30,6 +35,32 @@ "refs": { } }, + "AccountHealth": { + "base": "Returns the number of open reactive insights, the number of open proactive insights, and the number of metrics analyzed in your Amazon Web Services account. Use these numbers to gauge the health of operations in your Amazon Web Services account.
", + "refs": { + "AccountHealths$member": null + } + }, + "AccountHealths": { + "base": null, + "refs": { + "DescribeOrganizationResourceCollectionHealthResponse$Account": "The name of the organization's account.
" + } + }, + "AccountIdList": { + "base": null, + "refs": { + "DescribeOrganizationHealthRequest$AccountIds": "The ID of the Amazon Web Services account.
", + "DescribeOrganizationOverviewRequest$AccountIds": "The ID of the Amazon Web Services account.
", + "DescribeOrganizationResourceCollectionHealthRequest$AccountIds": "The ID of the Amazon Web Services account.
" + } + }, + "AccountInsightHealth": { + "base": "Information about the number of open reactive and proactive insights that can be used to gauge the health of your system.
", + "refs": { + "AccountHealth$Insight": "Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
" + } + }, "AddNotificationChannelRequest": { "base": null, "refs": { @@ -102,6 +133,22 @@ "ReactiveAnomalySummary$AnomalyTimeRange": null } }, + "AwsAccountId": { + "base": null, + "refs": { + "AccountHealth$AccountId": "The ID of the Amazon Web Services account.
", + "AccountIdList$member": null, + "DescribeAnomalyRequest$AccountId": "The ID of the member account.
", + "DescribeInsightRequest$AccountId": "The ID of the member account in the organization.
", + "ListAnomaliesForInsightRequest$AccountId": "The ID of the Amazon Web Services account.
", + "ListEventsRequest$AccountId": "The ID of the Amazon Web Services account.
", + "ListInsightsAccountIdList$member": null, + "ListRecommendationsRequest$AccountId": "The ID of the Amazon Web Services account.
", + "ProactiveOrganizationInsightSummary$AccountId": "The ID of the Amazon Web Services account.
", + "ReactiveOrganizationInsightSummary$AccountId": "The ID of the Amazon Web Services account.
", + "SearchInsightsAccountIdList$member": null + } + }, "Channels": { "base": null, "refs": { @@ -115,25 +162,25 @@ } }, "CloudFormationCollection": { - "base": "Information about AWS CloudFormation stacks. You can use up to 500 stacks to specify which AWS resources in your account to analyze. For more information, see Stacks in the AWS CloudFormation User Guide.
", + "base": "Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
", "refs": { - "ResourceCollection$CloudFormation": "An array of the names of AWS CloudFormation stacks. The stacks define AWS resources that DevOps Guru analyzes. You can specify up to 500 AWS CloudFormation stacks.
" + "ResourceCollection$CloudFormation": "An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.
" } }, "CloudFormationCollectionFilter": { - "base": "Information about AWS CloudFormation stacks. You can use up to 500 stacks to specify which AWS resources in your account to analyze. For more information, see Stacks in the AWS CloudFormation User Guide.
", + "base": "Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
", "refs": { - "ResourceCollectionFilter$CloudFormation": "Information about AWS CloudFormation stacks. You can use up to 500 stacks to specify which AWS resources in your account to analyze. For more information, see Stacks in the AWS CloudFormation User Guide.
" + "ResourceCollectionFilter$CloudFormation": "Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
" } }, "CloudFormationCostEstimationResourceCollectionFilter": { - "base": "Information about an AWS CloudFormation stack used to create a monthly cost estimate for DevOps Guru to analyze AWS resources. The maximum number of stacks you can specify for a cost estimate is one. The estimate created is for the cost to analyze the AWS resources defined by the stack. For more information, see Stacks in the AWS CloudFormation User Guide.
", + "base": "Information about an Amazon Web Services CloudFormation stack used to create a monthly cost estimate for DevOps Guru to analyze Amazon Web Services resources. The maximum number of stacks you can specify for a cost estimate is one. The estimate created is for the cost to analyze the Amazon Web Services resources defined by the stack. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
", "refs": { - "CostEstimationResourceCollectionFilter$CloudFormation": "An object that specifies the CloudFormation stack that defines the AWS resources used to create a monthly estimate for DevOps Guru.
" + "CostEstimationResourceCollectionFilter$CloudFormation": "An object that specifies the CloudFormation stack that defines the Amazon Web Services resources used to create a monthly estimate for DevOps Guru.
" } }, "CloudFormationHealth": { - "base": "Information about the health of AWS resources in your account that are specified by an AWS CloudFormation stack.
", + "base": "Information about the health of Amazon Web Services resources in your account that are specified by an Amazon Web Services CloudFormation stack.
", "refs": { "CloudFormationHealths$member": null } @@ -141,9 +188,22 @@ "CloudFormationHealths": { "base": null, "refs": { + "DescribeOrganizationResourceCollectionHealthResponse$CloudFormation": "The returned CloudFormationHealthOverview
object that contains an InsightHealthOverview
object with the requested system health information.
The returned CloudFormationHealthOverview
object that contains an InsightHealthOverview
object with the requested system health information.
This is enum of the status showing whether the metric value pair list has Partial or Complete data or there was an error.
" + } + }, + "CloudWatchMetricsDataSummary": { + "base": "Contains information about the analyzed metrics that displayed anomalous behavior.
", + "refs": { + "CloudWatchMetricsDetail$MetricDataSummary": "This object returns anomaly metric data.
" + } + }, "CloudWatchMetricsDetail": { "base": "Information about an Amazon CloudWatch metric.
", "refs": { @@ -218,16 +278,16 @@ "Cost": { "base": null, "refs": { - "GetCostEstimationResponse$TotalCost": "The estimated monthly cost to analyze the AWS resources. This value is the sum of the estimated costs to analyze each resource in the Costs
object in this response.
The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated costs to analyze each resource in the Costs
object in this response.
The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
", "ServiceResourceCost$Cost": "The total estimated monthly cost to analyze the active resources for this resource.
" } }, "CostEstimationResourceCollectionFilter": { - "base": "Information about a filter used to specify which AWS resources are analyzed to create a monthly DevOps Guru cost estimate. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
", + "base": "Information about a filter used to specify which Amazon Web Services resources are analyzed to create a monthly DevOps Guru cost estimate. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
", "refs": { - "GetCostEstimationResponse$ResourceCollection": "The collection of the AWS resources used to create your monthly DevOps Guru cost estimate.
", - "StartCostEstimationRequest$ResourceCollection": "The collection of AWS resources used to create a monthly DevOps Guru cost estimate.
" + "GetCostEstimationResponse$ResourceCollection": "The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
", + "StartCostEstimationRequest$ResourceCollection": "The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
" } }, "CostEstimationServiceResourceCount": { @@ -239,7 +299,7 @@ "CostEstimationServiceResourceState": { "base": null, "refs": { - "ServiceResourceCost$State": "The state of the resource. The resource is ACTIVE
if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE
. You pay for the number of active AWS resource hours analyzed for each resource. Inactive resources are not charged.
The state of the resource. The resource is ACTIVE
if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE
. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.
An AWS resource event. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
", + "base": "An Amazon Web Services resource event. Amazon Web Services resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
", "refs": { "Events$member": null } @@ -400,7 +490,7 @@ } }, "EventResource": { - "base": "The AWS resource that emitted an event. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
", + "base": "The Amazon Web Services resource that emitted an event. Amazon Web Services resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
", "refs": { "EventResources$member": null } @@ -432,12 +522,12 @@ "EventSource": { "base": null, "refs": { - "Event$EventSource": "The AWS source that emitted the event.
", - "ListEventsFilters$EventSource": "The AWS source that emitted the events you want to filter for.
" + "Event$EventSource": "The Amazon Web Services source that emitted the event.
", + "ListEventsFilters$EventSource": "The Amazon Web Services source that emitted the events you want to filter for.
" } }, "EventTimeRange": { - "base": "The time range during which an AWS event occurred. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
", + "base": "The time range during which an Amazon Web Services event occurred. Amazon Web Services resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
", "refs": { "ListEventsFilters$EventTimeRange": "A time range during which you want the filtered events to have occurred.
" } @@ -484,7 +574,7 @@ "InsightHealth": { "base": "Information about the number of open reactive and proactive insights that can be used to gauge the health of your system.
", "refs": { - "CloudFormationHealth$Insight": "Information about the health of the AWS resources in your account that are specified by an AWS CloudFormation stack, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
" + "CloudFormationHealth$Insight": "Information about the health of the Amazon Web Services resources in your account that are specified by an Amazon Web Services CloudFormation stack, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
" } }, "InsightId": { @@ -500,10 +590,12 @@ "ProactiveAnomalySummary$AssociatedInsightId": "The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
", "ProactiveInsight$Id": "The ID of the proactive insight.
", "ProactiveInsightSummary$Id": "The ID of the proactive insight.
", + "ProactiveOrganizationInsightSummary$Id": "The ID of the insight summary.
", "ReactiveAnomaly$AssociatedInsightId": "The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
", "ReactiveAnomalySummary$AssociatedInsightId": "The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
", "ReactiveInsight$Id": "The ID of a reactive insight.
", - "ReactiveInsightSummary$Id": "The ID of a reactive summary.
" + "ReactiveInsightSummary$Id": "The ID of a reactive summary.
", + "ReactiveOrganizationInsightSummary$Id": "The ID of the insight summary.
" } }, "InsightName": { @@ -511,14 +603,17 @@ "refs": { "ProactiveInsight$Name": "The name of the proactive insight.
", "ProactiveInsightSummary$Name": "The name of the proactive insight.
", + "ProactiveOrganizationInsightSummary$Name": "The name of the insight summary.
", "ReactiveInsight$Name": "The name of a reactive insight.
", - "ReactiveInsightSummary$Name": "The name of a reactive insight.
" + "ReactiveInsightSummary$Name": "The name of a reactive insight.
", + "ReactiveOrganizationInsightSummary$Name": "The name of the insight summary.
" } }, "InsightSeverities": { "base": null, "refs": { - "SearchInsightsFilters$Severities": "An array of severity values used to search for insights.
" + "SearchInsightsFilters$Severities": "An array of severity values used to search for insights.
", + "SearchOrganizationInsightsFilters$Severities": "An array of severity values used to search for insights.
" } }, "InsightSeverity": { @@ -527,8 +622,10 @@ "InsightSeverities$member": null, "ProactiveInsight$Severity": "The severity of the proactive insight.
", "ProactiveInsightSummary$Severity": "The severity of the proactive insight.
", + "ProactiveOrganizationInsightSummary$Severity": "An array of severity values used to search for insights.
", "ReactiveInsight$Severity": "The severity of a reactive insight.
", - "ReactiveInsightSummary$Severity": "The severity of a reactive insight.
" + "ReactiveInsightSummary$Severity": "The severity of a reactive insight.
", + "ReactiveOrganizationInsightSummary$Severity": "An array of severity values used to search for insights.
" } }, "InsightStatus": { @@ -537,14 +634,17 @@ "InsightStatuses$member": null, "ProactiveInsight$Status": "The status of the proactive insight.
", "ProactiveInsightSummary$Status": "The status of the proactive insight.
", + "ProactiveOrganizationInsightSummary$Status": "An array of status values used to search for insights.
", "ReactiveInsight$Status": "The status of a reactive insight.
", - "ReactiveInsightSummary$Status": "The status of a reactive insight.
" + "ReactiveInsightSummary$Status": "The status of a reactive insight.
", + "ReactiveOrganizationInsightSummary$Status": "An array of status values used to search for insights.
" } }, "InsightStatuses": { "base": null, "refs": { - "SearchInsightsFilters$Statuses": "An array of status values used to search for insights.
" + "SearchInsightsFilters$Statuses": "An array of status values used to search for insights.
", + "SearchOrganizationInsightsFilters$Statuses": "An array of status values used to search for insights.
" } }, "InsightTimeRange": { @@ -552,8 +652,10 @@ "refs": { "ProactiveInsight$InsightTimeRange": null, "ProactiveInsightSummary$InsightTimeRange": null, + "ProactiveOrganizationInsightSummary$InsightTimeRange": null, "ReactiveInsight$InsightTimeRange": null, - "ReactiveInsightSummary$InsightTimeRange": null + "ReactiveInsightSummary$InsightTimeRange": null, + "ReactiveOrganizationInsightSummary$InsightTimeRange": null } }, "InsightType": { @@ -562,7 +664,8 @@ "ListInsightsAnyStatusFilter$Type": " Use to filter for either REACTIVE
or PROACTIVE
insights.
Use to filter for either REACTIVE
or PROACTIVE
insights.
Use to filter for either REACTIVE
or PROACTIVE
insights.
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
The type of insights you are searching for (REACTIVE
or PROACTIVE
).
The ID of the Amazon Web Services account.
" + } + }, "ListInsightsAnyStatusFilter": { "base": "Used to filter for insights that have any status.
", "refs": { @@ -623,7 +732,8 @@ "ListInsightsMaxResults": { "base": null, "refs": { - "ListInsightsRequest$MaxResults": "The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
A ListInsightsAnyStatusFilter
that specifies ongoing insights that are either REACTIVE
or PROACTIVE
.
The ID of the organizational unit.
" + } + }, "ListInsightsRequest": { "base": null, "refs": { @@ -645,7 +761,8 @@ "ListInsightsStatusFilter": { "base": " A filter used by ListInsights
to specify which insights to return.
A filter used to filter the returned insights by their status. You can specify one status filter.
" + "ListInsightsRequest$StatusFilter": "A filter used to filter the returned insights by their status. You can specify one status filter.
", + "ListOrganizationInsightsRequest$StatusFilter": null } }, "ListNotificationChannelsRequest": { @@ -658,6 +775,16 @@ "refs": { } }, + "ListOrganizationInsightsRequest": { + "base": null, + "refs": { + } + }, + "ListOrganizationInsightsResponse": { + "base": null, + "refs": { + } + }, "ListRecommendationsRequest": { "base": null, "refs": { @@ -681,8 +808,14 @@ "InsightHealth$MeanTimeToRecoverInMilliseconds": "The Meant Time to Recover (MTTR) for the insight.
" } }, + "MetricValue": { + "base": null, + "refs": { + "TimestampMetricValuePair$MetricValue": "Value of the anomalous metric data point at respective Timestamp.
" + } + }, "NotificationChannel": { - "base": "Information about a notification channel. A notification channel is used to notify you when DevOps Guru creates an insight. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
", + "base": "Information about a notification channel. A notification channel is used to notify you when DevOps Guru creates an insight. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
", "refs": { "Channels$member": null } @@ -705,54 +838,90 @@ "NumMetricsAnalyzed": { "base": null, "refs": { - "DescribeAccountHealthResponse$MetricsAnalyzed": "An integer that specifies the number of metrics that have been analyzed in your AWS account.
" + "DescribeAccountHealthResponse$MetricsAnalyzed": "An integer that specifies the number of metrics that have been analyzed in your Amazon Web Services account.
", + "DescribeOrganizationHealthResponse$MetricsAnalyzed": "An integer that specifies the number of metrics that have been analyzed in your organization.
" } }, "NumOpenProactiveInsights": { "base": null, "refs": { - "DescribeAccountHealthResponse$OpenProactiveInsights": "An integer that specifies the number of open proactive insights in your AWS account.
", + "AccountInsightHealth$OpenProactiveInsights": "An integer that specifies the number of open proactive insights in your Amazon Web Services account.
", + "DescribeAccountHealthResponse$OpenProactiveInsights": "An integer that specifies the number of open proactive insights in your Amazon Web Services account.
", + "DescribeOrganizationHealthResponse$OpenProactiveInsights": "An integer that specifies the number of open proactive insights in your Amazon Web Services account.
", "InsightHealth$OpenProactiveInsights": "The number of open proactive insights.
", - "ServiceInsightHealth$OpenProactiveInsights": "The number of open proactive insights in the AWS service
" + "ServiceInsightHealth$OpenProactiveInsights": "The number of open proactive insights in the Amazon Web Services service
" } }, "NumOpenReactiveInsights": { "base": null, "refs": { - "DescribeAccountHealthResponse$OpenReactiveInsights": "An integer that specifies the number of open reactive insights in your AWS account.
", + "AccountInsightHealth$OpenReactiveInsights": "An integer that specifies the number of open reactive insights in your Amazon Web Services account.
", + "DescribeAccountHealthResponse$OpenReactiveInsights": "An integer that specifies the number of open reactive insights in your Amazon Web Services account.
", + "DescribeOrganizationHealthResponse$OpenReactiveInsights": "An integer that specifies the number of open reactive insights in your Amazon Web Services account.
", "InsightHealth$OpenReactiveInsights": "The number of open reactive insights.
", - "ServiceInsightHealth$OpenReactiveInsights": "The number of open reactive insights in the AWS service
" + "ServiceInsightHealth$OpenReactiveInsights": "The number of open reactive insights in the Amazon Web Services service
" } }, "NumProactiveInsights": { "base": null, "refs": { - "DescribeAccountOverviewResponse$ProactiveInsights": "An integer that specifies the number of open proactive insights in your AWS account that were created during the time range passed in.
" + "DescribeAccountOverviewResponse$ProactiveInsights": "An integer that specifies the number of open proactive insights in your Amazon Web Services account that were created during the time range passed in.
", + "DescribeOrganizationOverviewResponse$ProactiveInsights": "An integer that specifies the number of open proactive insights in your Amazon Web Services account.
" } }, "NumReactiveInsights": { "base": null, "refs": { - "DescribeAccountOverviewResponse$ReactiveInsights": "An integer that specifies the number of open reactive insights in your AWS account that were created during the time range passed in.
" + "DescribeAccountOverviewResponse$ReactiveInsights": "An integer that specifies the number of open reactive insights in your Amazon Web Services account that were created during the time range passed in.
", + "DescribeOrganizationOverviewResponse$ReactiveInsights": "An integer that specifies the number of open reactive insights in your Amazon Web Services account.
" } }, "OpsCenterIntegration": { - "base": "Information about whether DevOps Guru is configured to create an OpsItem in AWS Systems Manager OpsCenter for each created insight.
", + "base": "Information about whether DevOps Guru is configured to create an OpsItem in Amazon Web Services Systems Manager OpsCenter for each created insight.
", "refs": { - "ServiceIntegrationConfig$OpsCenter": "Information about whether DevOps Guru is configured to create an OpsItem in AWS Systems Manager OpsCenter for each created insight.
" + "ServiceIntegrationConfig$OpsCenter": "Information about whether DevOps Guru is configured to create an OpsItem in Amazon Web Services Systems Manager OpsCenter for each created insight.
" } }, "OpsCenterIntegrationConfig": { - "base": "Information about whether DevOps Guru is configured to create an OpsItem in AWS Systems Manager OpsCenter for each created insight.
", + "base": "Information about whether DevOps Guru is configured to create an OpsItem in Amazon Web Services Systems Manager OpsCenter for each created insight.
", "refs": { "UpdateServiceIntegrationConfig$OpsCenter": null } }, "OptInStatus": { - "base": "Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem for each created insight.
", + "base": "Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created insight.
", + "refs": { + "OpsCenterIntegration$OptInStatus": "Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created insight.
", + "OpsCenterIntegrationConfig$OptInStatus": "Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created insight.
" + } + }, + "OrganizationResourceCollectionMaxResults": { + "base": null, + "refs": { + "DescribeOrganizationResourceCollectionHealthRequest$MaxResults": "The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
" + } + }, + "OrganizationalUnitId": { + "base": null, + "refs": { + "ListInsightsOrganizationalUnitIdList$member": null, + "OrganizationalUnitIdList$member": null, + "ProactiveOrganizationInsightSummary$OrganizationalUnitId": "The ID of the organizational unit.
", + "ReactiveOrganizationInsightSummary$OrganizationalUnitId": "The ID of the organizational unit.
" + } + }, + "OrganizationalUnitIdList": { + "base": null, "refs": { - "OpsCenterIntegration$OptInStatus": "Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem for each created insight.
", - "OpsCenterIntegrationConfig$OptInStatus": "Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem for each created insight.
" + "DescribeOrganizationHealthRequest$OrganizationalUnitIds": "The ID of the organizational unit.
", + "DescribeOrganizationOverviewRequest$OrganizationalUnitIds": "The ID of the organizational unit.
", + "DescribeOrganizationResourceCollectionHealthRequest$OrganizationalUnitIds": "The ID of the organizational unit.
" } }, "PredictionTimeRange": { @@ -761,7 +930,8 @@ "ProactiveAnomaly$PredictionTimeRange": null, "ProactiveAnomalySummary$PredictionTimeRange": null, "ProactiveInsight$PredictionTimeRange": null, - "ProactiveInsightSummary$PredictionTimeRange": null + "ProactiveInsightSummary$PredictionTimeRange": null, + "ProactiveOrganizationInsightSummary$PredictionTimeRange": null } }, "ProactiveAnomalies": { @@ -798,7 +968,20 @@ "base": null, "refs": { "ListInsightsResponse$ProactiveInsights": "The returned list of proactive insights.
", - "SearchInsightsResponse$ProactiveInsights": "The returned proactive insights.
" + "SearchInsightsResponse$ProactiveInsights": "The returned proactive insights.
", + "SearchOrganizationInsightsResponse$ProactiveInsights": "An integer that specifies the number of open proactive insights in your Amazon Web Services account.
" + } + }, + "ProactiveOrganizationInsightSummary": { + "base": "Details about a proactive insight. This object is returned by DescribeInsight
.
An integer that specifies the number of open proactive insights in your Amazon Web Services account.
" } }, "PutFeedbackRequest": { @@ -845,7 +1028,20 @@ "base": null, "refs": { "ListInsightsResponse$ReactiveInsights": "The returned list of reactive insights.
", - "SearchInsightsResponse$ReactiveInsights": "The returned reactive insights.
" + "SearchInsightsResponse$ReactiveInsights": "The returned reactive insights.
", + "SearchOrganizationInsightsResponse$ReactiveInsights": "An integer that specifies the number of open reactive insights in your Amazon Web Services account.
" + } + }, + "ReactiveOrganizationInsightSummary": { + "base": "Information about a reactive insight. This object is returned by DescribeInsight
.
An integer that specifies the number of open reactive insights in your Amazon Web Services account.
" } }, "Recommendation": { @@ -957,7 +1153,7 @@ } }, "RecommendationRelatedEventResource": { - "base": "Information about an AWS resource that emitted and event that is related to a recommendation in an insight.
", + "base": "Information about an Amazon Web Services resource that emitted and event that is related to a recommendation in an insight.
", "refs": { "RecommendationRelatedEventResources$member": null } @@ -977,7 +1173,7 @@ "RecommendationRelatedEventResources": { "base": null, "refs": { - "RecommendationRelatedEvent$Resources": " A ResourceCollection
object that contains arrays of the names of AWS CloudFormation stacks. You can specify up to 500 AWS CloudFormation stacks.
A ResourceCollection
object that contains arrays of the names of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
A collection of AWS resources supported by DevOps Guru. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
", + "base": "A collection of Amazon Web Services resources supported by DevOps Guru. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
", "refs": { "Event$ResourceCollection": null, "ListEventsFilters$ResourceCollection": null, @@ -1017,44 +1213,48 @@ "ProactiveAnomalySummary$ResourceCollection": null, "ProactiveInsight$ResourceCollection": null, "ProactiveInsightSummary$ResourceCollection": null, + "ProactiveOrganizationInsightSummary$ResourceCollection": null, "ReactiveAnomaly$ResourceCollection": null, "ReactiveAnomalySummary$ResourceCollection": null, "ReactiveInsight$ResourceCollection": null, "ReactiveInsightSummary$ResourceCollection": null, - "SearchInsightsFilters$ResourceCollection": null + "ReactiveOrganizationInsightSummary$ResourceCollection": null, + "SearchInsightsFilters$ResourceCollection": null, + "SearchOrganizationInsightsFilters$ResourceCollection": null } }, "ResourceCollectionFilter": { - "base": "Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
", + "base": "Information about a filter used to specify which Amazon Web Services resources are analyzed for anomalous behavior by DevOps Guru.
", "refs": { - "GetResourceCollectionResponse$ResourceCollection": "The requested list of AWS resource collections. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
" + "GetResourceCollectionResponse$ResourceCollection": "The requested list of Amazon Web Services resource collections. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
" } }, "ResourceCollectionType": { "base": null, "refs": { - "DescribeResourceCollectionHealthRequest$ResourceCollectionType": "An AWS resource collection type. This type specifies how analyzed AWS resources are defined. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks.
", - "GetResourceCollectionRequest$ResourceCollectionType": " The type of AWS resource collections to return. The one valid value is CLOUD_FORMATION
for AWS CloudFormation stacks.
An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The one type of Amazon Web Services resource collection supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be configured to analyze only the Amazon Web Services resources that are defined in the stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
", + "GetResourceCollectionRequest$ResourceCollectionType": " The type of Amazon Web Services resource collections to return. The one valid value is CLOUD_FORMATION
for Amazon Web Services CloudFormation stacks.
The number of Amazon DevOps Guru resource analysis hours billed to the current AWS account in the last hour.
" + "DescribeAccountHealthResponse$ResourceHours": "The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour.
", + "DescribeOrganizationHealthResponse$ResourceHours": "The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour.
" } }, "ResourceIdString": { "base": null, "refs": { - "ConflictException$ResourceId": "The ID of the AWS resource in which a conflict occurred.
", - "ResourceNotFoundException$ResourceId": "The ID of the AWS resource that could not be found.
" + "ConflictException$ResourceId": "The ID of the Amazon Web Services resource in which a conflict occurred.
", + "ResourceNotFoundException$ResourceId": "The ID of the Amazon Web Services resource that could not be found.
" } }, "ResourceIdType": { "base": null, "refs": { - "ConflictException$ResourceType": "The type of the AWS resource in which a conflict occurred.
", - "ResourceNotFoundException$ResourceType": "The type of the AWS resource that could not be found.
" + "ConflictException$ResourceType": "The type of the Amazon Web Services resource in which a conflict occurred.
", + "ResourceNotFoundException$ResourceType": "The type of the Amazon Web Services resource that could not be found.
" } }, "ResourceNotFoundException": { @@ -1065,7 +1265,7 @@ "ResourceType": { "base": null, "refs": { - "ServiceResourceCost$Type": "The type of the AWS resource.
" + "ServiceResourceCost$Type": "The type of the Amazon Web Services resource.
" } }, "RetryAfterSeconds": { @@ -1075,6 +1275,12 @@ "ThrottlingException$RetryAfterSeconds": "The number of seconds after which the action that caused the throttling exception can be retried.
" } }, + "SearchInsightsAccountIdList": { + "base": null, + "refs": { + "SearchOrganizationInsightsRequest$AccountIds": "The ID of the Amazon Web Services account.
" + } + }, "SearchInsightsFilters": { "base": "Specifies one or more severity values and one or more status values that are used to search for insights.
", "refs": { @@ -1097,16 +1303,41 @@ "refs": { } }, + "SearchOrganizationInsightsFilters": { + "base": " Filters you can use to specify which events are returned when ListEvents
is called.
A SearchOrganizationInsightsFilters
object that is used to set the severity and status filters on your insight search.
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken
value.
A collection of the names of AWS services.
", + "base": "A collection of the names of Amazon Web Services services.
", "refs": { - "ProactiveInsightSummary$ServiceCollection": "A collection of the names of AWS services.
", - "ReactiveInsightSummary$ServiceCollection": "A collection of the names of AWS services.
", - "SearchInsightsFilters$ServiceCollection": "A collection of the names of AWS services.
" + "ProactiveInsightSummary$ServiceCollection": "A collection of the names of Amazon Web Services services.
", + "ProactiveOrganizationInsightSummary$ServiceCollection": null, + "ReactiveInsightSummary$ServiceCollection": "A collection of the names of Amazon Web Services services.
", + "ReactiveOrganizationInsightSummary$ServiceCollection": null, + "SearchInsightsFilters$ServiceCollection": "A collection of the names of Amazon Web Services services.
", + "SearchOrganizationInsightsFilters$ServiceCollection": null } }, "ServiceHealth": { - "base": "Represents the health of an AWS service.
", + "base": "Represents the health of an Amazon Web Services service.
", "refs": { "ServiceHealths$member": null } @@ -1114,17 +1345,18 @@ "ServiceHealths": { "base": null, "refs": { - "DescribeResourceCollectionHealthResponse$Service": "An array of ServiceHealth
objects that describes the health of the AWS services associated with the resources in the collection.
An array of ServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.
An array of ServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.
Contains the number of open proactive and reactive insights in an analyzed AWS service.
", + "base": "Contains the number of open proactive and reactive insights in an analyzed Amazon Web Services service.
", "refs": { - "ServiceHealth$Insight": "Represents the health of an AWS service. This is a ServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.
Represents the health of an Amazon Web Services service. This is a ServiceInsightHealth
that contains the number of open proactive and reactive insights for this service.
Information about the integration of DevOps Guru with another AWS service, such as AWS Systems Manager.
", + "base": "Information about the integration of DevOps Guru with another Amazon Web Services service, such as Amazon Web Services Systems Manager.
", "refs": { "DescribeServiceIntegrationResponse$ServiceIntegration": null } @@ -1132,14 +1364,14 @@ "ServiceName": { "base": null, "refs": { - "ServiceHealth$ServiceName": "The name of the AWS service.
", + "ServiceHealth$ServiceName": "The name of the Amazon Web Services service.
", "ServiceNames$member": null } }, "ServiceNames": { "base": null, "refs": { - "ServiceCollection$ServiceNames": "An array of strings that each specifies the name of an AWS service.
" + "ServiceCollection$ServiceNames": "An array of strings that each specifies the name of an Amazon Web Services service.
" } }, "ServiceQuotaExceededException": { @@ -1148,7 +1380,7 @@ } }, "ServiceResourceCost": { - "base": "An object that contains information about the estimated monthly cost to analyze an AWS resource. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
", + "base": "An object that contains information about the estimated monthly cost to analyze an Amazon Web Services resource. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
", "refs": { "ServiceResourceCosts$member": null } @@ -1156,20 +1388,20 @@ "ServiceResourceCosts": { "base": null, "refs": { - "GetCostEstimationResponse$Costs": "An array of ResourceCost
objects that each contains details about the monthly cost estimate to analyze one of your AWS resources.
An array of ResourceCost
objects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.
Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
", + "base": "Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
", "refs": { - "NotificationChannelConfig$Sns": "Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics.
" + "NotificationChannelConfig$Sns": "Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
" } }, "SsmOpsItemId": { "base": null, "refs": { - "ProactiveInsight$SsmOpsItemId": "The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
", - "ReactiveInsight$SsmOpsItemId": "The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
" + "ProactiveInsight$SsmOpsItemId": "The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
", + "ReactiveInsight$SsmOpsItemId": "The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
" } }, "StackName": { @@ -1203,7 +1435,8 @@ "refs": { "ListAnomaliesForInsightRequest$StartTimeRange": "A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.
", "ListInsightsAnyStatusFilter$StartTimeRange": "A time range used to specify when the behavior of the filtered insights started.
", - "SearchInsightsRequest$StartTimeRange": "The start of the time range passed in. Returned insights occurred after this time.
" + "SearchInsightsRequest$StartTimeRange": "The start of the time range passed in. Returned insights occurred after this time.
", + "SearchOrganizationInsightsRequest$StartTimeRange": null } }, "ThrottlingException": { @@ -1222,6 +1455,8 @@ "CostEstimationTimeRange$EndTime": "The end time of the cost estimation.
", "DescribeAccountOverviewRequest$FromTime": "The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.
", "DescribeAccountOverviewRequest$ToTime": "The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used.
", + "DescribeOrganizationOverviewRequest$FromTime": "The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.
", + "DescribeOrganizationOverviewRequest$ToTime": "The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used.
", "EndTimeRange$FromTime": "The earliest end time in the time range.
", "EndTimeRange$ToTime": "The latest end time in the time range.
", "Event$Time": " A Timestamp
that specifies the time the event occurred.
The time of the anomaly's most recent update.
", "ProactiveAnomalySummary$UpdateTime": "The time of the anomaly's most recent update.
", "StartTimeRange$FromTime": "The start time of the time range.
", - "StartTimeRange$ToTime": "The end time of the time range.
" + "StartTimeRange$ToTime": "The end time of the time range.
", + "TimestampMetricValuePair$Timestamp": "A Timestamp
that specifies the time the event occurred.
A pair that contains metric values at the respective timestamp.
", + "refs": { + "TimestampMetricValuePairList$member": null + } + }, + "TimestampMetricValuePairList": { + "base": null, + "refs": { + "CloudWatchMetricsDataSummary$TimestampMetricValuePairList": "This is a list of cloudwatch metric values at given timestamp.
" } }, "TopicArn": { @@ -1244,9 +1492,9 @@ } }, "UpdateCloudFormationCollectionFilter": { - "base": "Contains the names of AWS CloudFormation stacks used to update a collection of stacks. You can specify up to 500 AWS CloudFormation stacks.
", + "base": "Contains the names of Amazon Web Services CloudFormation stacks used to update a collection of stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
", "refs": { - "UpdateResourceCollectionFilter$CloudFormation": "An collection of AWS CloudFormation stacks. You can specify up to 500 AWS CloudFormation stacks.
" + "UpdateResourceCollectionFilter$CloudFormation": "An collection of Amazon Web Services CloudFormation stacks. You can specify up to 500 Amazon Web Services CloudFormation stacks.
" } }, "UpdateResourceCollectionAction": { @@ -1256,7 +1504,7 @@ } }, "UpdateResourceCollectionFilter": { - "base": "Contains information used to update a collection of AWS resources.
", + "base": "Contains information used to update a collection of Amazon Web Services resources.
", "refs": { "UpdateResourceCollectionRequest$ResourceCollection": null } @@ -1272,7 +1520,7 @@ } }, "UpdateServiceIntegrationConfig": { - "base": "Information about updating the integration status of an AWS service, such as AWS Systems Manager, with DevOps Guru.
", + "base": "Information about updating the integration status of an Amazon Web Services service, such as Amazon Web Services Systems Manager, with DevOps Guru.
", "refs": { "UpdateServiceIntegrationRequest$ServiceIntegration": " An IntegratedServiceConfig
object used to specify the integrated service you want to update, and whether you want to update it to enabled or disabled.
An array of the names of the AWS CloudFormation stacks to update. You can specify up to 500 AWS CloudFormation stacks.
" + "UpdateCloudFormationCollectionFilter$StackNames": "An array of the names of the Amazon Web Services CloudFormation stacks to update. You can specify up to 500 Amazon Web Services CloudFormation stacks.
" } }, "UuidNextToken": { "base": null, "refs": { + "DescribeOrganizationResourceCollectionHealthRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", + "DescribeOrganizationResourceCollectionHealthResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
", "DescribeResourceCollectionHealthRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", "DescribeResourceCollectionHealthResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
", "GetCostEstimationRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", @@ -1310,10 +1560,14 @@ "ListInsightsResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
", "ListNotificationChannelsRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", "ListNotificationChannelsResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
", + "ListOrganizationInsightsRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", + "ListOrganizationInsightsResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
", "ListRecommendationsRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", "ListRecommendationsResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
", "SearchInsightsRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", - "SearchInsightsResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
" + "SearchInsightsResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
", + "SearchOrganizationInsightsRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
", + "SearchOrganizationInsightsResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
" } }, "ValidationException": { diff --git a/models/apis/devops-guru/2020-12-01/paginators-1.json b/models/apis/devops-guru/2020-12-01/paginators-1.json index 67745d4d9f3..ed5105a0478 100644 --- a/models/apis/devops-guru/2020-12-01/paginators-1.json +++ b/models/apis/devops-guru/2020-12-01/paginators-1.json @@ -1,21 +1,23 @@ { "pagination": { - "DescribeResourceCollectionHealth": { + "DescribeOrganizationResourceCollectionHealth": { "input_token": "NextToken", "output_token": "NextToken", "result_key": [ "CloudFormation", + "Account", "Service" ] }, + "DescribeResourceCollectionHealth": { + "input_token": "NextToken", + "output_token": "NextToken", + "result_key": [ + "CloudFormation" + ] + }, "GetCostEstimation": { "input_token": "NextToken", - "non_aggregate_keys": [ - "Status", - "TotalCost", - "TimeRange", - "ResourceCollection" - ], "output_token": "NextToken", "result_key": [ "Costs" @@ -60,6 +62,15 @@ "output_token": "NextToken", "result_key": "Channels" }, + "ListOrganizationInsights": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": [ + "ProactiveInsights", + "ReactiveInsights" + ] + }, "ListRecommendations": { "input_token": "NextToken", "output_token": "NextToken", @@ -73,6 +84,15 @@ "ProactiveInsights", "ReactiveInsights" ] + }, + "SearchOrganizationInsights": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": [ + "ProactiveInsights", + "ReactiveInsights" + ] } } } \ No newline at end of file diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 736dd5a66af..2a1278d0a01 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -22199,6 +22199,15 @@ "c6gn.8xlarge", "c6gn.12xlarge", "c6gn.16xlarge", + "c6i.large", + "c6i.xlarge", + "c6i.2xlarge", + "c6i.4xlarge", + "c6i.8xlarge", + "c6i.12xlarge", + "c6i.16xlarge", + "c6i.24xlarge", + "c6i.32xlarge", "cc1.4xlarge", "cc2.8xlarge", "g2.2xlarge", @@ -22392,7 +22401,15 @@ "x2gd.metal", "vt1.3xlarge", "vt1.6xlarge", - "vt1.24xlarge" + "vt1.24xlarge", + "g5.xlarge", + "g5.2xlarge", + "g5.4xlarge", + "g5.8xlarge", + "g5.12xlarge", + "g5.16xlarge", + "g5.24xlarge", + "g5.48xlarge" ] }, "InstanceTypeHypervisor":{ diff --git a/models/apis/mediaconvert/2017-08-29/api-2.json b/models/apis/mediaconvert/2017-08-29/api-2.json index e4aca3c5860..8dc335e4bba 100644 --- a/models/apis/mediaconvert/2017-08-29/api-2.json +++ b/models/apis/mediaconvert/2017-08-29/api-2.json @@ -4473,7 +4473,8 @@ "type": "string", "enum": [ "FRAMES", - "SECONDS" + "SECONDS", + "AUTO" ] }, "H264InterlaceMode": { @@ -4846,7 +4847,8 @@ "type": "string", "enum": [ "FRAMES", - "SECONDS" + "SECONDS", + "AUTO" ] }, "H265InterlaceMode": { diff --git a/models/apis/mediaconvert/2017-08-29/docs-2.json b/models/apis/mediaconvert/2017-08-29/docs-2.json index 0851aa61c49..eecca3a400f 100644 --- a/models/apis/mediaconvert/2017-08-29/docs-2.json +++ b/models/apis/mediaconvert/2017-08-29/docs-2.json @@ -456,9 +456,9 @@ } }, "BurninSubtitleBackgroundColor": { - "base": "Specify the color of the rectangle behind the captions. Leave background color (BackgroundColor) blank and set Style passthrough (StylePassthrough) to enabled to use the background color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.", + "base": "Specify the color of the rectangle behind the captions. Leave background color (BackgroundColor) blank and set Style passthrough (StylePassthrough) to enabled to use the background color data from your input captions, if present.", "refs": { - "BurninDestinationSettings$BackgroundColor": "Specify the color of the rectangle behind the captions. Leave background color (BackgroundColor) blank and set Style passthrough (StylePassthrough) to enabled to use the background color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical." + "BurninDestinationSettings$BackgroundColor": "Specify the color of the rectangle behind the captions. Leave background color (BackgroundColor) blank and set Style passthrough (StylePassthrough) to enabled to use the background color data from your input captions, if present." } }, "BurninSubtitleFallbackFont": { @@ -1125,9 +1125,9 @@ } }, "DvbSubtitleTeletextSpacing": { - "base": "Specify whether the Text spacing (TextSpacing) in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid (FIXED_GRID) to conform to the spacing specified in the captions file more accurately. Choose proportional (PROPORTIONAL) to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical.", + "base": "Specify whether the Text spacing (TeletextSpacing) in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid (FIXED_GRID) to conform to the spacing specified in the captions file more accurately. Choose proportional (PROPORTIONAL) to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical.", "refs": { - "DvbSubDestinationSettings$TeletextSpacing": "Specify whether the Text spacing (TextSpacing) in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid (FIXED_GRID) to conform to the spacing specified in the captions file more accurately. Choose proportional (PROPORTIONAL) to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical." + "DvbSubDestinationSettings$TeletextSpacing": "Specify whether the Text spacing (TeletextSpacing) in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid (FIXED_GRID) to conform to the spacing specified in the captions file more accurately. Choose proportional (PROPORTIONAL) to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical." } }, "DvbSubtitlingType": { @@ -1530,9 +1530,9 @@ } }, "H264GopSizeUnits": { - "base": "Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", + "base": "Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize).", "refs": { - "H264Settings$GopSizeUnits": "Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time." + "H264Settings$GopSizeUnits": "Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize)." } }, "H264InterlaceMode": { @@ -1680,9 +1680,9 @@ } }, "H265GopSizeUnits": { - "base": "Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time.", + "base": "Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize).", "refs": { - "H265Settings$GopSizeUnits": "Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds the system will convert the GOP Size into a frame count at run time." + "H265Settings$GopSizeUnits": "Specify how the transcoder determines GOP size for this output. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if you don't specify GOP mode control (GopSizeUnits), MediaConvert will use automatic behavior. If your output group specifies HLS, DASH, or CMAF, set GOP mode control to Auto and leave GOP size blank in each output in your output group. To explicitly specify the GOP length, choose Specified, frames (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length in the related setting GOP size (GopSize)." } }, "H265InterlaceMode": { @@ -3679,8 +3679,8 @@ "base": null, "refs": { "Av1Settings$GopSize": "Specify the GOP length (keyframe interval) in frames. With AV1, MediaConvert doesn't support GOP length in seconds. This value must be greater than zero and preferably equal to 1 + ((numberBFrames + 1) * x), where x is an integer value.", - "H264Settings$GopSize": "GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.", - "H265Settings$GopSize": "GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.", + "H264Settings$GopSize": "Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using a whole number of frames or a decimal value of seconds. MediaConvert will interpret this value as frames or seconds depending on the value you choose for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to automatically determine GOP size, leave GOP size blank and set GOP mode control to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave GOP size blank and set GOP mode control to Auto in each output in your output group.", + "H265Settings$GopSize": "Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using a whole number of frames or a decimal value of seconds. MediaConvert will interpret this value as frames or seconds depending on the value you choose for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to automatically determine GOP size, leave GOP size blank and set GOP mode control to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave GOP size blank and set GOP mode control to Auto in each output in your output group.", "KantarWatermarkSettings$FileOffset": "Optional. Specify an offset, in whole seconds, from the start of your output and the beginning of the watermarking. When you don't specify an offset, Kantar defaults to zero.", "M2tsSettings$FragmentTime": "The length, in seconds, of each fragment. Only used with EBP markers.", "M2tsSettings$NullPacketBitrate": "Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.", @@ -3853,8 +3853,8 @@ "DvbSubDestinationSettings$DdsYCoordinate": "Use this setting, along with DDS x-coordinate (ddsXCoordinate), to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the top of the frame and the top of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling (ddsHandling) to a value other than None (NONE). MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment (PCS). All burn-in and DVB-Sub font settings must match.", "DvbSubDestinationSettings$XPosition": "Specify the horizontal position (XPosition) of the captions, relative to the left side of the outputin pixels. A value of 10 would result in the captions starting 10 pixels from the left ofthe output. If no explicit x_position is provided, the horizontal caption position will bedetermined by the alignment parameter. Within your job settings, all of your DVB-Sub settings must be identical.", "DvbSubDestinationSettings$YPosition": "Specify the vertical position (YPosition) of the captions, relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. Within your job settings, all of your DVB-Sub settings must be identical.", - "H264Settings$GopClosedCadence": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", - "H265Settings$GopClosedCadence": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", + "H264Settings$GopClosedCadence": "Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. If you do explicitly specify a value, for segmented outputs, don't set this value to 0.", + "H265Settings$GopClosedCadence": "Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. If you do explicitly specify a value, for segmented outputs, don't set this value to 0.", "Hdr10Metadata$MaxLuminance": "Nominal maximum mastering display luminance in units of of 0.0001 candelas per square meter.", "Hdr10Metadata$MinLuminance": "Nominal minimum mastering display luminance in units of of 0.0001 candelas per square meter", "HlsGroupSettings$MinSegmentLength": "When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.", @@ -3871,7 +3871,7 @@ "M3u8Settings$AudioFramesPerPes": "The number of audio frames to insert for each PES packet.", "MotionImageInsertionOffset$ImageX": "Set the distance, in pixels, between the overlay and the left edge of the video frame.", "MotionImageInsertionOffset$ImageY": "Set the distance, in pixels, between the overlay and the top edge of the video frame.", - "Mpeg2Settings$GopClosedCadence": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", + "Mpeg2Settings$GopClosedCadence": "Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. When you create a streaming output, we recommend that you keep the default value, 1, so that players starting mid-stream receive an IDR frame as quickly as possible. Don't set this value to 0; that would break output segmenting.", "MxfXavcProfileSettings$MaxAncDataSize": "Specify a value for this setting only for outputs that you set up with one of these two XAVC profiles: XAVC HD Intra CBG (XAVC_HD_INTRA_CBG) or XAVC 4K Intra CBG (XAVC_4K_INTRA_CBG). Specify the amount of space in each frame that the service reserves for ancillary data, such as teletext captions. The default value for this setting is 1492 bytes per frame. This should be sufficient to prevent overflow unless you have multiple pages of teletext captions data. If you have a large amount of teletext data, specify a larger number.", "Rectangle$X": "The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.", "Rectangle$Y": "The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.", @@ -3901,9 +3901,9 @@ "__integerMin0Max30": { "base": null, "refs": { - "H264Settings$MinIInterval": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", - "H265Settings$MinIInterval": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", - "Mpeg2Settings$MinIInterval": "Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1" + "H264Settings$MinIInterval": "Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.", + "H265Settings$MinIInterval": "Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.", + "Mpeg2Settings$MinIInterval": "Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. When you specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs." } }, "__integerMin0Max30000": { @@ -3988,7 +3988,7 @@ "__integerMin0Max7": { "base": null, "refs": { - "H264Settings$NumberBFramesBetweenReferenceFrames": "Specify the number of B-frames that MediaConvert puts between reference frames in this output. Valid values are whole numbers from 0 through 7. When you don't specify a value, MediaConvert defaults to 2.", + "H264Settings$NumberBFramesBetweenReferenceFrames": "This setting to determines the number of B-frames that MediaConvert puts between reference frames in this output. We recommend that you use automatic behavior to allow the transcoder to choose the best value based on characteristics of your input video. In the console, choose AUTO to select this automatic behavior. When you manually edit your JSON job specification, leave this setting out to choose automatic behavior. When you want to specify this number explicitly, choose a whole number from 0 through 7.", "H265Settings$NumberBFramesBetweenReferenceFrames": "Specify the number of B-frames that MediaConvert puts between reference frames in this output. Valid values are whole numbers from 0 through 7. When you don't specify a value, MediaConvert defaults to 2.", "Mpeg2Settings$NumberBFramesBetweenReferenceFrames": "Specify the number of B-frames that MediaConvert puts between reference frames in this output. Valid values are whole numbers from 0 through 7. When you don't specify a value, MediaConvert defaults to 2." } @@ -4790,7 +4790,7 @@ "CaptionDescriptionPreset$LanguageDescription": "Specify a label for this set of output captions. For example, \"English\", \"Director commentary\", or \"track_2\". For streaming outputs, MediaConvert passes this information into destination manifests for display on the end-viewer's player device. For outputs in other output groups, the service ignores this setting.", "CmafGroupSettings$BaseUrl": "A partial URI prefix that will be put in the manifest file at the top level BaseURL element. Can be used if streams are delivered from a different URL than the manifest file.", "CmfcSettings$AudioGroupId": "Specify the audio rendition group for this audio rendition. Specify up to one value for each audio output in your output group. This value appears in your HLS parent manifest in the EXT-X-MEDIA tag of TYPE=AUDIO, as the value for the GROUP-ID attribute. For example, if you specify \"audio_aac_1\" for Audio group ID, it appears in your manifest like this: #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=\"audio_aac_1\". Related setting: To associate the rendition group that this audio track belongs to with a video rendition, include the same value that you provide here for that video output's setting Audio rendition sets (audioRenditionSets).", - "CmfcSettings$AudioRenditionSets": "List the audio rendition groups that you want included with this video rendition. Use a comma-separated list. For example, say you want to include the audio rendition groups that have the audio group IDs \"audio_aac_1\" and \"audio_dolby\". Then you would specify this value: \"audio_aac_1, audio_dolby\". Related setting: The rendition groups that you include in your comma-separated list should all match values that you specify in the setting Audio group ID (AudioGroupId) for audio renditions in the same output group as this video rendition. Default behavior: If you don't specify anything here and for Audio group ID, MediaConvert puts each audio variant in its own audio rendition group and associates it with every video variant. Each value in your list appears in your HLS parent manifest in the EXT-X-STREAM-INF tag as the value for the AUDIO attribute. To continue the previous example, say that the file name for the child manifest for your video rendition is \"amazing_video_1.m3u8\". Then, in your parent manifest, each value will appear on separate lines, like this: #EXT-X-STREAM-INF:AUDIO=\"audio_aac_1\"... amazing_video_1.m3u8 #EXT-X-STREAM-INF:AUDIO=\"audio_dolby\"... amazing_video_1.m3u8", + "CmfcSettings$AudioRenditionSets": "List the audio rendition groups that you want included with this video rendition. Use a comma-separated list. For example, say you want to include the audio rendition groups that have the audio group IDs \"audio_aac_1\" and \"audio_dolby\". Then you would specify this value: \"audio_aac_1,audio_dolby\". Related setting: The rendition groups that you include in your comma-separated list should all match values that you specify in the setting Audio group ID (AudioGroupId) for audio renditions in the same output group as this video rendition. Default behavior: If you don't specify anything here and for Audio group ID, MediaConvert puts each audio variant in its own audio rendition group and associates it with every video variant. Each value in your list appears in your HLS parent manifest in the EXT-X-STREAM-INF tag as the value for the AUDIO attribute. To continue the previous example, say that the file name for the child manifest for your video rendition is \"amazing_video_1.m3u8\". Then, in your parent manifest, each value will appear on separate lines, like this: #EXT-X-STREAM-INF:AUDIO=\"audio_aac_1\"... amazing_video_1.m3u8 #EXT-X-STREAM-INF:AUDIO=\"audio_dolby\"... amazing_video_1.m3u8", "CreateJobRequest$ClientRequestToken": "Optional. Idempotency token for CreateJob operation.", "CreateJobRequest$JobTemplate": "Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually.", "CreateJobRequest$Queue": "Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.", diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index 8b1ce8d77a9..8141b523a36 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -7261,7 +7261,8 @@ "CENTOS", "ORACLE_LINUX", "DEBIAN", - "MACOS" + "MACOS", + "RASPBIAN" ] }, "OpsAggregator":{ diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index add27bc67c0..326fba5f684 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -823,10 +823,10 @@ "AutomationTargetParameterName": { "base": null, "refs": { - "AssociationDescription$AutomationTargetParameterName": "Specify the target for the association. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of Amazon Web Services Systems Manager.
", + "AssociationDescription$AutomationTargetParameterName": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of Amazon Web Services Systems Manager.
", "CreateAssociationBatchRequestEntry$AutomationTargetParameterName": "Specify the target for the association. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of Amazon Web Services Systems Manager.
", - "CreateAssociationRequest$AutomationTargetParameterName": "Specify the target for the association. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of Amazon Web Services Systems Manager.
", - "UpdateAssociationRequest$AutomationTargetParameterName": "Specify the target for the association. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of Amazon Web Services Systems Manager.
" + "CreateAssociationRequest$AutomationTargetParameterName": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of Amazon Web Services Systems Manager.
", + "UpdateAssociationRequest$AutomationTargetParameterName": "Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a capability of Amazon Web Services Systems Manager.
" } }, "AutomationType": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 2fe4d886cd5..cf4cedd3e7e 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -8331,6 +8331,7 @@ "ap-northeast-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ca-central-1" : { }, "eu-central-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, @@ -10249,6 +10250,7 @@ "ap-northeast-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ca-central-1" : { }, "eu-central-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, diff --git a/service/connect/api.go b/service/connect/api.go index 1cd89e8aa16..af5e5c4cbe7 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -1252,8 +1252,7 @@ func (c *Connect) CreateIntegrationAssociationRequest(input *CreateIntegrationAs // CreateIntegrationAssociation API operation for Amazon Connect Service. // -// Creates an Amazon Web Services resource association with an Amazon Connect -// instance. +// Creates an AWS resource association with an Amazon Connect instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2212,8 +2211,8 @@ func (c *Connect) DeleteIntegrationAssociationRequest(input *DeleteIntegrationAs // DeleteIntegrationAssociation API operation for Amazon Connect Service. // -// Deletes an Amazon Web Services resource association from an Amazon Connect -// instance. The association must not have any use cases associated with it. +// Deletes an AWS resource association from an Amazon Connect instance. The +// association must not have any use cases associated with it. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2823,6 +2822,102 @@ func (c *Connect) DescribeAgentStatusWithContext(ctx aws.Context, input *Describ return out, req.Send() } +const opDescribeContact = "DescribeContact" + +// DescribeContactRequest generates a "aws/request.Request" representing the +// client's request for the DescribeContact operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeContact for more information on using the DescribeContact +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeContactRequest method. +// req, resp := client.DescribeContactRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact +func (c *Connect) DescribeContactRequest(input *DescribeContactInput) (req *request.Request, output *DescribeContactOutput) { + op := &request.Operation{ + Name: opDescribeContact, + HTTPMethod: "GET", + HTTPPath: "/contacts/{InstanceId}/{ContactId}", + } + + if input == nil { + input = &DescribeContactInput{} + } + + output = &DescribeContactOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeContact API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// Describes the specified contact. +// +// Contact information is available in Amazon Connect for 24 months, and then +// it is deleted. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation DescribeContact for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact +func (c *Connect) DescribeContact(input *DescribeContactInput) (*DescribeContactOutput, error) { + req, out := c.DescribeContactRequest(input) + return out, req.Send() +} + +// DescribeContactWithContext is the same as DescribeContact with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeContact for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) DescribeContactWithContext(ctx aws.Context, input *DescribeContactInput, opts ...request.Option) (*DescribeContactOutput, error) { + req, out := c.DescribeContactRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeContactFlow = "DescribeContactFlow" // DescribeContactFlowRequest generates a "aws/request.Request" representing the @@ -5781,6 +5876,158 @@ func (c *Connect) ListContactFlowsPagesWithContext(ctx aws.Context, input *ListC return p.Err() } +const opListContactReferences = "ListContactReferences" + +// ListContactReferencesRequest generates a "aws/request.Request" representing the +// client's request for the ListContactReferences operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListContactReferences for more information on using the ListContactReferences +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListContactReferencesRequest method. +// req, resp := client.ListContactReferencesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferences +func (c *Connect) ListContactReferencesRequest(input *ListContactReferencesInput) (req *request.Request, output *ListContactReferencesOutput) { + op := &request.Operation{ + Name: opListContactReferences, + HTTPMethod: "GET", + HTTPPath: "/contact/references/{InstanceId}/{ContactId}", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListContactReferencesInput{} + } + + output = &ListContactReferencesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListContactReferences API operation for Amazon Connect Service. +// +// This API is in preview release for Amazon Connect and is subject to change. +// +// For the specified referenceTypes, returns a list of references associated +// with the contact. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation ListContactReferences for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferences +func (c *Connect) ListContactReferences(input *ListContactReferencesInput) (*ListContactReferencesOutput, error) { + req, out := c.ListContactReferencesRequest(input) + return out, req.Send() +} + +// ListContactReferencesWithContext is the same as ListContactReferences with the addition of +// the ability to pass a context and additional request options. +// +// See ListContactReferences for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) ListContactReferencesWithContext(ctx aws.Context, input *ListContactReferencesInput, opts ...request.Option) (*ListContactReferencesOutput, error) { + req, out := c.ListContactReferencesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListContactReferencesPages iterates over the pages of a ListContactReferences operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListContactReferences method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListContactReferences operation. +// pageNum := 0 +// err := client.ListContactReferencesPages(params, +// func(page *connect.ListContactReferencesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Connect) ListContactReferencesPages(input *ListContactReferencesInput, fn func(*ListContactReferencesOutput, bool) bool) error { + return c.ListContactReferencesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListContactReferencesPagesWithContext same as ListContactReferencesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) ListContactReferencesPagesWithContext(ctx aws.Context, input *ListContactReferencesInput, fn func(*ListContactReferencesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListContactReferencesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListContactReferencesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListContactReferencesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListHoursOfOperations = "ListHoursOfOperations" // ListHoursOfOperationsRequest generates a "aws/request.Request" representing the @@ -6433,8 +6680,8 @@ func (c *Connect) ListIntegrationAssociationsRequest(input *ListIntegrationAssoc // ListIntegrationAssociations API operation for Amazon Connect Service. // -// Provides summary information about the Amazon Web Services resource associations -// for the specified Amazon Connect instance. +// Provides summary information about the AWS resource associations for the +// specified Amazon Connect instance. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8250,8 +8497,6 @@ func (c *Connect) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) // ListSecurityProfiles API operation for Amazon Connect Service. // -// This API is in preview release for Amazon Connect and is subject to change. -// // Provides summary information about the security profiles for the specified // Amazon Connect instance. // @@ -9454,7 +9699,8 @@ func (c *Connect) StartTaskContactRequest(input *StartTaskContactInput) (req *re // StartTaskContact API operation for Amazon Connect Service. // -// Initiates a contact flow to start a new task. +// Initiates a contact flow to start a new task immediately or at a future date +// and time. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10165,82 +10411,65 @@ func (c *Connect) UpdateAgentStatusWithContext(ctx aws.Context, input *UpdateAge return out, req.Send() } -const opUpdateContactAttributes = "UpdateContactAttributes" +const opUpdateContact = "UpdateContact" -// UpdateContactAttributesRequest generates a "aws/request.Request" representing the -// client's request for the UpdateContactAttributes operation. The "output" return +// UpdateContactRequest generates a "aws/request.Request" representing the +// client's request for the UpdateContact operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateContactAttributes for more information on using the UpdateContactAttributes +// See UpdateContact for more information on using the UpdateContact // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateContactAttributesRequest method. -// req, resp := client.UpdateContactAttributesRequest(params) +// // Example sending a request using the UpdateContactRequest method. +// req, resp := client.UpdateContactRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes -func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) (req *request.Request, output *UpdateContactAttributesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContact +func (c *Connect) UpdateContactRequest(input *UpdateContactInput) (req *request.Request, output *UpdateContactOutput) { op := &request.Operation{ - Name: opUpdateContactAttributes, + Name: opUpdateContact, HTTPMethod: "POST", - HTTPPath: "/contact/attributes", + HTTPPath: "/contacts/{InstanceId}/{ContactId}", } if input == nil { - input = &UpdateContactAttributesInput{} + input = &UpdateContactInput{} } - output = &UpdateContactAttributesOutput{} + output = &UpdateContactOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UpdateContactAttributes API operation for Amazon Connect Service. +// UpdateContact API operation for Amazon Connect Service. // -// Creates or updates user-defined contact attributes associated with the specified -// contact. -// -// You can create or update user-defined attributes for both ongoing and completed -// contacts. For example, while the call is active, you can update the customer's -// name or the reason the customer called. You can add notes about steps that -// the agent took during the call that display to the next agent that takes -// the call. You can also update attributes for a contact using data from your -// CRM application and save the data with the contact in Amazon Connect. You -// could also flag calls for additional analysis, such as legal review or to -// identify abusive callers. +// This API is in preview release for Amazon Connect and is subject to change. // -// Contact attributes are available in Amazon Connect for 24 months, and are -// then deleted. For information about CTR retention and the maximum size of -// the CTR attributes section, see Feature specifications (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits) -// in the Amazon Connect Administrator Guide. +// Adds or updates user defined contact information associated with the specified +// contact. At least one field to be updated must be present in the request. // -// Important: You cannot use the operation to update attributes for contacts -// that occurred prior to the release of the API, which was September 12, 2018. -// You can update attributes only for contacts that started after the release -// of the API. If you attempt to update attributes for a contact that occurred -// prior to the release of the API, a 400 error is returned. This applies also -// to queued callbacks that were initiated prior to the release of the API but -// are still active in your instance. +// You can add or update user-defined contact information for both ongoing and +// completed contacts. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Connect Service's -// API operation UpdateContactAttributes for usage and error information. +// API operation UpdateContact for usage and error information. // // Returned Error Types: // * InvalidRequestException @@ -10255,57 +10484,172 @@ func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesI // * InternalServiceException // Request processing failed because of an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes -func (c *Connect) UpdateContactAttributes(input *UpdateContactAttributesInput) (*UpdateContactAttributesOutput, error) { - req, out := c.UpdateContactAttributesRequest(input) +// * ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContact +func (c *Connect) UpdateContact(input *UpdateContactInput) (*UpdateContactOutput, error) { + req, out := c.UpdateContactRequest(input) return out, req.Send() } -// UpdateContactAttributesWithContext is the same as UpdateContactAttributes with the addition of +// UpdateContactWithContext is the same as UpdateContact with the addition of // the ability to pass a context and additional request options. // -// See UpdateContactAttributes for details on how to use this API operation. +// See UpdateContact for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *Connect) UpdateContactAttributesWithContext(ctx aws.Context, input *UpdateContactAttributesInput, opts ...request.Option) (*UpdateContactAttributesOutput, error) { - req, out := c.UpdateContactAttributesRequest(input) +func (c *Connect) UpdateContactWithContext(ctx aws.Context, input *UpdateContactInput, opts ...request.Option) (*UpdateContactOutput, error) { + req, out := c.UpdateContactRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateContactFlowContent = "UpdateContactFlowContent" +const opUpdateContactAttributes = "UpdateContactAttributes" -// UpdateContactFlowContentRequest generates a "aws/request.Request" representing the -// client's request for the UpdateContactFlowContent operation. The "output" return +// UpdateContactAttributesRequest generates a "aws/request.Request" representing the +// client's request for the UpdateContactAttributes operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UpdateContactFlowContent for more information on using the UpdateContactFlowContent +// See UpdateContactAttributes for more information on using the UpdateContactAttributes // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UpdateContactFlowContentRequest method. -// req, resp := client.UpdateContactFlowContentRequest(params) +// // Example sending a request using the UpdateContactAttributesRequest method. +// req, resp := client.UpdateContactAttributesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowContent -func (c *Connect) UpdateContactFlowContentRequest(input *UpdateContactFlowContentInput) (req *request.Request, output *UpdateContactFlowContentOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes +func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) (req *request.Request, output *UpdateContactAttributesOutput) { op := &request.Operation{ - Name: opUpdateContactFlowContent, + Name: opUpdateContactAttributes, + HTTPMethod: "POST", + HTTPPath: "/contact/attributes", + } + + if input == nil { + input = &UpdateContactAttributesInput{} + } + + output = &UpdateContactAttributesOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateContactAttributes API operation for Amazon Connect Service. +// +// Creates or updates user-defined contact attributes associated with the specified +// contact. +// +// You can create or update user-defined attributes for both ongoing and completed +// contacts. For example, while the call is active, you can update the customer's +// name or the reason the customer called. You can add notes about steps that +// the agent took during the call that display to the next agent that takes +// the call. You can also update attributes for a contact using data from your +// CRM application and save the data with the contact in Amazon Connect. You +// could also flag calls for additional analysis, such as legal review or to +// identify abusive callers. +// +// Contact attributes are available in Amazon Connect for 24 months, and are +// then deleted. For information about CTR retention and the maximum size of +// the CTR attributes section, see Feature specifications (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#feature-limits) +// in the Amazon Connect Administrator Guide. +// +// Important: You cannot use the operation to update attributes for contacts +// that occurred prior to the release of the API, which was September 12, 2018. +// You can update attributes only for contacts that started after the release +// of the API. If you attempt to update attributes for a contact that occurred +// prior to the release of the API, a 400 error is returned. This applies also +// to queued callbacks that were initiated prior to the release of the API but +// are still active in your instance. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation UpdateContactAttributes for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes +func (c *Connect) UpdateContactAttributes(input *UpdateContactAttributesInput) (*UpdateContactAttributesOutput, error) { + req, out := c.UpdateContactAttributesRequest(input) + return out, req.Send() +} + +// UpdateContactAttributesWithContext is the same as UpdateContactAttributes with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateContactAttributes for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) UpdateContactAttributesWithContext(ctx aws.Context, input *UpdateContactAttributesInput, opts ...request.Option) (*UpdateContactAttributesOutput, error) { + req, out := c.UpdateContactAttributesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateContactFlowContent = "UpdateContactFlowContent" + +// UpdateContactFlowContentRequest generates a "aws/request.Request" representing the +// client's request for the UpdateContactFlowContent operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateContactFlowContent for more information on using the UpdateContactFlowContent +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateContactFlowContentRequest method. +// req, resp := client.UpdateContactFlowContentRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowContent +func (c *Connect) UpdateContactFlowContentRequest(input *UpdateContactFlowContentInput) (req *request.Request, output *UpdateContactFlowContentOutput) { + op := &request.Operation{ + Name: opUpdateContactFlowContent, HTTPMethod: "POST", HTTPPath: "/contact-flows/{InstanceId}/{ContactFlowId}/content", } @@ -10473,6 +10817,101 @@ func (c *Connect) UpdateContactFlowNameWithContext(ctx aws.Context, input *Updat return out, req.Send() } +const opUpdateContactSchedule = "UpdateContactSchedule" + +// UpdateContactScheduleRequest generates a "aws/request.Request" representing the +// client's request for the UpdateContactSchedule operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateContactSchedule for more information on using the UpdateContactSchedule +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateContactScheduleRequest method. +// req, resp := client.UpdateContactScheduleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactSchedule +func (c *Connect) UpdateContactScheduleRequest(input *UpdateContactScheduleInput) (req *request.Request, output *UpdateContactScheduleOutput) { + op := &request.Operation{ + Name: opUpdateContactSchedule, + HTTPMethod: "POST", + HTTPPath: "/contact/schedule", + } + + if input == nil { + input = &UpdateContactScheduleInput{} + } + + output = &UpdateContactScheduleOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateContactSchedule API operation for Amazon Connect Service. +// +// Updates the scheduled time of a task contact that is already scheduled. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation UpdateContactSchedule for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// * LimitExceededException +// The allowed limit for the resource has been exceeded. +// +// * InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactSchedule +func (c *Connect) UpdateContactSchedule(input *UpdateContactScheduleInput) (*UpdateContactScheduleOutput, error) { + req, out := c.UpdateContactScheduleRequest(input) + return out, req.Send() +} + +// UpdateContactScheduleWithContext is the same as UpdateContactSchedule with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateContactSchedule for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Connect) UpdateContactScheduleWithContext(ctx aws.Context, input *UpdateContactScheduleInput, opts ...request.Option) (*UpdateContactScheduleOutput, error) { + req, out := c.UpdateContactScheduleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateHoursOfOperation = "UpdateHoursOfOperation" // UpdateHoursOfOperationRequest generates a "aws/request.Request" representing the @@ -12607,6 +13046,47 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Information about the agent who accepted the contact. +type AgentInfo struct { + _ struct{} `type:"structure"` + + // The timestamp when the contact was connected to the agent. + ConnectedToAgentTimestamp *time.Time `type:"timestamp"` + + // The identifier of the agent who accepted the contact. + Id *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AgentInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AgentInfo) GoString() string { + return s.String() +} + +// SetConnectedToAgentTimestamp sets the ConnectedToAgentTimestamp field's value. +func (s *AgentInfo) SetConnectedToAgentTimestamp(v time.Time) *AgentInfo { + s.ConnectedToAgentTimestamp = &v + return s +} + +// SetId sets the Id field's value. +func (s *AgentInfo) SetId(v string) *AgentInfo { + s.Id = &v + return s +} + // Contains information about an agent status. type AgentStatus struct { _ struct{} `type:"structure"` @@ -12629,7 +13109,7 @@ type AgentStatus struct { // The state of the agent status. State *string `type:"string" enum:"AgentStatusState"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` // The type of agent status. @@ -13596,6 +14076,57 @@ func (s *AssociateSecurityKeyOutput) SetAssociationId(v string) *AssociateSecuri return s } +// Information about the attachment reference if the referenceType is ATTACHMENT. +// Otherwise, null. +type AttachmentReference struct { + _ struct{} `type:"structure"` + + // Identifier of the attachment reference. + Name *string `min:"1" type:"string"` + + // Status of an attachment reference type. + Status *string `type:"string" enum:"ReferenceStatus"` + + // Contains the location path of the attachment reference. + Value *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttachmentReference) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AttachmentReference) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *AttachmentReference) SetName(v string) *AttachmentReference { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *AttachmentReference) SetStatus(v string) *AttachmentReference { + s.Status = &v + return s +} + +// SetValue sets the Value field's value. +func (s *AttachmentReference) SetValue(v string) *AttachmentReference { + s.Value = &v + return s +} + // A toggle for an individual feature at the instance level. type Attribute struct { _ struct{} `type:"structure"` @@ -13756,6 +14287,162 @@ func (s *ChatStreamingConfiguration) SetStreamingEndpointArn(v string) *ChatStre return s } +// Contains information about a contact. +type Contact struct { + _ struct{} `type:"structure"` + + // Information about the agent who accepted the contact. + AgentInfo *AgentInfo `type:"structure"` + + // The Amazon Resource Name (ARN) for the contact. + Arn *string `type:"string"` + + // How the contact reached your contact center. + Channel *string `type:"string" enum:"Channel"` + + // The description of the contact. + Description *string `type:"string"` + + // The timestamp when the customer endpoint disconnected from Amazon Connect. + DisconnectTimestamp *time.Time `type:"timestamp"` + + // The identifier for the contact. + Id *string `min:"1" type:"string"` + + // If this contact is related to other contacts, this is the ID of the initial + // contact. + InitialContactId *string `min:"1" type:"string"` + + // Indicates how the contact was initiated. + InitiationMethod *string `type:"string" enum:"ContactInitiationMethod"` + + // The date and time this contact was initiated, in UTC time. For INBOUND, this + // is when the contact arrived. For OUTBOUND, this is when the agent began dialing. + // For CALLBACK, this is when the callback contact was created. For TRANSFER + // and QUEUE_TRANSFER, this is when the transfer was initiated. For API, this + // is when the request arrived. + InitiationTimestamp *time.Time `type:"timestamp"` + + // The timestamp when contact was last updated. + LastUpdateTimestamp *time.Time `type:"timestamp"` + + // The name of the contact. + Name *string `type:"string"` + + // If this contact is not the first contact, this is the ID of the previous + // contact. + PreviousContactId *string `min:"1" type:"string"` + + // If this contact was queued, this contains information about the queue. + QueueInfo *QueueInfo `type:"structure"` + + // The timestamp, in Unix epoch time format, at which to start running the inbound + // flow. + ScheduledTimestamp *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Contact) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Contact) GoString() string { + return s.String() +} + +// SetAgentInfo sets the AgentInfo field's value. +func (s *Contact) SetAgentInfo(v *AgentInfo) *Contact { + s.AgentInfo = v + return s +} + +// SetArn sets the Arn field's value. +func (s *Contact) SetArn(v string) *Contact { + s.Arn = &v + return s +} + +// SetChannel sets the Channel field's value. +func (s *Contact) SetChannel(v string) *Contact { + s.Channel = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Contact) SetDescription(v string) *Contact { + s.Description = &v + return s +} + +// SetDisconnectTimestamp sets the DisconnectTimestamp field's value. +func (s *Contact) SetDisconnectTimestamp(v time.Time) *Contact { + s.DisconnectTimestamp = &v + return s +} + +// SetId sets the Id field's value. +func (s *Contact) SetId(v string) *Contact { + s.Id = &v + return s +} + +// SetInitialContactId sets the InitialContactId field's value. +func (s *Contact) SetInitialContactId(v string) *Contact { + s.InitialContactId = &v + return s +} + +// SetInitiationMethod sets the InitiationMethod field's value. +func (s *Contact) SetInitiationMethod(v string) *Contact { + s.InitiationMethod = &v + return s +} + +// SetInitiationTimestamp sets the InitiationTimestamp field's value. +func (s *Contact) SetInitiationTimestamp(v time.Time) *Contact { + s.InitiationTimestamp = &v + return s +} + +// SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value. +func (s *Contact) SetLastUpdateTimestamp(v time.Time) *Contact { + s.LastUpdateTimestamp = &v + return s +} + +// SetName sets the Name field's value. +func (s *Contact) SetName(v string) *Contact { + s.Name = &v + return s +} + +// SetPreviousContactId sets the PreviousContactId field's value. +func (s *Contact) SetPreviousContactId(v string) *Contact { + s.PreviousContactId = &v + return s +} + +// SetQueueInfo sets the QueueInfo field's value. +func (s *Contact) SetQueueInfo(v *QueueInfo) *Contact { + s.QueueInfo = v + return s +} + +// SetScheduledTimestamp sets the ScheduledTimestamp field's value. +func (s *Contact) SetScheduledTimestamp(v time.Time) *Contact { + s.ScheduledTimestamp = &v + return s +} + // Contains information about a contact flow. type ContactFlow struct { _ struct{} `type:"structure"` @@ -14060,7 +14747,7 @@ type CreateAgentStatusInput struct { // State is a required field State *string `type:"string" required:"true" enum:"AgentStatusState"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -14372,7 +15059,7 @@ type CreateHoursOfOperationInput struct { // Name is a required field Name *string `min:"1" type:"string" required:"true"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` // The time zone of the hours of operation. @@ -14701,7 +15388,7 @@ type CreateIntegrationAssociationInput struct { // type. SourceType *string `type:"string" enum:"SourceType"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -14868,7 +15555,7 @@ type CreateQueueInput struct { // The quick connects available to agents who are working the queue. QuickConnectIds []*string `min:"1" type:"list"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -15039,7 +15726,7 @@ type CreateQuickConnectInput struct { // QuickConnectConfig is a required field QuickConnectConfig *QuickConnectConfig `type:"structure" required:"true"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -15385,7 +16072,7 @@ type CreateSecurityProfileInput struct { // SecurityProfileName is a required field SecurityProfileName *string `type:"string" required:"true"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -15513,7 +16200,7 @@ type CreateUseCaseInput struct { // IntegrationAssociationId is a required field IntegrationAssociationId *string `location:"uri" locationName:"IntegrationAssociationId" min:"1" type:"string" required:"true"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` // The type of use case to associate to the integration association. Each integration @@ -17071,6 +17758,104 @@ func (s *DescribeContactFlowOutput) SetContactFlow(v *ContactFlow) *DescribeCont return s } +type DescribeContactInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the initial contact. + // + // ContactId is a required field + ContactId *string `location:"uri" locationName:"ContactId" min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeContactInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeContactInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeContactInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContactId sets the ContactId field's value. +func (s *DescribeContactInput) SetContactId(v string) *DescribeContactInput { + s.ContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *DescribeContactInput) SetInstanceId(v string) *DescribeContactInput { + s.InstanceId = &v + return s +} + +type DescribeContactOutput struct { + _ struct{} `type:"structure"` + + // Information about the contact. + Contact *Contact `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeContactOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeContactOutput) GoString() string { + return s.String() +} + +// SetContact sets the Contact field's value. +func (s *DescribeContactOutput) SetContact(v *Contact) *DescribeContactOutput { + s.Contact = v + return s +} + type DescribeHoursOfOperationInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -20636,7 +21421,7 @@ type HoursOfOperation struct { // The name for the hours of operation. Name *string `min:"1" type:"string"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` // The time zone for the hours of operation. @@ -22484,6 +23269,142 @@ func (s *ListContactFlowsOutput) SetNextToken(v string) *ListContactFlowsOutput return s } +type ListContactReferencesInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The identifier of the initial contact. + // + // ContactId is a required field + ContactId *string `location:"uri" locationName:"ContactId" min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The token for the next set of results. Use the value returned in the previous + // response in the next request to retrieve the next set of results. + // + // This is not expected to be set since the value returned in the previous response + // is always null. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // The type of reference. + // + // ReferenceTypes is a required field + ReferenceTypes []*string `location:"querystring" locationName:"referenceTypes" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContactReferencesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContactReferencesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListContactReferencesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListContactReferencesInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.ReferenceTypes == nil { + invalidParams.Add(request.NewErrParamRequired("ReferenceTypes")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContactId sets the ContactId field's value. +func (s *ListContactReferencesInput) SetContactId(v string) *ListContactReferencesInput { + s.ContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *ListContactReferencesInput) SetInstanceId(v string) *ListContactReferencesInput { + s.InstanceId = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListContactReferencesInput) SetNextToken(v string) *ListContactReferencesInput { + s.NextToken = &v + return s +} + +// SetReferenceTypes sets the ReferenceTypes field's value. +func (s *ListContactReferencesInput) SetReferenceTypes(v []*string) *ListContactReferencesInput { + s.ReferenceTypes = v + return s +} + +type ListContactReferencesOutput struct { + _ struct{} `type:"structure"` + + // If there are additional results, this is the token for the next set of results. + // + // This is always returned as null in the response. + NextToken *string `type:"string"` + + // Information about the contact flows. + ReferenceSummaryList []*ReferenceSummary `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContactReferencesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListContactReferencesOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListContactReferencesOutput) SetNextToken(v string) *ListContactReferencesOutput { + s.NextToken = &v + return s +} + +// SetReferenceSummaryList sets the ReferenceSummaryList field's value. +func (s *ListContactReferencesOutput) SetReferenceSummaryList(v []*ReferenceSummary) *ListContactReferencesOutput { + s.ReferenceSummaryList = v + return s +} + type ListHoursOfOperationsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -22937,7 +23858,6 @@ type ListIntegrationAssociationsInput struct { // InstanceId is a required field InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` - // The type of integration. IntegrationType *string `location:"querystring" locationName:"integrationType" type:"string" enum:"IntegrationType"` // The maximum number of results to return per page. @@ -23124,7 +24044,7 @@ func (s *ListLambdaFunctionsInput) SetNextToken(v string) *ListLambdaFunctionsIn type ListLambdaFunctionsOutput struct { _ struct{} `type:"structure"` - // The Lambda function ARNs associated with the specified instance. + // The Lambdafunction ARNs associated with the specified instance. LambdaFunctions []*string `type:"list"` // If there are additional results, this is the token for the next set of results. @@ -25393,7 +26313,7 @@ type Queue struct { // The status of the queue. Status *string `type:"string" enum:"QueueStatus"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -25469,6 +26389,47 @@ func (s *Queue) SetTags(v map[string]*string) *Queue { return s } +// If this contact was queued, this contains information about the queue. +type QueueInfo struct { + _ struct{} `type:"structure"` + + // The timestamp when the contact was added to the queue. + EnqueueTimestamp *time.Time `type:"timestamp"` + + // The identifier of the agent who accepted the contact. + Id *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s QueueInfo) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s QueueInfo) GoString() string { + return s.String() +} + +// SetEnqueueTimestamp sets the EnqueueTimestamp field's value. +func (s *QueueInfo) SetEnqueueTimestamp(v time.Time) *QueueInfo { + s.EnqueueTimestamp = &v + return s +} + +// SetId sets the Id field's value. +func (s *QueueInfo) SetId(v string) *QueueInfo { + s.Id = &v + return s +} + // Contains information about a queue for a quick connect. The contact flow // must be of type Transfer to Queue. type QueueQuickConnectConfig struct { @@ -25650,7 +26611,7 @@ type QuickConnect struct { // The identifier for the quick connect. QuickConnectId *string `type:"string"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -25865,12 +26826,13 @@ func (s *QuickConnectSummary) SetQuickConnectType(v string) *QuickConnectSummary type Reference struct { _ struct{} `type:"structure"` - // A valid URL. + // The type of the reference. Only URL type can be added or updated on a contact. // // Type is a required field Type *string `type:"string" required:"true" enum:"ReferenceType"` - // A formatted URL that displays to an agent in the Contact Control Panel (CCP) + // A valid value for the reference. For example, for a URL reference, a formatted + // URL that is displayed to an agent in the Contact Control Panel (CCP). // // Value is a required field Value *string `type:"string" required:"true"` @@ -25922,6 +26884,50 @@ func (s *Reference) SetValue(v string) *Reference { return s } +// Contains summary information about a reference. ReferenceSummary contains +// only one non null field between the URL and attachment based on the reference +// type. +type ReferenceSummary struct { + _ struct{} `type:"structure"` + + // Information about the attachment reference if the referenceType is ATTACHMENT. + // Otherwise, null. + Attachment *AttachmentReference `type:"structure"` + + // Information about Url reference if the referenceType is URL. Otherwise, null. + Url *UrlReference `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReferenceSummary) GoString() string { + return s.String() +} + +// SetAttachment sets the Attachment field's value. +func (s *ReferenceSummary) SetAttachment(v *AttachmentReference) *ReferenceSummary { + s.Attachment = v + return s +} + +// SetUrl sets the Url field's value. +func (s *ReferenceSummary) SetUrl(v *UrlReference) *ReferenceSummary { + s.Url = v + return s +} + // A resource already has that name. type ResourceConflictException struct { _ struct{} `type:"structure"` @@ -26769,7 +27775,7 @@ type SecurityProfile struct { // The name for the security profile. SecurityProfileName *string `type:"string"` - // The tags used to organize, track, or control access for this resource. + // One or more tags. Tags map[string]*string `min:"1" type:"map"` } @@ -27613,6 +28619,11 @@ type StartTaskContactInput struct { // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). References map[string]*Reference `type:"map"` + + // The timestamp, in Unix Epoch seconds format, at which to start running the + // inbound contact flow. The scheduled time cannot be in the past. It must be + // within up to 6 days in future. + ScheduledTime *time.Time `type:"timestamp"` } // String returns the string representation. @@ -27716,6 +28727,12 @@ func (s *StartTaskContactInput) SetReferences(v map[string]*Reference) *StartTas return s } +// SetScheduledTime sets the ScheduledTime field's value. +func (s *StartTaskContactInput) SetScheduledTime(v time.Time) *StartTaskContactInput { + s.ScheduledTime = &v + return s +} + type StartTaskContactOutput struct { _ struct{} `type:"structure"` @@ -28900,6 +29917,238 @@ func (s UpdateContactFlowNameOutput) GoString() string { return s.String() } +type UpdateContactInput struct { + _ struct{} `type:"structure"` + + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with your contact center. + // + // ContactId is a required field + ContactId *string `location:"uri" locationName:"ContactId" min:"1" type:"string" required:"true"` + + // The description of the contact. + Description *string `type:"string"` + + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The name of the contact. + Name *string `type:"string"` + + // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + References map[string]*Reference `type:"map"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateContactInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.References != nil { + for i, v := range s.References { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "References", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContactId sets the ContactId field's value. +func (s *UpdateContactInput) SetContactId(v string) *UpdateContactInput { + s.ContactId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateContactInput) SetDescription(v string) *UpdateContactInput { + s.Description = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateContactInput) SetInstanceId(v string) *UpdateContactInput { + s.InstanceId = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateContactInput) SetName(v string) *UpdateContactInput { + s.Name = &v + return s +} + +// SetReferences sets the References field's value. +func (s *UpdateContactInput) SetReferences(v map[string]*Reference) *UpdateContactInput { + s.References = v + return s +} + +type UpdateContactOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactOutput) GoString() string { + return s.String() +} + +type UpdateContactScheduleInput struct { + _ struct{} `type:"structure"` + + // The identifier of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // The timestamp, in Unix Epoch seconds format, at which to start running the + // inbound contact flow. The scheduled time cannot be in the past. It must be + // within up to 6 days in future. + // + // ScheduledTime is a required field + ScheduledTime *time.Time `type:"timestamp" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactScheduleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactScheduleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateContactScheduleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateContactScheduleInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.ScheduledTime == nil { + invalidParams.Add(request.NewErrParamRequired("ScheduledTime")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContactId sets the ContactId field's value. +func (s *UpdateContactScheduleInput) SetContactId(v string) *UpdateContactScheduleInput { + s.ContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *UpdateContactScheduleInput) SetInstanceId(v string) *UpdateContactScheduleInput { + s.InstanceId = &v + return s +} + +// SetScheduledTime sets the ScheduledTime field's value. +func (s *UpdateContactScheduleInput) SetScheduledTime(v time.Time) *UpdateContactScheduleInput { + s.ScheduledTime = &v + return s +} + +type UpdateContactScheduleOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactScheduleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateContactScheduleOutput) GoString() string { + return s.String() +} + type UpdateHoursOfOperationInput struct { _ struct{} `type:"structure"` @@ -29044,7 +30293,7 @@ type UpdateInstanceAttributeInput struct { // The type of attribute. // // Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this - // feature, contact Amazon Web Services Support for allowlisting. + // feature, contact AWS Support for allowlisting. // // AttributeType is a required field AttributeType *string `location:"uri" locationName:"AttributeType" type:"string" required:"true" enum:"InstanceAttributeType"` @@ -31284,6 +32533,47 @@ func (s UpdateUserSecurityProfilesOutput) GoString() string { return s.String() } +// The URL reference. +type UrlReference struct { + _ struct{} `type:"structure"` + + // Identifier of the URL reference. + Name *string `min:"1" type:"string"` + + // A valid URL. + Value *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UrlReference) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UrlReference) GoString() string { + return s.String() +} + +// SetName sets the Name field's value. +func (s *UrlReference) SetName(v string) *UrlReference { + s.Name = &v + return s +} + +// SetValue sets the Value field's value. +func (s *UrlReference) SetValue(v string) *UrlReference { + s.Value = &v + return s +} + // Contains the use case. type UseCase struct { _ struct{} `type:"structure"` @@ -31911,6 +33201,38 @@ func ContactFlowType_Values() []string { } } +const ( + // ContactInitiationMethodInbound is a ContactInitiationMethod enum value + ContactInitiationMethodInbound = "INBOUND" + + // ContactInitiationMethodOutbound is a ContactInitiationMethod enum value + ContactInitiationMethodOutbound = "OUTBOUND" + + // ContactInitiationMethodTransfer is a ContactInitiationMethod enum value + ContactInitiationMethodTransfer = "TRANSFER" + + // ContactInitiationMethodQueueTransfer is a ContactInitiationMethod enum value + ContactInitiationMethodQueueTransfer = "QUEUE_TRANSFER" + + // ContactInitiationMethodCallback is a ContactInitiationMethod enum value + ContactInitiationMethodCallback = "CALLBACK" + + // ContactInitiationMethodApi is a ContactInitiationMethod enum value + ContactInitiationMethodApi = "API" +) + +// ContactInitiationMethod_Values returns all elements of the ContactInitiationMethod enum +func ContactInitiationMethod_Values() []string { + return []string{ + ContactInitiationMethodInbound, + ContactInitiationMethodOutbound, + ContactInitiationMethodTransfer, + ContactInitiationMethodQueueTransfer, + ContactInitiationMethodCallback, + ContactInitiationMethodApi, + } +} + // The current metric names. const ( // CurrentMetricNameAgentsOnline is a CurrentMetricName enum value @@ -33337,15 +34659,35 @@ func QuickConnectType_Values() []string { } } +const ( + // ReferenceStatusApproved is a ReferenceStatus enum value + ReferenceStatusApproved = "APPROVED" + + // ReferenceStatusRejected is a ReferenceStatus enum value + ReferenceStatusRejected = "REJECTED" +) + +// ReferenceStatus_Values returns all elements of the ReferenceStatus enum +func ReferenceStatus_Values() []string { + return []string{ + ReferenceStatusApproved, + ReferenceStatusRejected, + } +} + const ( // ReferenceTypeUrl is a ReferenceType enum value ReferenceTypeUrl = "URL" + + // ReferenceTypeAttachment is a ReferenceType enum value + ReferenceTypeAttachment = "ATTACHMENT" ) // ReferenceType_Values returns all elements of the ReferenceType enum func ReferenceType_Values() []string { return []string{ ReferenceTypeUrl, + ReferenceTypeAttachment, } } diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index 1c220fb47c2..f7b4127fc1a 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -176,6 +176,10 @@ type ConnectAPI interface { DescribeAgentStatusWithContext(aws.Context, *connect.DescribeAgentStatusInput, ...request.Option) (*connect.DescribeAgentStatusOutput, error) DescribeAgentStatusRequest(*connect.DescribeAgentStatusInput) (*request.Request, *connect.DescribeAgentStatusOutput) + DescribeContact(*connect.DescribeContactInput) (*connect.DescribeContactOutput, error) + DescribeContactWithContext(aws.Context, *connect.DescribeContactInput, ...request.Option) (*connect.DescribeContactOutput, error) + DescribeContactRequest(*connect.DescribeContactInput) (*request.Request, *connect.DescribeContactOutput) + DescribeContactFlow(*connect.DescribeContactFlowInput) (*connect.DescribeContactFlowOutput, error) DescribeContactFlowWithContext(aws.Context, *connect.DescribeContactFlowInput, ...request.Option) (*connect.DescribeContactFlowOutput, error) DescribeContactFlowRequest(*connect.DescribeContactFlowInput) (*request.Request, *connect.DescribeContactFlowOutput) @@ -306,6 +310,13 @@ type ConnectAPI interface { ListContactFlowsPages(*connect.ListContactFlowsInput, func(*connect.ListContactFlowsOutput, bool) bool) error ListContactFlowsPagesWithContext(aws.Context, *connect.ListContactFlowsInput, func(*connect.ListContactFlowsOutput, bool) bool, ...request.Option) error + ListContactReferences(*connect.ListContactReferencesInput) (*connect.ListContactReferencesOutput, error) + ListContactReferencesWithContext(aws.Context, *connect.ListContactReferencesInput, ...request.Option) (*connect.ListContactReferencesOutput, error) + ListContactReferencesRequest(*connect.ListContactReferencesInput) (*request.Request, *connect.ListContactReferencesOutput) + + ListContactReferencesPages(*connect.ListContactReferencesInput, func(*connect.ListContactReferencesOutput, bool) bool) error + ListContactReferencesPagesWithContext(aws.Context, *connect.ListContactReferencesInput, func(*connect.ListContactReferencesOutput, bool) bool, ...request.Option) error + ListHoursOfOperations(*connect.ListHoursOfOperationsInput) (*connect.ListHoursOfOperationsOutput, error) ListHoursOfOperationsWithContext(aws.Context, *connect.ListHoursOfOperationsInput, ...request.Option) (*connect.ListHoursOfOperationsOutput, error) ListHoursOfOperationsRequest(*connect.ListHoursOfOperationsInput) (*request.Request, *connect.ListHoursOfOperationsOutput) @@ -502,6 +513,10 @@ type ConnectAPI interface { UpdateAgentStatusWithContext(aws.Context, *connect.UpdateAgentStatusInput, ...request.Option) (*connect.UpdateAgentStatusOutput, error) UpdateAgentStatusRequest(*connect.UpdateAgentStatusInput) (*request.Request, *connect.UpdateAgentStatusOutput) + UpdateContact(*connect.UpdateContactInput) (*connect.UpdateContactOutput, error) + UpdateContactWithContext(aws.Context, *connect.UpdateContactInput, ...request.Option) (*connect.UpdateContactOutput, error) + UpdateContactRequest(*connect.UpdateContactInput) (*request.Request, *connect.UpdateContactOutput) + UpdateContactAttributes(*connect.UpdateContactAttributesInput) (*connect.UpdateContactAttributesOutput, error) UpdateContactAttributesWithContext(aws.Context, *connect.UpdateContactAttributesInput, ...request.Option) (*connect.UpdateContactAttributesOutput, error) UpdateContactAttributesRequest(*connect.UpdateContactAttributesInput) (*request.Request, *connect.UpdateContactAttributesOutput) @@ -514,6 +529,10 @@ type ConnectAPI interface { UpdateContactFlowNameWithContext(aws.Context, *connect.UpdateContactFlowNameInput, ...request.Option) (*connect.UpdateContactFlowNameOutput, error) UpdateContactFlowNameRequest(*connect.UpdateContactFlowNameInput) (*request.Request, *connect.UpdateContactFlowNameOutput) + UpdateContactSchedule(*connect.UpdateContactScheduleInput) (*connect.UpdateContactScheduleOutput, error) + UpdateContactScheduleWithContext(aws.Context, *connect.UpdateContactScheduleInput, ...request.Option) (*connect.UpdateContactScheduleOutput, error) + UpdateContactScheduleRequest(*connect.UpdateContactScheduleInput) (*request.Request, *connect.UpdateContactScheduleOutput) + UpdateHoursOfOperation(*connect.UpdateHoursOfOperationInput) (*connect.UpdateHoursOfOperationOutput, error) UpdateHoursOfOperationWithContext(aws.Context, *connect.UpdateHoursOfOperationInput, ...request.Option) (*connect.UpdateHoursOfOperationOutput, error) UpdateHoursOfOperationRequest(*connect.UpdateHoursOfOperationInput) (*request.Request, *connect.UpdateHoursOfOperationOutput) diff --git a/service/connect/doc.go b/service/connect/doc.go index 63b2d9ed6f1..d50379048e7 100644 --- a/service/connect/doc.go +++ b/service/connect/doc.go @@ -16,9 +16,8 @@ // For more information, see Amazon Connect Service Quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) // in the Amazon Connect Administrator Guide. // -// You can connect programmatically to an Amazon Web Services service by using -// an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints -// (https://docs.aws.amazon.com/general/latest/gr/connect_region.html). +// You can connect programmatically to an AWS service by using an endpoint. +// For a list of Amazon Connect endpoints, see Amazon Connect Endpoints (https://docs.aws.amazon.com/general/latest/gr/connect_region.html). // // Working with contact flows? Check out the Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/adminguide/flow-language.html). // diff --git a/service/devopsguru/api.go b/service/devopsguru/api.go index 583e2845ac4..343d0470bdc 100644 --- a/service/devopsguru/api.go +++ b/service/devopsguru/api.go @@ -67,10 +67,10 @@ func (c *DevOpsGuru) AddNotificationChannelRequest(input *AddNotificationChannel // SNS in your account. For more information, see Permissions for cross account // Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html). // -// If you use an Amazon SNS topic that is encrypted by an AWS Key Management -// Service customer-managed key (CMK), then you must add permissions to the -// CMK. For more information, see Permissions for AWS KMS–encrypted Amazon -// SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). +// If you use an Amazon SNS topic that is encrypted by an Amazon Web Services +// Key Management Service customer-managed key (CMK), then you must add permissions +// to the CMK. For more information, see Permissions for Amazon Web Services +// KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -173,8 +173,9 @@ func (c *DevOpsGuru) DescribeAccountHealthRequest(input *DescribeAccountHealthIn // DescribeAccountHealth API operation for Amazon DevOps Guru. // // Returns the number of open reactive insights, the number of open proactive -// insights, and the number of metrics analyzed in your AWS account. Use these -// numbers to gauge the health of operations in your AWS account. +// insights, and the number of metrics analyzed in your Amazon Web Services +// account. Use these numbers to gauge the health of operations in your Amazon +// Web Services account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -458,8 +459,8 @@ func (c *DevOpsGuru) DescribeFeedbackRequest(input *DescribeFeedbackInput) (req // DescribeFeedback API operation for Amazon DevOps Guru. // -// Returns the most recent feedback submitted in the current AWS account and -// Region. +// Returns the most recent feedback submitted in the current Amazon Web Services +// account and Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -607,6 +608,347 @@ func (c *DevOpsGuru) DescribeInsightWithContext(ctx aws.Context, input *Describe return out, req.Send() } +const opDescribeOrganizationHealth = "DescribeOrganizationHealth" + +// DescribeOrganizationHealthRequest generates a "aws/request.Request" representing the +// client's request for the DescribeOrganizationHealth operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeOrganizationHealth for more information on using the DescribeOrganizationHealth +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeOrganizationHealthRequest method. +// req, resp := client.DescribeOrganizationHealthRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth +func (c *DevOpsGuru) DescribeOrganizationHealthRequest(input *DescribeOrganizationHealthInput) (req *request.Request, output *DescribeOrganizationHealthOutput) { + op := &request.Operation{ + Name: opDescribeOrganizationHealth, + HTTPMethod: "POST", + HTTPPath: "/organization/health", + } + + if input == nil { + input = &DescribeOrganizationHealthInput{} + } + + output = &DescribeOrganizationHealthOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeOrganizationHealth API operation for Amazon DevOps Guru. +// +// Returns active insights, predictive insights, and resource hours analyzed +// in last hour. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DevOps Guru's +// API operation DescribeOrganizationHealth for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// * InternalServerException +// An internal failure in an Amazon service occurred. +// +// * ThrottlingException +// The request was denied due to a request throttling. +// +// * ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth +func (c *DevOpsGuru) DescribeOrganizationHealth(input *DescribeOrganizationHealthInput) (*DescribeOrganizationHealthOutput, error) { + req, out := c.DescribeOrganizationHealthRequest(input) + return out, req.Send() +} + +// DescribeOrganizationHealthWithContext is the same as DescribeOrganizationHealth with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeOrganizationHealth for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) DescribeOrganizationHealthWithContext(ctx aws.Context, input *DescribeOrganizationHealthInput, opts ...request.Option) (*DescribeOrganizationHealthOutput, error) { + req, out := c.DescribeOrganizationHealthRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeOrganizationOverview = "DescribeOrganizationOverview" + +// DescribeOrganizationOverviewRequest generates a "aws/request.Request" representing the +// client's request for the DescribeOrganizationOverview operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeOrganizationOverview for more information on using the DescribeOrganizationOverview +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeOrganizationOverviewRequest method. +// req, resp := client.DescribeOrganizationOverviewRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationOverview +func (c *DevOpsGuru) DescribeOrganizationOverviewRequest(input *DescribeOrganizationOverviewInput) (req *request.Request, output *DescribeOrganizationOverviewOutput) { + op := &request.Operation{ + Name: opDescribeOrganizationOverview, + HTTPMethod: "POST", + HTTPPath: "/organization/overview", + } + + if input == nil { + input = &DescribeOrganizationOverviewInput{} + } + + output = &DescribeOrganizationOverviewOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeOrganizationOverview API operation for Amazon DevOps Guru. +// +// Returns an overview of your organization's history based on the specified +// time range. The overview includes the total reactive and proactive insights. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DevOps Guru's +// API operation DescribeOrganizationOverview for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// * InternalServerException +// An internal failure in an Amazon service occurred. +// +// * ThrottlingException +// The request was denied due to a request throttling. +// +// * ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationOverview +func (c *DevOpsGuru) DescribeOrganizationOverview(input *DescribeOrganizationOverviewInput) (*DescribeOrganizationOverviewOutput, error) { + req, out := c.DescribeOrganizationOverviewRequest(input) + return out, req.Send() +} + +// DescribeOrganizationOverviewWithContext is the same as DescribeOrganizationOverview with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeOrganizationOverview for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) DescribeOrganizationOverviewWithContext(ctx aws.Context, input *DescribeOrganizationOverviewInput, opts ...request.Option) (*DescribeOrganizationOverviewOutput, error) { + req, out := c.DescribeOrganizationOverviewRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeOrganizationResourceCollectionHealth = "DescribeOrganizationResourceCollectionHealth" + +// DescribeOrganizationResourceCollectionHealthRequest generates a "aws/request.Request" representing the +// client's request for the DescribeOrganizationResourceCollectionHealth operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeOrganizationResourceCollectionHealth for more information on using the DescribeOrganizationResourceCollectionHealth +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeOrganizationResourceCollectionHealthRequest method. +// req, resp := client.DescribeOrganizationResourceCollectionHealthRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth +func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthRequest(input *DescribeOrganizationResourceCollectionHealthInput) (req *request.Request, output *DescribeOrganizationResourceCollectionHealthOutput) { + op := &request.Operation{ + Name: opDescribeOrganizationResourceCollectionHealth, + HTTPMethod: "POST", + HTTPPath: "/organization/health/resource-collection/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeOrganizationResourceCollectionHealthInput{} + } + + output = &DescribeOrganizationResourceCollectionHealthOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeOrganizationResourceCollectionHealth API operation for Amazon DevOps Guru. +// +// Provides an overview of your system's health. If additional member accounts +// are part of your organization, you can filter those accounts using the AccountIds +// field. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DevOps Guru's +// API operation DescribeOrganizationResourceCollectionHealth for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// * InternalServerException +// An internal failure in an Amazon service occurred. +// +// * ThrottlingException +// The request was denied due to a request throttling. +// +// * ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth +func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealth(input *DescribeOrganizationResourceCollectionHealthInput) (*DescribeOrganizationResourceCollectionHealthOutput, error) { + req, out := c.DescribeOrganizationResourceCollectionHealthRequest(input) + return out, req.Send() +} + +// DescribeOrganizationResourceCollectionHealthWithContext is the same as DescribeOrganizationResourceCollectionHealth with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeOrganizationResourceCollectionHealth for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthWithContext(ctx aws.Context, input *DescribeOrganizationResourceCollectionHealthInput, opts ...request.Option) (*DescribeOrganizationResourceCollectionHealthOutput, error) { + req, out := c.DescribeOrganizationResourceCollectionHealthRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeOrganizationResourceCollectionHealthPages iterates over the pages of a DescribeOrganizationResourceCollectionHealth operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeOrganizationResourceCollectionHealth method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeOrganizationResourceCollectionHealth operation. +// pageNum := 0 +// err := client.DescribeOrganizationResourceCollectionHealthPages(params, +// func(page *devopsguru.DescribeOrganizationResourceCollectionHealthOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthPages(input *DescribeOrganizationResourceCollectionHealthInput, fn func(*DescribeOrganizationResourceCollectionHealthOutput, bool) bool) error { + return c.DescribeOrganizationResourceCollectionHealthPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeOrganizationResourceCollectionHealthPagesWithContext same as DescribeOrganizationResourceCollectionHealthPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthPagesWithContext(ctx aws.Context, input *DescribeOrganizationResourceCollectionHealthInput, fn func(*DescribeOrganizationResourceCollectionHealthOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeOrganizationResourceCollectionHealthInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeOrganizationResourceCollectionHealthRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeOrganizationResourceCollectionHealthOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeResourceCollectionHealth = "DescribeResourceCollectionHealth" // DescribeResourceCollectionHealthRequest generates a "aws/request.Request" representing the @@ -659,10 +1001,11 @@ func (c *DevOpsGuru) DescribeResourceCollectionHealthRequest(input *DescribeReso // // Returns the number of open proactive insights, open reactive insights, and // the Mean Time to Recover (MTTR) for all closed insights in resource collections -// in your account. You specify the type of AWS resources collection. The one -// type of AWS resource collection supported is AWS CloudFormation stacks. DevOps -// Guru can be configured to analyze only the AWS resources that are defined -// in the stacks. You can specify up to 500 AWS CloudFormation stacks. +// in your account. You specify the type of Amazon Web Services resources collection. +// The one type of Amazon Web Services resource collection supported is Amazon +// Web Services CloudFormation stacks. DevOps Guru can be configured to analyze +// only the Amazon Web Services resources that are defined in the stacks. You +// can specify up to 500 Amazon Web Services CloudFormation stacks. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -808,8 +1151,9 @@ func (c *DevOpsGuru) DescribeServiceIntegrationRequest(input *DescribeServiceInt // DescribeServiceIntegration API operation for Amazon DevOps Guru. // // Returns the integration status of services that are integrated with DevOps -// Guru. The one service that can be integrated with DevOps Guru is AWS Systems -// Manager, which can be used to create an OpsItem for each generated insight. +// Guru. The one service that can be integrated with DevOps Guru is Amazon Web +// Services Systems Manager, which can be used to create an OpsItem for each +// generated insight. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -908,9 +1252,9 @@ func (c *DevOpsGuru) GetCostEstimationRequest(input *GetCostEstimationInput) (re // GetCostEstimation API operation for Amazon DevOps Guru. // -// Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS -// resources. For more information, see Estimate your Amazon DevOps Guru costs -// (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html) +// Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon +// Web Services resources. For more information, see Estimate your Amazon DevOps +// Guru costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html) // and Amazon DevOps Guru pricing (http://aws.amazon.com/devops-guru/pricing/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1065,10 +1409,12 @@ func (c *DevOpsGuru) GetResourceCollectionRequest(input *GetResourceCollectionIn // GetResourceCollection API operation for Amazon DevOps Guru. // -// Returns lists AWS resources that are of the specified resource collection -// type. The one type of AWS resource collection supported is AWS CloudFormation -// stacks. DevOps Guru can be configured to analyze only the AWS resources that -// are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks. +// Returns lists Amazon Web Services resources that are of the specified resource +// collection type. The one type of Amazon Web Services resource collection +// supported is Amazon Web Services CloudFormation stacks. DevOps Guru can be +// configured to analyze only the Amazon Web Services resources that are defined +// in the stacks. You can specify up to 500 Amazon Web Services CloudFormation +// stacks. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1532,8 +1878,9 @@ func (c *DevOpsGuru) ListInsightsRequest(input *ListInsightsInput) (req *request // ListInsights API operation for Amazon DevOps Guru. // -// Returns a list of insights in your AWS account. You can specify which insights -// are returned by their start time and status (ONGOING, CLOSED, or ANY). +// Returns a list of insights in your Amazon Web Services account. You can specify +// which insights are returned by their start time and status (ONGOING, CLOSED, +// or ANY). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1644,58 +1991,209 @@ const opListNotificationChannels = "ListNotificationChannels" // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See ListNotificationChannels for more information on using the ListNotificationChannels +// See ListNotificationChannels for more information on using the ListNotificationChannels +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListNotificationChannelsRequest method. +// req, resp := client.ListNotificationChannelsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels +func (c *DevOpsGuru) ListNotificationChannelsRequest(input *ListNotificationChannelsInput) (req *request.Request, output *ListNotificationChannelsOutput) { + op := &request.Operation{ + Name: opListNotificationChannels, + HTTPMethod: "POST", + HTTPPath: "/channels", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListNotificationChannelsInput{} + } + + output = &ListNotificationChannelsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListNotificationChannels API operation for Amazon DevOps Guru. +// +// Returns a list of notification channels configured for DevOps Guru. Each +// notification channel is used to notify you when DevOps Guru generates an +// insight that contains information about how to improve your operations. The +// one supported notification channel is Amazon Simple Notification Service +// (Amazon SNS). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DevOps Guru's +// API operation ListNotificationChannels for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// * InternalServerException +// An internal failure in an Amazon service occurred. +// +// * ThrottlingException +// The request was denied due to a request throttling. +// +// * ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels +func (c *DevOpsGuru) ListNotificationChannels(input *ListNotificationChannelsInput) (*ListNotificationChannelsOutput, error) { + req, out := c.ListNotificationChannelsRequest(input) + return out, req.Send() +} + +// ListNotificationChannelsWithContext is the same as ListNotificationChannels with the addition of +// the ability to pass a context and additional request options. +// +// See ListNotificationChannels for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) ListNotificationChannelsWithContext(ctx aws.Context, input *ListNotificationChannelsInput, opts ...request.Option) (*ListNotificationChannelsOutput, error) { + req, out := c.ListNotificationChannelsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListNotificationChannelsPages iterates over the pages of a ListNotificationChannels operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListNotificationChannels method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListNotificationChannels operation. +// pageNum := 0 +// err := client.ListNotificationChannelsPages(params, +// func(page *devopsguru.ListNotificationChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DevOpsGuru) ListNotificationChannelsPages(input *ListNotificationChannelsInput, fn func(*ListNotificationChannelsOutput, bool) bool) error { + return c.ListNotificationChannelsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListNotificationChannelsPagesWithContext same as ListNotificationChannelsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) ListNotificationChannelsPagesWithContext(ctx aws.Context, input *ListNotificationChannelsInput, fn func(*ListNotificationChannelsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListNotificationChannelsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListNotificationChannelsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListNotificationChannelsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListOrganizationInsights = "ListOrganizationInsights" + +// ListOrganizationInsightsRequest generates a "aws/request.Request" representing the +// client's request for the ListOrganizationInsights operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListOrganizationInsights for more information on using the ListOrganizationInsights // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the ListNotificationChannelsRequest method. -// req, resp := client.ListNotificationChannelsRequest(params) +// // Example sending a request using the ListOrganizationInsightsRequest method. +// req, resp := client.ListOrganizationInsightsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels -func (c *DevOpsGuru) ListNotificationChannelsRequest(input *ListNotificationChannelsInput) (req *request.Request, output *ListNotificationChannelsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListOrganizationInsights +func (c *DevOpsGuru) ListOrganizationInsightsRequest(input *ListOrganizationInsightsInput) (req *request.Request, output *ListOrganizationInsightsOutput) { op := &request.Operation{ - Name: opListNotificationChannels, + Name: opListOrganizationInsights, HTTPMethod: "POST", - HTTPPath: "/channels", + HTTPPath: "/organization/insights", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, - LimitToken: "", + LimitToken: "MaxResults", TruncationToken: "", }, } if input == nil { - input = &ListNotificationChannelsInput{} + input = &ListOrganizationInsightsInput{} } - output = &ListNotificationChannelsOutput{} + output = &ListOrganizationInsightsOutput{} req = c.newRequest(op, input, output) return } -// ListNotificationChannels API operation for Amazon DevOps Guru. +// ListOrganizationInsights API operation for Amazon DevOps Guru. // -// Returns a list of notification channels configured for DevOps Guru. Each -// notification channel is used to notify you when DevOps Guru generates an -// insight that contains information about how to improve your operations. The -// one supported notification channel is Amazon Simple Notification Service -// (Amazon SNS). +// Returns a list of insights associated with the account or OU Id. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon DevOps Guru's -// API operation ListNotificationChannels for usage and error information. +// API operation ListOrganizationInsights for usage and error information. // // Returned Error Types: // * AccessDeniedException @@ -1715,65 +2213,65 @@ func (c *DevOpsGuru) ListNotificationChannelsRequest(input *ListNotificationChan // Contains information about data passed in to a field during a request that // is not valid. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels -func (c *DevOpsGuru) ListNotificationChannels(input *ListNotificationChannelsInput) (*ListNotificationChannelsOutput, error) { - req, out := c.ListNotificationChannelsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListOrganizationInsights +func (c *DevOpsGuru) ListOrganizationInsights(input *ListOrganizationInsightsInput) (*ListOrganizationInsightsOutput, error) { + req, out := c.ListOrganizationInsightsRequest(input) return out, req.Send() } -// ListNotificationChannelsWithContext is the same as ListNotificationChannels with the addition of +// ListOrganizationInsightsWithContext is the same as ListOrganizationInsights with the addition of // the ability to pass a context and additional request options. // -// See ListNotificationChannels for details on how to use this API operation. +// See ListOrganizationInsights for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *DevOpsGuru) ListNotificationChannelsWithContext(ctx aws.Context, input *ListNotificationChannelsInput, opts ...request.Option) (*ListNotificationChannelsOutput, error) { - req, out := c.ListNotificationChannelsRequest(input) +func (c *DevOpsGuru) ListOrganizationInsightsWithContext(ctx aws.Context, input *ListOrganizationInsightsInput, opts ...request.Option) (*ListOrganizationInsightsOutput, error) { + req, out := c.ListOrganizationInsightsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListNotificationChannelsPages iterates over the pages of a ListNotificationChannels operation, +// ListOrganizationInsightsPages iterates over the pages of a ListOrganizationInsights operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListNotificationChannels method for more information on how to use this operation. +// See ListOrganizationInsights method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotificationChannels operation. +// // Example iterating over at most 3 pages of a ListOrganizationInsights operation. // pageNum := 0 -// err := client.ListNotificationChannelsPages(params, -// func(page *devopsguru.ListNotificationChannelsOutput, lastPage bool) bool { +// err := client.ListOrganizationInsightsPages(params, +// func(page *devopsguru.ListOrganizationInsightsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *DevOpsGuru) ListNotificationChannelsPages(input *ListNotificationChannelsInput, fn func(*ListNotificationChannelsOutput, bool) bool) error { - return c.ListNotificationChannelsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *DevOpsGuru) ListOrganizationInsightsPages(input *ListOrganizationInsightsInput, fn func(*ListOrganizationInsightsOutput, bool) bool) error { + return c.ListOrganizationInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListNotificationChannelsPagesWithContext same as ListNotificationChannelsPages except +// ListOrganizationInsightsPagesWithContext same as ListOrganizationInsightsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *DevOpsGuru) ListNotificationChannelsPagesWithContext(ctx aws.Context, input *ListNotificationChannelsInput, fn func(*ListNotificationChannelsOutput, bool) bool, opts ...request.Option) error { +func (c *DevOpsGuru) ListOrganizationInsightsPagesWithContext(ctx aws.Context, input *ListOrganizationInsightsInput, fn func(*ListOrganizationInsightsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListNotificationChannelsInput + var inCpy *ListOrganizationInsightsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListNotificationChannelsRequest(inCpy) + req, _ := c.ListOrganizationInsightsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -1781,7 +2279,7 @@ func (c *DevOpsGuru) ListNotificationChannelsPagesWithContext(ctx aws.Context, i } for p.Next() { - if !fn(p.Page().(*ListNotificationChannelsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListOrganizationInsightsOutput), !p.HasNextPage()) { break } } @@ -2196,10 +2694,10 @@ func (c *DevOpsGuru) SearchInsightsRequest(input *SearchInsightsInput) (req *req // SearchInsights API operation for Amazon DevOps Guru. // -// Returns a list of insights in your AWS account. You can specify which insights -// are returned by their start time, one or more statuses (ONGOING, CLOSED, -// and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE -// or PROACTIVE). +// Returns a list of insights in your Amazon Web Services account. You can specify +// which insights are returned by their start time, one or more statuses (ONGOING, +// CLOSED, and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and +// type (REACTIVE or PROACTIVE). // // Use the Filters parameter to specify status and severity search parameters. // Use the Type parameter to specify REACTIVE or PROACTIVE in your search. @@ -2303,6 +2801,163 @@ func (c *DevOpsGuru) SearchInsightsPagesWithContext(ctx aws.Context, input *Sear return p.Err() } +const opSearchOrganizationInsights = "SearchOrganizationInsights" + +// SearchOrganizationInsightsRequest generates a "aws/request.Request" representing the +// client's request for the SearchOrganizationInsights operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See SearchOrganizationInsights for more information on using the SearchOrganizationInsights +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the SearchOrganizationInsightsRequest method. +// req, resp := client.SearchOrganizationInsightsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights +func (c *DevOpsGuru) SearchOrganizationInsightsRequest(input *SearchOrganizationInsightsInput) (req *request.Request, output *SearchOrganizationInsightsOutput) { + op := &request.Operation{ + Name: opSearchOrganizationInsights, + HTTPMethod: "POST", + HTTPPath: "/organization/insights/search", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &SearchOrganizationInsightsInput{} + } + + output = &SearchOrganizationInsightsOutput{} + req = c.newRequest(op, input, output) + return +} + +// SearchOrganizationInsights API operation for Amazon DevOps Guru. +// +// Returns a list of insights in your organization. You can specify which insights +// are returned by their start time, one or more statuses (ONGOING, CLOSED, +// and CLOSED), one or more severities (LOW, MEDIUM, and HIGH), and type (REACTIVE +// or PROACTIVE). +// +// Use the Filters parameter to specify status and severity search parameters. +// Use the Type parameter to specify REACTIVE or PROACTIVE in your search. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon DevOps Guru's +// API operation SearchOrganizationInsights for usage and error information. +// +// Returned Error Types: +// * AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// * InternalServerException +// An internal failure in an Amazon service occurred. +// +// * ThrottlingException +// The request was denied due to a request throttling. +// +// * ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights +func (c *DevOpsGuru) SearchOrganizationInsights(input *SearchOrganizationInsightsInput) (*SearchOrganizationInsightsOutput, error) { + req, out := c.SearchOrganizationInsightsRequest(input) + return out, req.Send() +} + +// SearchOrganizationInsightsWithContext is the same as SearchOrganizationInsights with the addition of +// the ability to pass a context and additional request options. +// +// See SearchOrganizationInsights for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) SearchOrganizationInsightsWithContext(ctx aws.Context, input *SearchOrganizationInsightsInput, opts ...request.Option) (*SearchOrganizationInsightsOutput, error) { + req, out := c.SearchOrganizationInsightsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// SearchOrganizationInsightsPages iterates over the pages of a SearchOrganizationInsights operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See SearchOrganizationInsights method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a SearchOrganizationInsights operation. +// pageNum := 0 +// err := client.SearchOrganizationInsightsPages(params, +// func(page *devopsguru.SearchOrganizationInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *DevOpsGuru) SearchOrganizationInsightsPages(input *SearchOrganizationInsightsInput, fn func(*SearchOrganizationInsightsOutput, bool) bool) error { + return c.SearchOrganizationInsightsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// SearchOrganizationInsightsPagesWithContext same as SearchOrganizationInsightsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *DevOpsGuru) SearchOrganizationInsightsPagesWithContext(ctx aws.Context, input *SearchOrganizationInsightsInput, fn func(*SearchOrganizationInsightsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *SearchOrganizationInsightsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.SearchOrganizationInsightsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*SearchOrganizationInsightsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opStartCostEstimation = "StartCostEstimation" // StartCostEstimationRequest generates a "aws/request.Request" representing the @@ -2348,8 +3003,8 @@ func (c *DevOpsGuru) StartCostEstimationRequest(input *StartCostEstimationInput) // StartCostEstimation API operation for Amazon DevOps Guru. // -// Starts the creation of an estimate of the monthly cost to analyze your AWS -// resources. +// Starts the creation of an estimate of the monthly cost to analyze your Amazon +// Web Services resources. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2450,10 +3105,11 @@ func (c *DevOpsGuru) UpdateResourceCollectionRequest(input *UpdateResourceCollec // UpdateResourceCollection API operation for Amazon DevOps Guru. // // Updates the collection of resources that DevOps Guru analyzes. The one type -// of AWS resource collection supported is AWS CloudFormation stacks. DevOps -// Guru can be configured to analyze only the AWS resources that are defined -// in the stacks. You can specify up to 500 AWS CloudFormation stacks. This -// method also creates the IAM role required for you to use DevOps Guru. +// of Amazon Web Services resource collection supported is Amazon Web Services +// CloudFormation stacks. DevOps Guru can be configured to analyze only the +// Amazon Web Services resources that are defined in the stacks. You can specify +// up to 500 Amazon Web Services CloudFormation stacks. This method also creates +// the IAM role required for you to use DevOps Guru. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2551,9 +3207,9 @@ func (c *DevOpsGuru) UpdateServiceIntegrationRequest(input *UpdateServiceIntegra // UpdateServiceIntegration API operation for Amazon DevOps Guru. // // Enables or disables integration with a service that can be integrated with -// DevOps Guru. The one service that can be integrated with DevOps Guru is AWS -// Systems Manager, which can be used to create an OpsItem for each generated -// insight. +// DevOps Guru. The one service that can be integrated with DevOps Guru is Amazon +// Web Services Systems Manager, which can be used to create an OpsItem for +// each generated insight. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2673,6 +3329,96 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Returns the number of open reactive insights, the number of open proactive +// insights, and the number of metrics analyzed in your Amazon Web Services +// account. Use these numbers to gauge the health of operations in your Amazon +// Web Services account. +type AccountHealth struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account. + AccountId *string `min:"12" type:"string"` + + // Information about the health of the Amazon Web Services resources in your + // account, including the number of open proactive, open reactive insights, + // and the Mean Time to Recover (MTTR) of closed insights. + Insight *AccountInsightHealth `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountHealth) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountHealth) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *AccountHealth) SetAccountId(v string) *AccountHealth { + s.AccountId = &v + return s +} + +// SetInsight sets the Insight field's value. +func (s *AccountHealth) SetInsight(v *AccountInsightHealth) *AccountHealth { + s.Insight = v + return s +} + +// Information about the number of open reactive and proactive insights that +// can be used to gauge the health of your system. +type AccountInsightHealth struct { + _ struct{} `type:"structure"` + + // An integer that specifies the number of open proactive insights in your Amazon + // Web Services account. + OpenProactiveInsights *int64 `type:"integer"` + + // An integer that specifies the number of open reactive insights in your Amazon + // Web Services account. + OpenReactiveInsights *int64 `type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountInsightHealth) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountInsightHealth) GoString() string { + return s.String() +} + +// SetOpenProactiveInsights sets the OpenProactiveInsights field's value. +func (s *AccountInsightHealth) SetOpenProactiveInsights(v int64) *AccountInsightHealth { + s.OpenProactiveInsights = &v + return s +} + +// SetOpenReactiveInsights sets the OpenReactiveInsights field's value. +func (s *AccountInsightHealth) SetOpenReactiveInsights(v int64) *AccountInsightHealth { + s.OpenReactiveInsights = &v + return s +} + type AddNotificationChannelInput struct { _ struct{} `type:"structure"` @@ -2883,10 +3629,10 @@ func (s *AnomalyTimeRange) SetStartTime(v time.Time) *AnomalyTimeRange { return s } -// Information about AWS CloudFormation stacks. You can use up to 500 stacks -// to specify which AWS resources in your account to analyze. For more information, -// see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) -// in the AWS CloudFormation User Guide. +// Information about Amazon Web Services CloudFormation stacks. You can use +// up to 500 stacks to specify which Amazon Web Services resources in your account +// to analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) +// in the Amazon Web Services CloudFormation User Guide. type CloudFormationCollection struct { _ struct{} `type:"structure"` @@ -2918,10 +3664,10 @@ func (s *CloudFormationCollection) SetStackNames(v []*string) *CloudFormationCol return s } -// Information about AWS CloudFormation stacks. You can use up to 500 stacks -// to specify which AWS resources in your account to analyze. For more information, -// see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) -// in the AWS CloudFormation User Guide. +// Information about Amazon Web Services CloudFormation stacks. You can use +// up to 500 stacks to specify which Amazon Web Services resources in your account +// to analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) +// in the Amazon Web Services CloudFormation User Guide. type CloudFormationCollectionFilter struct { _ struct{} `type:"structure"` @@ -2953,12 +3699,12 @@ func (s *CloudFormationCollectionFilter) SetStackNames(v []*string) *CloudFormat return s } -// Information about an AWS CloudFormation stack used to create a monthly cost -// estimate for DevOps Guru to analyze AWS resources. The maximum number of -// stacks you can specify for a cost estimate is one. The estimate created is -// for the cost to analyze the AWS resources defined by the stack. For more -// information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) -// in the AWS CloudFormation User Guide. +// Information about an Amazon Web Services CloudFormation stack used to create +// a monthly cost estimate for DevOps Guru to analyze Amazon Web Services resources. +// The maximum number of stacks you can specify for a cost estimate is one. +// The estimate created is for the cost to analyze the Amazon Web Services resources +// defined by the stack. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) +// in the Amazon Web Services CloudFormation User Guide. type CloudFormationCostEstimationResourceCollectionFilter struct { _ struct{} `type:"structure"` @@ -3003,14 +3749,15 @@ func (s *CloudFormationCostEstimationResourceCollectionFilter) SetStackNames(v [ return s } -// Information about the health of AWS resources in your account that are specified -// by an AWS CloudFormation stack. +// Information about the health of Amazon Web Services resources in your account +// that are specified by an Amazon Web Services CloudFormation stack. type CloudFormationHealth struct { _ struct{} `type:"structure"` - // Information about the health of the AWS resources in your account that are - // specified by an AWS CloudFormation stack, including the number of open proactive, - // open reactive insights, and the Mean Time to Recover (MTTR) of closed insights. + // Information about the health of the Amazon Web Services resources in your + // account that are specified by an Amazon Web Services CloudFormation stack, + // including the number of open proactive, open reactive insights, and the Mean + // Time to Recover (MTTR) of closed insights. Insight *InsightHealth `type:"structure"` // The name of the CloudFormation stack. @@ -3047,6 +3794,49 @@ func (s *CloudFormationHealth) SetStackName(v string) *CloudFormationHealth { return s } +// Contains information about the analyzed metrics that displayed anomalous +// behavior. +type CloudWatchMetricsDataSummary struct { + _ struct{} `type:"structure"` + + // This is enum of the status showing whether the metric value pair list has + // Partial or Complete data or there was an error. + StatusCode *string `type:"string" enum:"CloudWatchMetricDataStatusCode"` + + // This is a list of cloudwatch metric values at given timestamp. + TimestampMetricValuePairList []*TimestampMetricValuePair `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudWatchMetricsDataSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CloudWatchMetricsDataSummary) GoString() string { + return s.String() +} + +// SetStatusCode sets the StatusCode field's value. +func (s *CloudWatchMetricsDataSummary) SetStatusCode(v string) *CloudWatchMetricsDataSummary { + s.StatusCode = &v + return s +} + +// SetTimestampMetricValuePairList sets the TimestampMetricValuePairList field's value. +func (s *CloudWatchMetricsDataSummary) SetTimestampMetricValuePairList(v []*TimestampMetricValuePair) *CloudWatchMetricsDataSummary { + s.TimestampMetricValuePairList = v + return s +} + // Information about an Amazon CloudWatch metric. type CloudWatchMetricsDetail struct { _ struct{} `type:"structure"` @@ -3054,6 +3844,9 @@ type CloudWatchMetricsDetail struct { // An array of CloudWatch dimensions associated with Dimensions []*CloudWatchMetricsDimension `type:"list"` + // This object returns anomaly metric data. + MetricDataSummary *CloudWatchMetricsDataSummary `type:"structure"` + // The name of the CloudWatch metric. MetricName *string `type:"string"` @@ -3098,6 +3891,12 @@ func (s *CloudWatchMetricsDetail) SetDimensions(v []*CloudWatchMetricsDimension) return s } +// SetMetricDataSummary sets the MetricDataSummary field's value. +func (s *CloudWatchMetricsDetail) SetMetricDataSummary(v *CloudWatchMetricsDataSummary) *CloudWatchMetricsDetail { + s.MetricDataSummary = v + return s +} + // SetMetricName sets the MetricName field's value. func (s *CloudWatchMetricsDetail) SetMetricName(v string) *CloudWatchMetricsDetail { s.MetricName = &v @@ -3181,12 +3980,12 @@ type ConflictException struct { Message_ *string `locationName:"Message" type:"string"` - // The ID of the AWS resource in which a conflict occurred. + // The ID of the Amazon Web Services resource in which a conflict occurred. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` - // The type of the AWS resource in which a conflict occurred. + // The type of the Amazon Web Services resource in which a conflict occurred. // // ResourceType is a required field ResourceType *string `type:"string" required:"true"` @@ -3248,15 +4047,15 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } -// Information about a filter used to specify which AWS resources are analyzed -// to create a monthly DevOps Guru cost estimate. For more information, see -// Estimate your Amazon DevOps Guru costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html) +// Information about a filter used to specify which Amazon Web Services resources +// are analyzed to create a monthly DevOps Guru cost estimate. For more information, +// see Estimate your Amazon DevOps Guru costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html) // and Amazon DevOps Guru pricing (http://aws.amazon.com/devops-guru/pricing/). type CostEstimationResourceCollectionFilter struct { _ struct{} `type:"structure"` - // An object that specifies the CloudFormation stack that defines the AWS resources - // used to create a monthly estimate for DevOps Guru. + // An object that specifies the CloudFormation stack that defines the Amazon + // Web Services resources used to create a monthly estimate for DevOps Guru. CloudFormation *CloudFormationCostEstimationResourceCollectionFilter `type:"structure"` } @@ -3366,25 +4165,25 @@ type DescribeAccountHealthOutput struct { _ struct{} `type:"structure"` // An integer that specifies the number of metrics that have been analyzed in - // your AWS account. + // your Amazon Web Services account. // // MetricsAnalyzed is a required field MetricsAnalyzed *int64 `type:"integer" required:"true"` - // An integer that specifies the number of open proactive insights in your AWS - // account. + // An integer that specifies the number of open proactive insights in your Amazon + // Web Services account. // // OpenProactiveInsights is a required field OpenProactiveInsights *int64 `type:"integer" required:"true"` - // An integer that specifies the number of open reactive insights in your AWS - // account. + // An integer that specifies the number of open reactive insights in your Amazon + // Web Services account. // // OpenReactiveInsights is a required field OpenReactiveInsights *int64 `type:"integer" required:"true"` // The number of Amazon DevOps Guru resource analysis hours billed to the current - // AWS account in the last hour. + // Amazon Web Services account in the last hour. // // ResourceHours is a required field ResourceHours *int64 `type:"long" required:"true"` @@ -3500,14 +4299,14 @@ type DescribeAccountOverviewOutput struct { // MeanTimeToRecoverInMilliseconds is a required field MeanTimeToRecoverInMilliseconds *int64 `type:"long" required:"true"` - // An integer that specifies the number of open proactive insights in your AWS - // account that were created during the time range passed in. + // An integer that specifies the number of open proactive insights in your Amazon + // Web Services account that were created during the time range passed in. // // ProactiveInsights is a required field ProactiveInsights *int64 `type:"integer" required:"true"` - // An integer that specifies the number of open reactive insights in your AWS - // account that were created during the time range passed in. + // An integer that specifies the number of open reactive insights in your Amazon + // Web Services account that were created during the time range passed in. // // ReactiveInsights is a required field ReactiveInsights *int64 `type:"integer" required:"true"` @@ -3552,6 +4351,9 @@ func (s *DescribeAccountOverviewOutput) SetReactiveInsights(v int64) *DescribeAc type DescribeAnomalyInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The ID of the member account. + AccountId *string `location:"querystring" locationName:"AccountId" min:"12" type:"string"` + // The ID of the anomaly. // // Id is a required field @@ -3579,6 +4381,9 @@ func (s DescribeAnomalyInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DescribeAnomalyInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DescribeAnomalyInput"} + if s.AccountId != nil && len(*s.AccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 12)) + } if s.Id == nil { invalidParams.Add(request.NewErrParamRequired("Id")) } @@ -3592,6 +4397,12 @@ func (s *DescribeAnomalyInput) Validate() error { return nil } +// SetAccountId sets the AccountId field's value. +func (s *DescribeAnomalyInput) SetAccountId(v string) *DescribeAnomalyInput { + s.AccountId = &v + return s +} + // SetId sets the Id field's value. func (s *DescribeAnomalyInput) SetId(v string) *DescribeAnomalyInput { s.Id = &v @@ -3626,23 +4437,324 @@ func (s DescribeAnomalyOutput) GoString() string { return s.String() } -// SetProactiveAnomaly sets the ProactiveAnomaly field's value. -func (s *DescribeAnomalyOutput) SetProactiveAnomaly(v *ProactiveAnomaly) *DescribeAnomalyOutput { - s.ProactiveAnomaly = v +// SetProactiveAnomaly sets the ProactiveAnomaly field's value. +func (s *DescribeAnomalyOutput) SetProactiveAnomaly(v *ProactiveAnomaly) *DescribeAnomalyOutput { + s.ProactiveAnomaly = v + return s +} + +// SetReactiveAnomaly sets the ReactiveAnomaly field's value. +func (s *DescribeAnomalyOutput) SetReactiveAnomaly(v *ReactiveAnomaly) *DescribeAnomalyOutput { + s.ReactiveAnomaly = v + return s +} + +type DescribeFeedbackInput struct { + _ struct{} `type:"structure"` + + // The ID of the insight for which the feedback was provided. + InsightId *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFeedbackInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFeedbackInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeFeedbackInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeFeedbackInput"} + if s.InsightId != nil && len(*s.InsightId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InsightId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetInsightId sets the InsightId field's value. +func (s *DescribeFeedbackInput) SetInsightId(v string) *DescribeFeedbackInput { + s.InsightId = &v + return s +} + +type DescribeFeedbackOutput struct { + _ struct{} `type:"structure"` + + // Information about insight feedback received from a customer. + InsightFeedback *InsightFeedback `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFeedbackOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeFeedbackOutput) GoString() string { + return s.String() +} + +// SetInsightFeedback sets the InsightFeedback field's value. +func (s *DescribeFeedbackOutput) SetInsightFeedback(v *InsightFeedback) *DescribeFeedbackOutput { + s.InsightFeedback = v + return s +} + +type DescribeInsightInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the member account in the organization. + AccountId *string `location:"querystring" locationName:"AccountId" min:"12" type:"string"` + + // The ID of the insight. + // + // Id is a required field + Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeInsightInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeInsightInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeInsightInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInsightInput"} + if s.AccountId != nil && len(*s.AccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 12)) + } + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountId sets the AccountId field's value. +func (s *DescribeInsightInput) SetAccountId(v string) *DescribeInsightInput { + s.AccountId = &v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeInsightInput) SetId(v string) *DescribeInsightInput { + s.Id = &v + return s +} + +type DescribeInsightOutput struct { + _ struct{} `type:"structure"` + + // A ProactiveInsight object that represents the requested insight. + ProactiveInsight *ProactiveInsight `type:"structure"` + + // A ReactiveInsight object that represents the requested insight. + ReactiveInsight *ReactiveInsight `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeInsightOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeInsightOutput) GoString() string { + return s.String() +} + +// SetProactiveInsight sets the ProactiveInsight field's value. +func (s *DescribeInsightOutput) SetProactiveInsight(v *ProactiveInsight) *DescribeInsightOutput { + s.ProactiveInsight = v + return s +} + +// SetReactiveInsight sets the ReactiveInsight field's value. +func (s *DescribeInsightOutput) SetReactiveInsight(v *ReactiveInsight) *DescribeInsightOutput { + s.ReactiveInsight = v + return s +} + +type DescribeOrganizationHealthInput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account. + AccountIds []*string `type:"list"` + + // The ID of the organizational unit. + OrganizationalUnitIds []*string `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeOrganizationHealthInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeOrganizationHealthInput) GoString() string { + return s.String() +} + +// SetAccountIds sets the AccountIds field's value. +func (s *DescribeOrganizationHealthInput) SetAccountIds(v []*string) *DescribeOrganizationHealthInput { + s.AccountIds = v + return s +} + +// SetOrganizationalUnitIds sets the OrganizationalUnitIds field's value. +func (s *DescribeOrganizationHealthInput) SetOrganizationalUnitIds(v []*string) *DescribeOrganizationHealthInput { + s.OrganizationalUnitIds = v + return s +} + +type DescribeOrganizationHealthOutput struct { + _ struct{} `type:"structure"` + + // An integer that specifies the number of metrics that have been analyzed in + // your organization. + // + // MetricsAnalyzed is a required field + MetricsAnalyzed *int64 `type:"integer" required:"true"` + + // An integer that specifies the number of open proactive insights in your Amazon + // Web Services account. + // + // OpenProactiveInsights is a required field + OpenProactiveInsights *int64 `type:"integer" required:"true"` + + // An integer that specifies the number of open reactive insights in your Amazon + // Web Services account. + // + // OpenReactiveInsights is a required field + OpenReactiveInsights *int64 `type:"integer" required:"true"` + + // The number of Amazon DevOps Guru resource analysis hours billed to the current + // Amazon Web Services account in the last hour. + // + // ResourceHours is a required field + ResourceHours *int64 `type:"long" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeOrganizationHealthOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeOrganizationHealthOutput) GoString() string { + return s.String() +} + +// SetMetricsAnalyzed sets the MetricsAnalyzed field's value. +func (s *DescribeOrganizationHealthOutput) SetMetricsAnalyzed(v int64) *DescribeOrganizationHealthOutput { + s.MetricsAnalyzed = &v + return s +} + +// SetOpenProactiveInsights sets the OpenProactiveInsights field's value. +func (s *DescribeOrganizationHealthOutput) SetOpenProactiveInsights(v int64) *DescribeOrganizationHealthOutput { + s.OpenProactiveInsights = &v return s } -// SetReactiveAnomaly sets the ReactiveAnomaly field's value. -func (s *DescribeAnomalyOutput) SetReactiveAnomaly(v *ReactiveAnomaly) *DescribeAnomalyOutput { - s.ReactiveAnomaly = v +// SetOpenReactiveInsights sets the OpenReactiveInsights field's value. +func (s *DescribeOrganizationHealthOutput) SetOpenReactiveInsights(v int64) *DescribeOrganizationHealthOutput { + s.OpenReactiveInsights = &v return s } -type DescribeFeedbackInput struct { +// SetResourceHours sets the ResourceHours field's value. +func (s *DescribeOrganizationHealthOutput) SetResourceHours(v int64) *DescribeOrganizationHealthOutput { + s.ResourceHours = &v + return s +} + +type DescribeOrganizationOverviewInput struct { _ struct{} `type:"structure"` - // The ID of the insight for which the feedback was provided. - InsightId *string `min:"1" type:"string"` + // The ID of the Amazon Web Services account. + AccountIds []*string `type:"list"` + + // The start of the time range passed in. The start time granularity is at the + // day level. The floor of the start time is used. Returned information occurred + // after this day. + // + // FromTime is a required field + FromTime *time.Time `type:"timestamp" required:"true"` + + // The ID of the organizational unit. + OrganizationalUnitIds []*string `type:"list"` + + // The end of the time range passed in. The start time granularity is at the + // day level. The floor of the start time is used. Returned information occurred + // before this day. If this is not specified, then the current day is used. + ToTime *time.Time `type:"timestamp"` } // String returns the string representation. @@ -3650,7 +4762,7 @@ type DescribeFeedbackInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeFeedbackInput) String() string { +func (s DescribeOrganizationOverviewInput) String() string { return awsutil.Prettify(s) } @@ -3659,15 +4771,15 @@ func (s DescribeFeedbackInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeFeedbackInput) GoString() string { +func (s DescribeOrganizationOverviewInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeFeedbackInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeFeedbackInput"} - if s.InsightId != nil && len(*s.InsightId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("InsightId", 1)) +func (s *DescribeOrganizationOverviewInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeOrganizationOverviewInput"} + if s.FromTime == nil { + invalidParams.Add(request.NewErrParamRequired("FromTime")) } if invalidParams.Len() > 0 { @@ -3676,17 +4788,44 @@ func (s *DescribeFeedbackInput) Validate() error { return nil } -// SetInsightId sets the InsightId field's value. -func (s *DescribeFeedbackInput) SetInsightId(v string) *DescribeFeedbackInput { - s.InsightId = &v +// SetAccountIds sets the AccountIds field's value. +func (s *DescribeOrganizationOverviewInput) SetAccountIds(v []*string) *DescribeOrganizationOverviewInput { + s.AccountIds = v return s } -type DescribeFeedbackOutput struct { +// SetFromTime sets the FromTime field's value. +func (s *DescribeOrganizationOverviewInput) SetFromTime(v time.Time) *DescribeOrganizationOverviewInput { + s.FromTime = &v + return s +} + +// SetOrganizationalUnitIds sets the OrganizationalUnitIds field's value. +func (s *DescribeOrganizationOverviewInput) SetOrganizationalUnitIds(v []*string) *DescribeOrganizationOverviewInput { + s.OrganizationalUnitIds = v + return s +} + +// SetToTime sets the ToTime field's value. +func (s *DescribeOrganizationOverviewInput) SetToTime(v time.Time) *DescribeOrganizationOverviewInput { + s.ToTime = &v + return s +} + +type DescribeOrganizationOverviewOutput struct { _ struct{} `type:"structure"` - // Information about insight feedback received from a customer. - InsightFeedback *InsightFeedback `type:"structure"` + // An integer that specifies the number of open proactive insights in your Amazon + // Web Services account. + // + // ProactiveInsights is a required field + ProactiveInsights *int64 `type:"integer" required:"true"` + + // An integer that specifies the number of open reactive insights in your Amazon + // Web Services account. + // + // ReactiveInsights is a required field + ReactiveInsights *int64 `type:"integer" required:"true"` } // String returns the string representation. @@ -3694,7 +4833,7 @@ type DescribeFeedbackOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeFeedbackOutput) String() string { +func (s DescribeOrganizationOverviewOutput) String() string { return awsutil.Prettify(s) } @@ -3703,23 +4842,48 @@ func (s DescribeFeedbackOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeFeedbackOutput) GoString() string { +func (s DescribeOrganizationOverviewOutput) GoString() string { return s.String() } -// SetInsightFeedback sets the InsightFeedback field's value. -func (s *DescribeFeedbackOutput) SetInsightFeedback(v *InsightFeedback) *DescribeFeedbackOutput { - s.InsightFeedback = v +// SetProactiveInsights sets the ProactiveInsights field's value. +func (s *DescribeOrganizationOverviewOutput) SetProactiveInsights(v int64) *DescribeOrganizationOverviewOutput { + s.ProactiveInsights = &v return s } -type DescribeInsightInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// SetReactiveInsights sets the ReactiveInsights field's value. +func (s *DescribeOrganizationOverviewOutput) SetReactiveInsights(v int64) *DescribeOrganizationOverviewOutput { + s.ReactiveInsights = &v + return s +} - // The ID of the insight. +type DescribeOrganizationResourceCollectionHealthInput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account. + AccountIds []*string `type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + + // The pagination token to use to retrieve the next page of results for this + // operation. If this value is null, it retrieves the first page. + NextToken *string `min:"36" type:"string"` + + // An Amazon Web Services resource collection type. This type specifies how + // analyzed Amazon Web Services resources are defined. The one type of Amazon + // Web Services resource collection supported is Amazon Web Services CloudFormation + // stacks. DevOps Guru can be configured to analyze only the Amazon Web Services + // resources that are defined in the stacks. You can specify up to 500 Amazon + // Web Services CloudFormation stacks. // - // Id is a required field - Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"` + // OrganizationResourceCollectionType is a required field + OrganizationResourceCollectionType *string `type:"string" required:"true" enum:"OrganizationResourceCollectionType"` + + // The ID of the organizational unit. + OrganizationalUnitIds []*string `type:"list"` } // String returns the string representation. @@ -3727,7 +4891,7 @@ type DescribeInsightInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInsightInput) String() string { +func (s DescribeOrganizationResourceCollectionHealthInput) String() string { return awsutil.Prettify(s) } @@ -3736,18 +4900,21 @@ func (s DescribeInsightInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInsightInput) GoString() string { +func (s DescribeOrganizationResourceCollectionHealthInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeInsightInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeInsightInput"} - if s.Id == nil { - invalidParams.Add(request.NewErrParamRequired("Id")) +func (s *DescribeOrganizationResourceCollectionHealthInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeOrganizationResourceCollectionHealthInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } - if s.Id != nil && len(*s.Id) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + if s.NextToken != nil && len(*s.NextToken) < 36 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 36)) + } + if s.OrganizationResourceCollectionType == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationResourceCollectionType")) } if invalidParams.Len() > 0 { @@ -3756,20 +4923,53 @@ func (s *DescribeInsightInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DescribeInsightInput) SetId(v string) *DescribeInsightInput { - s.Id = &v +// SetAccountIds sets the AccountIds field's value. +func (s *DescribeOrganizationResourceCollectionHealthInput) SetAccountIds(v []*string) *DescribeOrganizationResourceCollectionHealthInput { + s.AccountIds = v return s } -type DescribeInsightOutput struct { +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeOrganizationResourceCollectionHealthInput) SetMaxResults(v int64) *DescribeOrganizationResourceCollectionHealthInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeOrganizationResourceCollectionHealthInput) SetNextToken(v string) *DescribeOrganizationResourceCollectionHealthInput { + s.NextToken = &v + return s +} + +// SetOrganizationResourceCollectionType sets the OrganizationResourceCollectionType field's value. +func (s *DescribeOrganizationResourceCollectionHealthInput) SetOrganizationResourceCollectionType(v string) *DescribeOrganizationResourceCollectionHealthInput { + s.OrganizationResourceCollectionType = &v + return s +} + +// SetOrganizationalUnitIds sets the OrganizationalUnitIds field's value. +func (s *DescribeOrganizationResourceCollectionHealthInput) SetOrganizationalUnitIds(v []*string) *DescribeOrganizationResourceCollectionHealthInput { + s.OrganizationalUnitIds = v + return s +} + +type DescribeOrganizationResourceCollectionHealthOutput struct { _ struct{} `type:"structure"` - // A ProactiveInsight object that represents the requested insight. - ProactiveInsight *ProactiveInsight `type:"structure"` + // The name of the organization's account. + Account []*AccountHealth `type:"list"` - // A ReactiveInsight object that represents the requested insight. - ReactiveInsight *ReactiveInsight `type:"structure"` + // The returned CloudFormationHealthOverview object that contains an InsightHealthOverview + // object with the requested system health information. + CloudFormation []*CloudFormationHealth `type:"list"` + + // The pagination token to use to retrieve the next page of results for this + // operation. If there are no more pages, this value is null. + NextToken *string `min:"36" type:"string"` + + // An array of ServiceHealth objects that describes the health of the Amazon + // Web Services services associated with the resources in the collection. + Service []*ServiceHealth `type:"list"` } // String returns the string representation. @@ -3777,7 +4977,7 @@ type DescribeInsightOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInsightOutput) String() string { +func (s DescribeOrganizationResourceCollectionHealthOutput) String() string { return awsutil.Prettify(s) } @@ -3786,19 +4986,31 @@ func (s DescribeInsightOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DescribeInsightOutput) GoString() string { +func (s DescribeOrganizationResourceCollectionHealthOutput) GoString() string { return s.String() } -// SetProactiveInsight sets the ProactiveInsight field's value. -func (s *DescribeInsightOutput) SetProactiveInsight(v *ProactiveInsight) *DescribeInsightOutput { - s.ProactiveInsight = v +// SetAccount sets the Account field's value. +func (s *DescribeOrganizationResourceCollectionHealthOutput) SetAccount(v []*AccountHealth) *DescribeOrganizationResourceCollectionHealthOutput { + s.Account = v return s } -// SetReactiveInsight sets the ReactiveInsight field's value. -func (s *DescribeInsightOutput) SetReactiveInsight(v *ReactiveInsight) *DescribeInsightOutput { - s.ReactiveInsight = v +// SetCloudFormation sets the CloudFormation field's value. +func (s *DescribeOrganizationResourceCollectionHealthOutput) SetCloudFormation(v []*CloudFormationHealth) *DescribeOrganizationResourceCollectionHealthOutput { + s.CloudFormation = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeOrganizationResourceCollectionHealthOutput) SetNextToken(v string) *DescribeOrganizationResourceCollectionHealthOutput { + s.NextToken = &v + return s +} + +// SetService sets the Service field's value. +func (s *DescribeOrganizationResourceCollectionHealthOutput) SetService(v []*ServiceHealth) *DescribeOrganizationResourceCollectionHealthOutput { + s.Service = v return s } @@ -3809,10 +5021,12 @@ type DescribeResourceCollectionHealthInput struct { // operation. If this value is null, it retrieves the first page. NextToken *string `location:"querystring" locationName:"NextToken" min:"36" type:"string"` - // An AWS resource collection type. This type specifies how analyzed AWS resources - // are defined. The one type of AWS resource collection supported is AWS CloudFormation - // stacks. DevOps Guru can be configured to analyze only the AWS resources that - // are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks. + // An Amazon Web Services resource collection type. This type specifies how + // analyzed Amazon Web Services resources are defined. The one type of Amazon + // Web Services resource collection supported is Amazon Web Services CloudFormation + // stacks. DevOps Guru can be configured to analyze only the Amazon Web Services + // resources that are defined in the stacks. You can specify up to 500 Amazon + // Web Services CloudFormation stacks. // // ResourceCollectionType is a required field ResourceCollectionType *string `location:"uri" locationName:"ResourceCollectionType" type:"string" required:"true" enum:"ResourceCollectionType"` @@ -3880,8 +5094,8 @@ type DescribeResourceCollectionHealthOutput struct { // operation. If there are no more pages, this value is null. NextToken *string `min:"36" type:"string"` - // An array of ServiceHealth objects that describes the health of the AWS services - // associated with the resources in the collection. + // An array of ServiceHealth objects that describes the health of the Amazon + // Web Services services associated with the resources in the collection. Service []*ServiceHealth `type:"list"` } @@ -3946,8 +5160,8 @@ func (s DescribeServiceIntegrationInput) GoString() string { type DescribeServiceIntegrationOutput struct { _ struct{} `type:"structure"` - // Information about the integration of DevOps Guru with another AWS service, - // such as AWS Systems Manager. + // Information about the integration of DevOps Guru with another Amazon Web + // Services service, such as Amazon Web Services Systems Manager. ServiceIntegration *ServiceIntegrationConfig `type:"structure"` } @@ -4017,9 +5231,9 @@ func (s *EndTimeRange) SetToTime(v time.Time) *EndTimeRange { return s } -// An AWS resource event. AWS resource events and metrics are analyzed by DevOps -// Guru to find anomalous behavior and provide recommendations to improve your -// operational solutions. +// An Amazon Web Services resource event. Amazon Web Services resource events +// and metrics are analyzed by DevOps Guru to find anomalous behavior and provide +// recommendations to improve your operational solutions. type Event struct { _ struct{} `type:"structure"` @@ -4031,7 +5245,7 @@ type Event struct { // such as an infrastructure change, a deployment, or a schema change. EventClass *string `type:"string" enum:"EventClass"` - // The AWS source that emitted the event. + // The Amazon Web Services source that emitted the event. EventSource *string `min:"10" type:"string"` // The ID of the event. @@ -4040,10 +5254,11 @@ type Event struct { // The name of the event. Name *string `type:"string"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` // An EventResource object that contains information about the resource that @@ -4120,9 +5335,9 @@ func (s *Event) SetTime(v time.Time) *Event { return s } -// The AWS resource that emitted an event. AWS resource events and metrics are -// analyzed by DevOps Guru to find anomalous behavior and provide recommendations -// to improve your operational solutions. +// The Amazon Web Services resource that emitted an event. Amazon Web Services +// resource events and metrics are analyzed by DevOps Guru to find anomalous +// behavior and provide recommendations to improve your operational solutions. type EventResource struct { _ struct{} `type:"structure"` @@ -4172,9 +5387,10 @@ func (s *EventResource) SetType(v string) *EventResource { return s } -// The time range during which an AWS event occurred. AWS resource events and -// metrics are analyzed by DevOps Guru to find anomalous behavior and provide -// recommendations to improve your operational solutions. +// The time range during which an Amazon Web Services event occurred. Amazon +// Web Services resource events and metrics are analyzed by DevOps Guru to find +// anomalous behavior and provide recommendations to improve your operational +// solutions. type EventTimeRange struct { _ struct{} `type:"structure"` @@ -4284,15 +5500,15 @@ type GetCostEstimationOutput struct { _ struct{} `type:"structure"` // An array of ResourceCost objects that each contains details about the monthly - // cost estimate to analyze one of your AWS resources. + // cost estimate to analyze one of your Amazon Web Services resources. Costs []*ServiceResourceCost `type:"list"` // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string `min:"36" type:"string"` - // The collection of the AWS resources used to create your monthly DevOps Guru - // cost estimate. + // The collection of the Amazon Web Services resources used to create your monthly + // DevOps Guru cost estimate. ResourceCollection *CostEstimationResourceCollectionFilter `type:"structure"` // The status of creating this cost estimate. If it's still in progress, the @@ -4302,9 +5518,9 @@ type GetCostEstimationOutput struct { // The start and end time of the cost estimation. TimeRange *CostEstimationTimeRange `type:"structure"` - // The estimated monthly cost to analyze the AWS resources. This value is the - // sum of the estimated costs to analyze each resource in the Costs object in - // this response. + // The estimated monthly cost to analyze the Amazon Web Services resources. + // This value is the sum of the estimated costs to analyze each resource in + // the Costs object in this response. TotalCost *float64 `type:"double"` } @@ -4369,8 +5585,8 @@ type GetResourceCollectionInput struct { // operation. If this value is null, it retrieves the first page. NextToken *string `location:"querystring" locationName:"NextToken" min:"36" type:"string"` - // The type of AWS resource collections to return. The one valid value is CLOUD_FORMATION - // for AWS CloudFormation stacks. + // The type of Amazon Web Services resource collections to return. The one valid + // value is CLOUD_FORMATION for Amazon Web Services CloudFormation stacks. // // ResourceCollectionType is a required field ResourceCollectionType *string `location:"uri" locationName:"ResourceCollectionType" type:"string" required:"true" enum:"ResourceCollectionType"` @@ -4432,10 +5648,11 @@ type GetResourceCollectionOutput struct { // operation. If there are no more pages, this value is null. NextToken *string `min:"36" type:"string"` - // The requested list of AWS resource collections. The one type of AWS resource - // collection supported is AWS CloudFormation stacks. DevOps Guru can be configured - // to analyze only the AWS resources that are defined in the stacks. You can - // specify up to 500 AWS CloudFormation stacks. + // The requested list of Amazon Web Services resource collections. The one type + // of Amazon Web Services resource collection supported is Amazon Web Services + // CloudFormation stacks. DevOps Guru can be configured to analyze only the + // Amazon Web Services resources that are defined in the stacks. You can specify + // up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollectionFilter `type:"structure"` } @@ -4689,6 +5906,9 @@ func (s *InternalServerException) RequestID() string { type ListAnomaliesForInsightInput struct { _ struct{} `type:"structure"` + // The ID of the Amazon Web Services account. + AccountId *string `min:"12" type:"string"` + // The ID of the insight. The returned anomalies belong to this insight. // // InsightId is a required field @@ -4728,6 +5948,9 @@ func (s ListAnomaliesForInsightInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ListAnomaliesForInsightInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListAnomaliesForInsightInput"} + if s.AccountId != nil && len(*s.AccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 12)) + } if s.InsightId == nil { invalidParams.Add(request.NewErrParamRequired("InsightId")) } @@ -4747,6 +5970,12 @@ func (s *ListAnomaliesForInsightInput) Validate() error { return nil } +// SetAccountId sets the AccountId field's value. +func (s *ListAnomaliesForInsightInput) SetAccountId(v string) *ListAnomaliesForInsightInput { + s.AccountId = &v + return s +} + // SetInsightId sets the InsightId field's value. func (s *ListAnomaliesForInsightInput) SetInsightId(v string) *ListAnomaliesForInsightInput { s.InsightId = &v @@ -4834,7 +6063,8 @@ type ListEventsFilters struct { // change, a deployment, or a schema change. EventClass *string `type:"string" enum:"EventClass"` - // The AWS source that emitted the events you want to filter for. + // The Amazon Web Services source that emitted the events you want to filter + // for. EventSource *string `min:"10" type:"string"` // A time range during which you want the filtered events to have occurred. @@ -4843,10 +6073,11 @@ type ListEventsFilters struct { // An ID of an insight that is related to the events you want to filter for. InsightId *string `min:"1" type:"string"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` } @@ -4928,6 +6159,9 @@ func (s *ListEventsFilters) SetResourceCollection(v *ResourceCollection) *ListEv type ListEventsInput struct { _ struct{} `type:"structure"` + // The ID of the Amazon Web Services account. + AccountId *string `min:"12" type:"string"` + // A ListEventsFilters object used to specify which events to return. // // Filters is a required field @@ -4963,6 +6197,9 @@ func (s ListEventsInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ListEventsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListEventsInput"} + if s.AccountId != nil && len(*s.AccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 12)) + } if s.Filters == nil { invalidParams.Add(request.NewErrParamRequired("Filters")) } @@ -4984,6 +6221,12 @@ func (s *ListEventsInput) Validate() error { return nil } +// SetAccountId sets the AccountId field's value. +func (s *ListEventsInput) SetAccountId(v string) *ListEventsInput { + s.AccountId = &v + return s +} + // SetFilters sets the Filters field's value. func (s *ListEventsInput) SetFilters(v *ListEventsFilters) *ListEventsInput { s.Filters = v @@ -5414,18 +6657,119 @@ func (s *ListInsightsStatusFilter) SetClosed(v *ListInsightsClosedStatusFilter) return s } -// SetOngoing sets the Ongoing field's value. -func (s *ListInsightsStatusFilter) SetOngoing(v *ListInsightsOngoingStatusFilter) *ListInsightsStatusFilter { - s.Ongoing = v +// SetOngoing sets the Ongoing field's value. +func (s *ListInsightsStatusFilter) SetOngoing(v *ListInsightsOngoingStatusFilter) *ListInsightsStatusFilter { + s.Ongoing = v + return s +} + +type ListNotificationChannelsInput struct { + _ struct{} `type:"structure"` + + // The pagination token to use to retrieve the next page of results for this + // operation. If this value is null, it retrieves the first page. + NextToken *string `min:"36" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListNotificationChannelsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListNotificationChannelsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListNotificationChannelsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListNotificationChannelsInput"} + if s.NextToken != nil && len(*s.NextToken) < 36 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNextToken sets the NextToken field's value. +func (s *ListNotificationChannelsInput) SetNextToken(v string) *ListNotificationChannelsInput { + s.NextToken = &v + return s +} + +type ListNotificationChannelsOutput struct { + _ struct{} `type:"structure"` + + // An array that contains the requested notification channels. + Channels []*NotificationChannel `type:"list"` + + // The pagination token to use to retrieve the next page of results for this + // operation. If there are no more pages, this value is null. + NextToken *string `min:"36" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListNotificationChannelsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListNotificationChannelsOutput) GoString() string { + return s.String() +} + +// SetChannels sets the Channels field's value. +func (s *ListNotificationChannelsOutput) SetChannels(v []*NotificationChannel) *ListNotificationChannelsOutput { + s.Channels = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListNotificationChannelsOutput) SetNextToken(v string) *ListNotificationChannelsOutput { + s.NextToken = &v return s } -type ListNotificationChannelsInput struct { +type ListOrganizationInsightsInput struct { _ struct{} `type:"structure"` + // The ID of the Amazon Web Services account. + AccountIds []*string `type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + // The pagination token to use to retrieve the next page of results for this // operation. If this value is null, it retrieves the first page. NextToken *string `min:"36" type:"string"` + + // The ID of the organizational unit. + OrganizationalUnitIds []*string `type:"list"` + + // A filter used by ListInsights to specify which insights to return. + // + // StatusFilter is a required field + StatusFilter *ListInsightsStatusFilter `type:"structure" required:"true"` } // String returns the string representation. @@ -5433,7 +6777,7 @@ type ListNotificationChannelsInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListNotificationChannelsInput) String() string { +func (s ListOrganizationInsightsInput) String() string { return awsutil.Prettify(s) } @@ -5442,16 +6786,27 @@ func (s ListNotificationChannelsInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListNotificationChannelsInput) GoString() string { +func (s ListOrganizationInsightsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListNotificationChannelsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListNotificationChannelsInput"} +func (s *ListOrganizationInsightsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOrganizationInsightsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } if s.NextToken != nil && len(*s.NextToken) < 36 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 36)) } + if s.StatusFilter == nil { + invalidParams.Add(request.NewErrParamRequired("StatusFilter")) + } + if s.StatusFilter != nil { + if err := s.StatusFilter.Validate(); err != nil { + invalidParams.AddNested("StatusFilter", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5459,21 +6814,50 @@ func (s *ListNotificationChannelsInput) Validate() error { return nil } +// SetAccountIds sets the AccountIds field's value. +func (s *ListOrganizationInsightsInput) SetAccountIds(v []*string) *ListOrganizationInsightsInput { + s.AccountIds = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListOrganizationInsightsInput) SetMaxResults(v int64) *ListOrganizationInsightsInput { + s.MaxResults = &v + return s +} + // SetNextToken sets the NextToken field's value. -func (s *ListNotificationChannelsInput) SetNextToken(v string) *ListNotificationChannelsInput { +func (s *ListOrganizationInsightsInput) SetNextToken(v string) *ListOrganizationInsightsInput { s.NextToken = &v return s } -type ListNotificationChannelsOutput struct { - _ struct{} `type:"structure"` +// SetOrganizationalUnitIds sets the OrganizationalUnitIds field's value. +func (s *ListOrganizationInsightsInput) SetOrganizationalUnitIds(v []*string) *ListOrganizationInsightsInput { + s.OrganizationalUnitIds = v + return s +} - // An array that contains the requested notification channels. - Channels []*NotificationChannel `type:"list"` +// SetStatusFilter sets the StatusFilter field's value. +func (s *ListOrganizationInsightsInput) SetStatusFilter(v *ListInsightsStatusFilter) *ListOrganizationInsightsInput { + s.StatusFilter = v + return s +} + +type ListOrganizationInsightsOutput struct { + _ struct{} `type:"structure"` // The pagination token to use to retrieve the next page of results for this // operation. If there are no more pages, this value is null. NextToken *string `min:"36" type:"string"` + + // An integer that specifies the number of open proactive insights in your Amazon + // Web Services account. + ProactiveInsights []*ProactiveOrganizationInsightSummary `type:"list"` + + // An integer that specifies the number of open reactive insights in your Amazon + // Web Services account. + ReactiveInsights []*ReactiveOrganizationInsightSummary `type:"list"` } // String returns the string representation. @@ -5481,7 +6865,7 @@ type ListNotificationChannelsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListNotificationChannelsOutput) String() string { +func (s ListOrganizationInsightsOutput) String() string { return awsutil.Prettify(s) } @@ -5490,25 +6874,34 @@ func (s ListNotificationChannelsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListNotificationChannelsOutput) GoString() string { +func (s ListOrganizationInsightsOutput) GoString() string { return s.String() } -// SetChannels sets the Channels field's value. -func (s *ListNotificationChannelsOutput) SetChannels(v []*NotificationChannel) *ListNotificationChannelsOutput { - s.Channels = v +// SetNextToken sets the NextToken field's value. +func (s *ListOrganizationInsightsOutput) SetNextToken(v string) *ListOrganizationInsightsOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListNotificationChannelsOutput) SetNextToken(v string) *ListNotificationChannelsOutput { - s.NextToken = &v +// SetProactiveInsights sets the ProactiveInsights field's value. +func (s *ListOrganizationInsightsOutput) SetProactiveInsights(v []*ProactiveOrganizationInsightSummary) *ListOrganizationInsightsOutput { + s.ProactiveInsights = v + return s +} + +// SetReactiveInsights sets the ReactiveInsights field's value. +func (s *ListOrganizationInsightsOutput) SetReactiveInsights(v []*ReactiveOrganizationInsightSummary) *ListOrganizationInsightsOutput { + s.ReactiveInsights = v return s } type ListRecommendationsInput struct { _ struct{} `type:"structure"` + // The ID of the Amazon Web Services account. + AccountId *string `min:"12" type:"string"` + // The ID of the requested insight. // // InsightId is a required field @@ -5543,6 +6936,9 @@ func (s ListRecommendationsInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ListRecommendationsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ListRecommendationsInput"} + if s.AccountId != nil && len(*s.AccountId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("AccountId", 12)) + } if s.InsightId == nil { invalidParams.Add(request.NewErrParamRequired("InsightId")) } @@ -5559,6 +6955,12 @@ func (s *ListRecommendationsInput) Validate() error { return nil } +// SetAccountId sets the AccountId field's value. +func (s *ListRecommendationsInput) SetAccountId(v string) *ListRecommendationsInput { + s.AccountId = &v + return s +} + // SetInsightId sets the InsightId field's value. func (s *ListRecommendationsInput) SetInsightId(v string) *ListRecommendationsInput { s.InsightId = &v @@ -5628,10 +7030,10 @@ func (s *ListRecommendationsOutput) SetRecommendations(v []*Recommendation) *Lis // SNS in your account. For more information, see Permissions for cross account // Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html). // -// If you use an Amazon SNS topic that is encrypted by an AWS Key Management -// Service customer-managed key (CMK), then you must add permissions to the -// CMK. For more information, see Permissions for AWS KMS–encrypted Amazon -// SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). +// If you use an Amazon SNS topic that is encrypted by an Amazon Web Services +// Key Management Service customer-managed key (CMK), then you must add permissions +// to the CMK. For more information, see Permissions for Amazon Web Services +// KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). type NotificationChannel struct { _ struct{} `type:"structure"` @@ -5688,10 +7090,10 @@ type NotificationChannelConfig struct { // SNS in your account. For more information, see Permissions for cross account // Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html). // - // If you use an Amazon SNS topic that is encrypted by an AWS Key Management - // Service customer-managed key (CMK), then you must add permissions to the - // CMK. For more information, see Permissions for AWS KMS–encrypted Amazon - // SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). + // If you use an Amazon SNS topic that is encrypted by an Amazon Web Services + // Key Management Service customer-managed key (CMK), then you must add permissions + // to the CMK. For more information, see Permissions for Amazon Web Services + // KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). // // Sns is a required field Sns *SnsChannelConfig `type:"structure" required:"true"` @@ -5740,12 +7142,12 @@ func (s *NotificationChannelConfig) SetSns(v *SnsChannelConfig) *NotificationCha } // Information about whether DevOps Guru is configured to create an OpsItem -// in AWS Systems Manager OpsCenter for each created insight. +// in Amazon Web Services Systems Manager OpsCenter for each created insight. type OpsCenterIntegration struct { _ struct{} `type:"structure"` - // Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem - // for each created insight. + // Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems + // Manager OpsItem for each created insight. OptInStatus *string `type:"string" enum:"OptInStatus"` } @@ -5774,12 +7176,12 @@ func (s *OpsCenterIntegration) SetOptInStatus(v string) *OpsCenterIntegration { } // Information about whether DevOps Guru is configured to create an OpsItem -// in AWS Systems Manager OpsCenter for each created insight. +// in Amazon Web Services Systems Manager OpsCenter for each created insight. type OpsCenterIntegrationConfig struct { _ struct{} `type:"structure"` - // Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem - // for each created insight. + // Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems + // Manager OpsItem for each created insight. OptInStatus *string `type:"string" enum:"OptInStatus"` } @@ -5880,10 +7282,11 @@ type ProactiveAnomaly struct { // an insight is expected to occur. PredictionTimeRange *PredictionTimeRange `type:"structure"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` // The severity of a proactive anomaly. @@ -6012,10 +7415,11 @@ type ProactiveAnomalySummary struct { // an insight is expected to occur. PredictionTimeRange *PredictionTimeRange `type:"structure"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` // The severity of the anomaly. @@ -6134,18 +7538,19 @@ type ProactiveInsight struct { // an insight is expected to occur. PredictionTimeRange *PredictionTimeRange `type:"structure"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` // The severity of the proactive insight. Severity *string `type:"string" enum:"InsightSeverity"` - // The ID of the AWS System Manager OpsItem created for this insight. You must - // enable the creation of OpstItems insights before they are created for each - // insight. + // The ID of the Amazon Web Services System Manager OpsItem created for this + // insight. You must enable the creation of OpstItems insights before they are + // created for each insight. SsmOpsItemId *string `min:"1" type:"string"` // The status of the proactive insight. @@ -6236,13 +7641,14 @@ type ProactiveInsightSummary struct { // an insight is expected to occur. PredictionTimeRange *PredictionTimeRange `type:"structure"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` - // A collection of the names of AWS services. + // A collection of the names of Amazon Web Services services. ServiceCollection *ServiceCollection `type:"structure"` // The severity of the proactive insight. @@ -6318,6 +7724,125 @@ func (s *ProactiveInsightSummary) SetStatus(v string) *ProactiveInsightSummary { return s } +// Details about a proactive insight. This object is returned by DescribeInsight. +type ProactiveOrganizationInsightSummary struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account. + AccountId *string `min:"12" type:"string"` + + // The ID of the insight summary. + Id *string `min:"1" type:"string"` + + // A time ranged that specifies when the observed behavior in an insight started + // and ended. + InsightTimeRange *InsightTimeRange `type:"structure"` + + // The name of the insight summary. + Name *string `min:"1" type:"string"` + + // The ID of the organizational unit. + OrganizationalUnitId *string `type:"string"` + + // The time range during which anomalous behavior in a proactive anomaly or + // an insight is expected to occur. + PredictionTimeRange *PredictionTimeRange `type:"structure"` + + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. + ResourceCollection *ResourceCollection `type:"structure"` + + // A collection of the names of Amazon Web Services services. + ServiceCollection *ServiceCollection `type:"structure"` + + // An array of severity values used to search for insights. + Severity *string `type:"string" enum:"InsightSeverity"` + + // An array of status values used to search for insights. + Status *string `type:"string" enum:"InsightStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProactiveOrganizationInsightSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProactiveOrganizationInsightSummary) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *ProactiveOrganizationInsightSummary) SetAccountId(v string) *ProactiveOrganizationInsightSummary { + s.AccountId = &v + return s +} + +// SetId sets the Id field's value. +func (s *ProactiveOrganizationInsightSummary) SetId(v string) *ProactiveOrganizationInsightSummary { + s.Id = &v + return s +} + +// SetInsightTimeRange sets the InsightTimeRange field's value. +func (s *ProactiveOrganizationInsightSummary) SetInsightTimeRange(v *InsightTimeRange) *ProactiveOrganizationInsightSummary { + s.InsightTimeRange = v + return s +} + +// SetName sets the Name field's value. +func (s *ProactiveOrganizationInsightSummary) SetName(v string) *ProactiveOrganizationInsightSummary { + s.Name = &v + return s +} + +// SetOrganizationalUnitId sets the OrganizationalUnitId field's value. +func (s *ProactiveOrganizationInsightSummary) SetOrganizationalUnitId(v string) *ProactiveOrganizationInsightSummary { + s.OrganizationalUnitId = &v + return s +} + +// SetPredictionTimeRange sets the PredictionTimeRange field's value. +func (s *ProactiveOrganizationInsightSummary) SetPredictionTimeRange(v *PredictionTimeRange) *ProactiveOrganizationInsightSummary { + s.PredictionTimeRange = v + return s +} + +// SetResourceCollection sets the ResourceCollection field's value. +func (s *ProactiveOrganizationInsightSummary) SetResourceCollection(v *ResourceCollection) *ProactiveOrganizationInsightSummary { + s.ResourceCollection = v + return s +} + +// SetServiceCollection sets the ServiceCollection field's value. +func (s *ProactiveOrganizationInsightSummary) SetServiceCollection(v *ServiceCollection) *ProactiveOrganizationInsightSummary { + s.ServiceCollection = v + return s +} + +// SetSeverity sets the Severity field's value. +func (s *ProactiveOrganizationInsightSummary) SetSeverity(v string) *ProactiveOrganizationInsightSummary { + s.Severity = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ProactiveOrganizationInsightSummary) SetStatus(v string) *ProactiveOrganizationInsightSummary { + s.Status = &v + return s +} + type PutFeedbackInput struct { _ struct{} `type:"structure"` @@ -6406,10 +7931,11 @@ type ReactiveAnomaly struct { // The ID of the reactive anomaly. Id *string `min:"1" type:"string"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` // The severity of the anomaly. @@ -6509,10 +8035,11 @@ type ReactiveAnomalySummary struct { // The ID of the reactive anomaly. Id *string `min:"1" type:"string"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` // The severity of the reactive anomaly. @@ -6606,18 +8133,19 @@ type ReactiveInsight struct { // The name of a reactive insight. Name *string `min:"1" type:"string"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` // The severity of a reactive insight. Severity *string `type:"string" enum:"InsightSeverity"` - // The ID of the AWS System Manager OpsItem created for this insight. You must - // enable the creation of OpstItems insights before they are created for each - // insight. + // The ID of the Amazon Web Services System Manager OpsItem created for this + // insight. You must enable the creation of OpstItems insights before they are + // created for each insight. SsmOpsItemId *string `min:"1" type:"string"` // The status of a reactive insight. @@ -6679,38 +8207,136 @@ func (s *ReactiveInsight) SetSsmOpsItemId(v string) *ReactiveInsight { } // SetStatus sets the Status field's value. -func (s *ReactiveInsight) SetStatus(v string) *ReactiveInsight { +func (s *ReactiveInsight) SetStatus(v string) *ReactiveInsight { + s.Status = &v + return s +} + +// Information about a reactive insight. This object is returned by DescribeInsight. +type ReactiveInsightSummary struct { + _ struct{} `type:"structure"` + + // The ID of a reactive summary. + Id *string `min:"1" type:"string"` + + // A time ranged that specifies when the observed behavior in an insight started + // and ended. + InsightTimeRange *InsightTimeRange `type:"structure"` + + // The name of a reactive insight. + Name *string `min:"1" type:"string"` + + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. + ResourceCollection *ResourceCollection `type:"structure"` + + // A collection of the names of Amazon Web Services services. + ServiceCollection *ServiceCollection `type:"structure"` + + // The severity of a reactive insight. + Severity *string `type:"string" enum:"InsightSeverity"` + + // The status of a reactive insight. + Status *string `type:"string" enum:"InsightStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReactiveInsightSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReactiveInsightSummary) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *ReactiveInsightSummary) SetId(v string) *ReactiveInsightSummary { + s.Id = &v + return s +} + +// SetInsightTimeRange sets the InsightTimeRange field's value. +func (s *ReactiveInsightSummary) SetInsightTimeRange(v *InsightTimeRange) *ReactiveInsightSummary { + s.InsightTimeRange = v + return s +} + +// SetName sets the Name field's value. +func (s *ReactiveInsightSummary) SetName(v string) *ReactiveInsightSummary { + s.Name = &v + return s +} + +// SetResourceCollection sets the ResourceCollection field's value. +func (s *ReactiveInsightSummary) SetResourceCollection(v *ResourceCollection) *ReactiveInsightSummary { + s.ResourceCollection = v + return s +} + +// SetServiceCollection sets the ServiceCollection field's value. +func (s *ReactiveInsightSummary) SetServiceCollection(v *ServiceCollection) *ReactiveInsightSummary { + s.ServiceCollection = v + return s +} + +// SetSeverity sets the Severity field's value. +func (s *ReactiveInsightSummary) SetSeverity(v string) *ReactiveInsightSummary { + s.Severity = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ReactiveInsightSummary) SetStatus(v string) *ReactiveInsightSummary { s.Status = &v return s } // Information about a reactive insight. This object is returned by DescribeInsight. -type ReactiveInsightSummary struct { +type ReactiveOrganizationInsightSummary struct { _ struct{} `type:"structure"` - // The ID of a reactive summary. + // The ID of the Amazon Web Services account. + AccountId *string `min:"12" type:"string"` + + // The ID of the insight summary. Id *string `min:"1" type:"string"` // A time ranged that specifies when the observed behavior in an insight started // and ended. InsightTimeRange *InsightTimeRange `type:"structure"` - // The name of a reactive insight. + // The name of the insight summary. Name *string `min:"1" type:"string"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // The ID of the organizational unit. + OrganizationalUnitId *string `type:"string"` + + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` - // A collection of the names of AWS services. + // A collection of the names of Amazon Web Services services. ServiceCollection *ServiceCollection `type:"structure"` - // The severity of a reactive insight. + // An array of severity values used to search for insights. Severity *string `type:"string" enum:"InsightSeverity"` - // The status of a reactive insight. + // An array of status values used to search for insights. Status *string `type:"string" enum:"InsightStatus"` } @@ -6719,7 +8345,7 @@ type ReactiveInsightSummary struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ReactiveInsightSummary) String() string { +func (s ReactiveOrganizationInsightSummary) String() string { return awsutil.Prettify(s) } @@ -6728,48 +8354,60 @@ func (s ReactiveInsightSummary) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ReactiveInsightSummary) GoString() string { +func (s ReactiveOrganizationInsightSummary) GoString() string { return s.String() } +// SetAccountId sets the AccountId field's value. +func (s *ReactiveOrganizationInsightSummary) SetAccountId(v string) *ReactiveOrganizationInsightSummary { + s.AccountId = &v + return s +} + // SetId sets the Id field's value. -func (s *ReactiveInsightSummary) SetId(v string) *ReactiveInsightSummary { +func (s *ReactiveOrganizationInsightSummary) SetId(v string) *ReactiveOrganizationInsightSummary { s.Id = &v return s } // SetInsightTimeRange sets the InsightTimeRange field's value. -func (s *ReactiveInsightSummary) SetInsightTimeRange(v *InsightTimeRange) *ReactiveInsightSummary { +func (s *ReactiveOrganizationInsightSummary) SetInsightTimeRange(v *InsightTimeRange) *ReactiveOrganizationInsightSummary { s.InsightTimeRange = v return s } // SetName sets the Name field's value. -func (s *ReactiveInsightSummary) SetName(v string) *ReactiveInsightSummary { +func (s *ReactiveOrganizationInsightSummary) SetName(v string) *ReactiveOrganizationInsightSummary { s.Name = &v return s } +// SetOrganizationalUnitId sets the OrganizationalUnitId field's value. +func (s *ReactiveOrganizationInsightSummary) SetOrganizationalUnitId(v string) *ReactiveOrganizationInsightSummary { + s.OrganizationalUnitId = &v + return s +} + // SetResourceCollection sets the ResourceCollection field's value. -func (s *ReactiveInsightSummary) SetResourceCollection(v *ResourceCollection) *ReactiveInsightSummary { +func (s *ReactiveOrganizationInsightSummary) SetResourceCollection(v *ResourceCollection) *ReactiveOrganizationInsightSummary { s.ResourceCollection = v return s } // SetServiceCollection sets the ServiceCollection field's value. -func (s *ReactiveInsightSummary) SetServiceCollection(v *ServiceCollection) *ReactiveInsightSummary { +func (s *ReactiveOrganizationInsightSummary) SetServiceCollection(v *ServiceCollection) *ReactiveOrganizationInsightSummary { s.ServiceCollection = v return s } // SetSeverity sets the Severity field's value. -func (s *ReactiveInsightSummary) SetSeverity(v string) *ReactiveInsightSummary { +func (s *ReactiveOrganizationInsightSummary) SetSeverity(v string) *ReactiveOrganizationInsightSummary { s.Severity = &v return s } // SetStatus sets the Status field's value. -func (s *ReactiveInsightSummary) SetStatus(v string) *ReactiveInsightSummary { +func (s *ReactiveOrganizationInsightSummary) SetStatus(v string) *ReactiveOrganizationInsightSummary { s.Status = &v return s } @@ -7022,8 +8660,9 @@ type RecommendationRelatedEvent struct { // The name of the event. This corresponds to the Name field in an Event object. Name *string `type:"string"` - // A ResourceCollection object that contains arrays of the names of AWS CloudFormation - // stacks. You can specify up to 500 AWS CloudFormation stacks. + // A ResourceCollection object that contains arrays of the names of Amazon Web + // Services CloudFormation stacks. You can specify up to 500 Amazon Web Services + // CloudFormation stacks. Resources []*RecommendationRelatedEventResource `type:"list"` } @@ -7057,8 +8696,8 @@ func (s *RecommendationRelatedEvent) SetResources(v []*RecommendationRelatedEven return s } -// Information about an AWS resource that emitted and event that is related -// to a recommendation in an insight. +// Information about an Amazon Web Services resource that emitted and event +// that is related to a recommendation in an insight. type RecommendationRelatedEventResource struct { _ struct{} `type:"structure"` @@ -7172,16 +8811,17 @@ func (s RemoveNotificationChannelOutput) GoString() string { return s.String() } -// A collection of AWS resources supported by DevOps Guru. The one type of AWS -// resource collection supported is AWS CloudFormation stacks. DevOps Guru can -// be configured to analyze only the AWS resources that are defined in the stacks. -// You can specify up to 500 AWS CloudFormation stacks. +// A collection of Amazon Web Services resources supported by DevOps Guru. The +// one type of Amazon Web Services resource collection supported is Amazon Web +// Services CloudFormation stacks. DevOps Guru can be configured to analyze +// only the Amazon Web Services resources that are defined in the stacks. You +// can specify up to 500 Amazon Web Services CloudFormation stacks. type ResourceCollection struct { _ struct{} `type:"structure"` - // An array of the names of AWS CloudFormation stacks. The stacks define AWS - // resources that DevOps Guru analyzes. You can specify up to 500 AWS CloudFormation - // stacks. + // An array of the names of Amazon Web Services CloudFormation stacks. The stacks + // define Amazon Web Services resources that DevOps Guru analyzes. You can specify + // up to 500 Amazon Web Services CloudFormation stacks. CloudFormation *CloudFormationCollection `type:"structure"` } @@ -7209,15 +8849,15 @@ func (s *ResourceCollection) SetCloudFormation(v *CloudFormationCollection) *Res return s } -// Information about a filter used to specify which AWS resources are analyzed -// for anomalous behavior by DevOps Guru. +// Information about a filter used to specify which Amazon Web Services resources +// are analyzed for anomalous behavior by DevOps Guru. type ResourceCollectionFilter struct { _ struct{} `type:"structure"` - // Information about AWS CloudFormation stacks. You can use up to 500 stacks - // to specify which AWS resources in your account to analyze. For more information, - // see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) - // in the AWS CloudFormation User Guide. + // Information about Amazon Web Services CloudFormation stacks. You can use + // up to 500 stacks to specify which Amazon Web Services resources in your account + // to analyze. For more information, see Stacks (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html) + // in the Amazon Web Services CloudFormation User Guide. CloudFormation *CloudFormationCollectionFilter `type:"structure"` } @@ -7252,12 +8892,12 @@ type ResourceNotFoundException struct { Message_ *string `locationName:"Message" type:"string"` - // The ID of the AWS resource that could not be found. + // The ID of the Amazon Web Services resource that could not be found. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` - // The type of the AWS resource that could not be found. + // The type of the Amazon Web Services resource that could not be found. // // ResourceType is a required field ResourceType *string `type:"string" required:"true"` @@ -7324,13 +8964,14 @@ func (s *ResourceNotFoundException) RequestID() string { type SearchInsightsFilters struct { _ struct{} `type:"structure"` - // A collection of AWS resources supported by DevOps Guru. The one type of AWS - // resource collection supported is AWS CloudFormation stacks. DevOps Guru can - // be configured to analyze only the AWS resources that are defined in the stacks. - // You can specify up to 500 AWS CloudFormation stacks. + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. ResourceCollection *ResourceCollection `type:"structure"` - // A collection of the names of AWS services. + // A collection of the names of Amazon Web Services services. ServiceCollection *ServiceCollection `type:"structure"` // An array of severity values used to search for insights. @@ -7529,11 +9170,241 @@ func (s *SearchInsightsOutput) SetReactiveInsights(v []*ReactiveInsightSummary) return s } -// A collection of the names of AWS services. +// Filters you can use to specify which events are returned when ListEvents +// is called. +type SearchOrganizationInsightsFilters struct { + _ struct{} `type:"structure"` + + // A collection of Amazon Web Services resources supported by DevOps Guru. The + // one type of Amazon Web Services resource collection supported is Amazon Web + // Services CloudFormation stacks. DevOps Guru can be configured to analyze + // only the Amazon Web Services resources that are defined in the stacks. You + // can specify up to 500 Amazon Web Services CloudFormation stacks. + ResourceCollection *ResourceCollection `type:"structure"` + + // A collection of the names of Amazon Web Services services. + ServiceCollection *ServiceCollection `type:"structure"` + + // An array of severity values used to search for insights. + Severities []*string `type:"list"` + + // An array of status values used to search for insights. + Statuses []*string `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchOrganizationInsightsFilters) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchOrganizationInsightsFilters) GoString() string { + return s.String() +} + +// SetResourceCollection sets the ResourceCollection field's value. +func (s *SearchOrganizationInsightsFilters) SetResourceCollection(v *ResourceCollection) *SearchOrganizationInsightsFilters { + s.ResourceCollection = v + return s +} + +// SetServiceCollection sets the ServiceCollection field's value. +func (s *SearchOrganizationInsightsFilters) SetServiceCollection(v *ServiceCollection) *SearchOrganizationInsightsFilters { + s.ServiceCollection = v + return s +} + +// SetSeverities sets the Severities field's value. +func (s *SearchOrganizationInsightsFilters) SetSeverities(v []*string) *SearchOrganizationInsightsFilters { + s.Severities = v + return s +} + +// SetStatuses sets the Statuses field's value. +func (s *SearchOrganizationInsightsFilters) SetStatuses(v []*string) *SearchOrganizationInsightsFilters { + s.Statuses = v + return s +} + +type SearchOrganizationInsightsInput struct { + _ struct{} `type:"structure"` + + // The ID of the Amazon Web Services account. + // + // AccountIds is a required field + AccountIds []*string `min:"1" type:"list" required:"true"` + + // A SearchOrganizationInsightsFilters object that is used to set the severity + // and status filters on your insight search. + Filters *SearchOrganizationInsightsFilters `type:"structure"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + + // The pagination token to use to retrieve the next page of results for this + // operation. If this value is null, it retrieves the first page. + NextToken *string `min:"36" type:"string"` + + // A time range used to specify when the behavior of an insight or anomaly started. + // + // StartTimeRange is a required field + StartTimeRange *StartTimeRange `type:"structure" required:"true"` + + // The type of insights you are searching for (REACTIVE or PROACTIVE). + // + // Type is a required field + Type *string `type:"string" required:"true" enum:"InsightType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchOrganizationInsightsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchOrganizationInsightsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SearchOrganizationInsightsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SearchOrganizationInsightsInput"} + if s.AccountIds == nil { + invalidParams.Add(request.NewErrParamRequired("AccountIds")) + } + if s.AccountIds != nil && len(s.AccountIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AccountIds", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 36 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 36)) + } + if s.StartTimeRange == nil { + invalidParams.Add(request.NewErrParamRequired("StartTimeRange")) + } + if s.Type == nil { + invalidParams.Add(request.NewErrParamRequired("Type")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountIds sets the AccountIds field's value. +func (s *SearchOrganizationInsightsInput) SetAccountIds(v []*string) *SearchOrganizationInsightsInput { + s.AccountIds = v + return s +} + +// SetFilters sets the Filters field's value. +func (s *SearchOrganizationInsightsInput) SetFilters(v *SearchOrganizationInsightsFilters) *SearchOrganizationInsightsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *SearchOrganizationInsightsInput) SetMaxResults(v int64) *SearchOrganizationInsightsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchOrganizationInsightsInput) SetNextToken(v string) *SearchOrganizationInsightsInput { + s.NextToken = &v + return s +} + +// SetStartTimeRange sets the StartTimeRange field's value. +func (s *SearchOrganizationInsightsInput) SetStartTimeRange(v *StartTimeRange) *SearchOrganizationInsightsInput { + s.StartTimeRange = v + return s +} + +// SetType sets the Type field's value. +func (s *SearchOrganizationInsightsInput) SetType(v string) *SearchOrganizationInsightsInput { + s.Type = &v + return s +} + +type SearchOrganizationInsightsOutput struct { + _ struct{} `type:"structure"` + + // The pagination token to use to retrieve the next page of results for this + // operation. If there are no more pages, this value is null. + NextToken *string `min:"36" type:"string"` + + // An integer that specifies the number of open proactive insights in your Amazon + // Web Services account. + ProactiveInsights []*ProactiveInsightSummary `type:"list"` + + // An integer that specifies the number of open reactive insights in your Amazon + // Web Services account. + ReactiveInsights []*ReactiveInsightSummary `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchOrganizationInsightsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SearchOrganizationInsightsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *SearchOrganizationInsightsOutput) SetNextToken(v string) *SearchOrganizationInsightsOutput { + s.NextToken = &v + return s +} + +// SetProactiveInsights sets the ProactiveInsights field's value. +func (s *SearchOrganizationInsightsOutput) SetProactiveInsights(v []*ProactiveInsightSummary) *SearchOrganizationInsightsOutput { + s.ProactiveInsights = v + return s +} + +// SetReactiveInsights sets the ReactiveInsights field's value. +func (s *SearchOrganizationInsightsOutput) SetReactiveInsights(v []*ReactiveInsightSummary) *SearchOrganizationInsightsOutput { + s.ReactiveInsights = v + return s +} + +// A collection of the names of Amazon Web Services services. type ServiceCollection struct { _ struct{} `type:"structure"` - // An array of strings that each specifies the name of an AWS service. + // An array of strings that each specifies the name of an Amazon Web Services + // service. ServiceNames []*string `type:"list"` } @@ -7561,15 +9432,16 @@ func (s *ServiceCollection) SetServiceNames(v []*string) *ServiceCollection { return s } -// Represents the health of an AWS service. +// Represents the health of an Amazon Web Services service. type ServiceHealth struct { _ struct{} `type:"structure"` - // Represents the health of an AWS service. This is a ServiceInsightHealth that - // contains the number of open proactive and reactive insights for this service. + // Represents the health of an Amazon Web Services service. This is a ServiceInsightHealth + // that contains the number of open proactive and reactive insights for this + // service. Insight *ServiceInsightHealth `type:"structure"` - // The name of the AWS service. + // The name of the Amazon Web Services service. ServiceName *string `type:"string" enum:"ServiceName"` } @@ -7604,14 +9476,14 @@ func (s *ServiceHealth) SetServiceName(v string) *ServiceHealth { } // Contains the number of open proactive and reactive insights in an analyzed -// AWS service. +// Amazon Web Services service. type ServiceInsightHealth struct { _ struct{} `type:"structure"` - // The number of open proactive insights in the AWS service + // The number of open proactive insights in the Amazon Web Services service OpenProactiveInsights *int64 `type:"integer"` - // The number of open reactive insights in the AWS service + // The number of open reactive insights in the Amazon Web Services service OpenReactiveInsights *int64 `type:"integer"` } @@ -7645,13 +9517,13 @@ func (s *ServiceInsightHealth) SetOpenReactiveInsights(v int64) *ServiceInsightH return s } -// Information about the integration of DevOps Guru with another AWS service, -// such as AWS Systems Manager. +// Information about the integration of DevOps Guru with another Amazon Web +// Services service, such as Amazon Web Services Systems Manager. type ServiceIntegrationConfig struct { _ struct{} `type:"structure"` // Information about whether DevOps Guru is configured to create an OpsItem - // in AWS Systems Manager OpsCenter for each created insight. + // in Amazon Web Services Systems Manager OpsCenter for each created insight. OpsCenter *OpsCenterIntegration `type:"structure"` } @@ -7744,8 +9616,8 @@ func (s *ServiceQuotaExceededException) RequestID() string { } // An object that contains information about the estimated monthly cost to analyze -// an AWS resource. For more information, see Estimate your Amazon DevOps Guru -// costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html) +// an Amazon Web Services resource. For more information, see Estimate your +// Amazon DevOps Guru costs (https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html) // and Amazon DevOps Guru pricing (http://aws.amazon.com/devops-guru/pricing/). type ServiceResourceCost struct { _ struct{} `type:"structure"` @@ -7760,11 +9632,11 @@ type ServiceResourceCost struct { // The state of the resource. The resource is ACTIVE if it produces metrics, // events, or logs within an hour, otherwise it is INACTIVE. You pay for the - // number of active AWS resource hours analyzed for each resource. Inactive - // resources are not charged. + // number of active Amazon Web Services resource hours analyzed for each resource. + // Inactive resources are not charged. State *string `type:"string" enum:"CostEstimationServiceResourceState"` - // The type of the AWS resource. + // The type of the Amazon Web Services resource. Type *string `min:"1" type:"string"` // The price per hour to analyze the resources in the service. For more information, @@ -7830,10 +9702,10 @@ func (s *ServiceResourceCost) SetUnitCost(v float64) *ServiceResourceCost { // SNS in your account. For more information, see Permissions for cross account // Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html). // -// If you use an Amazon SNS topic that is encrypted by an AWS Key Management -// Service customer-managed key (CMK), then you must add permissions to the -// CMK. For more information, see Permissions for AWS KMS–encrypted Amazon -// SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). +// If you use an Amazon SNS topic that is encrypted by an Amazon Web Services +// Key Management Service customer-managed key (CMK), then you must add permissions +// to the CMK. For more information, see Permissions for Amazon Web Services +// KMS–encrypted Amazon SNS topics (https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html). type SnsChannelConfig struct { _ struct{} `type:"structure"` @@ -7884,8 +9756,8 @@ type StartCostEstimationInput struct { // The idempotency token used to identify each cost estimate request. ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` - // The collection of AWS resources used to create a monthly DevOps Guru cost - // estimate. + // The collection of Amazon Web Services resources used to create a monthly + // DevOps Guru cost estimate. // // ResourceCollection is a required field ResourceCollection *CostEstimationResourceCollectionFilter `type:"structure" required:"true"` @@ -8079,13 +9951,55 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } -// Contains the names of AWS CloudFormation stacks used to update a collection -// of stacks. You can specify up to 500 AWS CloudFormation stacks. +// A pair that contains metric values at the respective timestamp. +type TimestampMetricValuePair struct { + _ struct{} `type:"structure"` + + // Value of the anomalous metric data point at respective Timestamp. + MetricValue *float64 `type:"double"` + + // A Timestamp that specifies the time the event occurred. + Timestamp *time.Time `type:"timestamp"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TimestampMetricValuePair) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TimestampMetricValuePair) GoString() string { + return s.String() +} + +// SetMetricValue sets the MetricValue field's value. +func (s *TimestampMetricValuePair) SetMetricValue(v float64) *TimestampMetricValuePair { + s.MetricValue = &v + return s +} + +// SetTimestamp sets the Timestamp field's value. +func (s *TimestampMetricValuePair) SetTimestamp(v time.Time) *TimestampMetricValuePair { + s.Timestamp = &v + return s +} + +// Contains the names of Amazon Web Services CloudFormation stacks used to update +// a collection of stacks. You can specify up to 500 Amazon Web Services CloudFormation +// stacks. type UpdateCloudFormationCollectionFilter struct { _ struct{} `type:"structure"` - // An array of the names of the AWS CloudFormation stacks to update. You can - // specify up to 500 AWS CloudFormation stacks. + // An array of the names of the Amazon Web Services CloudFormation stacks to + // update. You can specify up to 500 Amazon Web Services CloudFormation stacks. StackNames []*string `type:"list"` } @@ -8113,12 +10027,12 @@ func (s *UpdateCloudFormationCollectionFilter) SetStackNames(v []*string) *Updat return s } -// Contains information used to update a collection of AWS resources. +// Contains information used to update a collection of Amazon Web Services resources. type UpdateResourceCollectionFilter struct { _ struct{} `type:"structure"` - // An collection of AWS CloudFormation stacks. You can specify up to 500 AWS - // CloudFormation stacks. + // An collection of Amazon Web Services CloudFormation stacks. You can specify + // up to 500 Amazon Web Services CloudFormation stacks. CloudFormation *UpdateCloudFormationCollectionFilter `type:"structure"` } @@ -8155,7 +10069,7 @@ type UpdateResourceCollectionInput struct { // Action is a required field Action *string `type:"string" required:"true" enum:"UpdateResourceCollectionAction"` - // Contains information used to update a collection of AWS resources. + // Contains information used to update a collection of Amazon Web Services resources. // // ResourceCollection is a required field ResourceCollection *UpdateResourceCollectionFilter `type:"structure" required:"true"` @@ -8229,13 +10143,13 @@ func (s UpdateResourceCollectionOutput) GoString() string { return s.String() } -// Information about updating the integration status of an AWS service, such -// as AWS Systems Manager, with DevOps Guru. +// Information about updating the integration status of an Amazon Web Services +// service, such as Amazon Web Services Systems Manager, with DevOps Guru. type UpdateServiceIntegrationConfig struct { _ struct{} `type:"structure"` // Information about whether DevOps Guru is configured to create an OpsItem - // in AWS Systems Manager OpsCenter for each created insight. + // in Amazon Web Services Systems Manager OpsCenter for each created insight. OpsCenter *OpsCenterIntegrationConfig `type:"structure"` } @@ -8486,6 +10400,26 @@ func AnomalyStatus_Values() []string { } } +const ( + // CloudWatchMetricDataStatusCodeComplete is a CloudWatchMetricDataStatusCode enum value + CloudWatchMetricDataStatusCodeComplete = "Complete" + + // CloudWatchMetricDataStatusCodeInternalError is a CloudWatchMetricDataStatusCode enum value + CloudWatchMetricDataStatusCodeInternalError = "InternalError" + + // CloudWatchMetricDataStatusCodePartialData is a CloudWatchMetricDataStatusCode enum value + CloudWatchMetricDataStatusCodePartialData = "PartialData" +) + +// CloudWatchMetricDataStatusCode_Values returns all elements of the CloudWatchMetricDataStatusCode enum +func CloudWatchMetricDataStatusCode_Values() []string { + return []string{ + CloudWatchMetricDataStatusCodeComplete, + CloudWatchMetricDataStatusCodeInternalError, + CloudWatchMetricDataStatusCodePartialData, + } +} + const ( // CloudWatchMetricsStatSum is a CloudWatchMetricsStat enum value CloudWatchMetricsStatSum = "Sum" @@ -8734,8 +10668,8 @@ func Locale_Values() []string { } } -// Specifies if DevOps Guru is enabled to create an AWS Systems Manager OpsItem -// for each created insight. +// Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems +// Manager OpsItem for each created insight. const ( // OptInStatusEnabled is a OptInStatus enum value OptInStatusEnabled = "ENABLED" @@ -8752,6 +10686,26 @@ func OptInStatus_Values() []string { } } +const ( + // OrganizationResourceCollectionTypeAwsCloudFormation is a OrganizationResourceCollectionType enum value + OrganizationResourceCollectionTypeAwsCloudFormation = "AWS_CLOUD_FORMATION" + + // OrganizationResourceCollectionTypeAwsService is a OrganizationResourceCollectionType enum value + OrganizationResourceCollectionTypeAwsService = "AWS_SERVICE" + + // OrganizationResourceCollectionTypeAwsAccount is a OrganizationResourceCollectionType enum value + OrganizationResourceCollectionTypeAwsAccount = "AWS_ACCOUNT" +) + +// OrganizationResourceCollectionType_Values returns all elements of the OrganizationResourceCollectionType enum +func OrganizationResourceCollectionType_Values() []string { + return []string{ + OrganizationResourceCollectionTypeAwsCloudFormation, + OrganizationResourceCollectionTypeAwsService, + OrganizationResourceCollectionTypeAwsAccount, + } +} + const ( // ResourceCollectionTypeAwsCloudFormation is a ResourceCollectionType enum value ResourceCollectionTypeAwsCloudFormation = "AWS_CLOUD_FORMATION" diff --git a/service/devopsguru/devopsguruiface/interface.go b/service/devopsguru/devopsguruiface/interface.go index b96ee891e02..b7c7529a506 100644 --- a/service/devopsguru/devopsguruiface/interface.go +++ b/service/devopsguru/devopsguruiface/interface.go @@ -84,6 +84,21 @@ type DevOpsGuruAPI interface { DescribeInsightWithContext(aws.Context, *devopsguru.DescribeInsightInput, ...request.Option) (*devopsguru.DescribeInsightOutput, error) DescribeInsightRequest(*devopsguru.DescribeInsightInput) (*request.Request, *devopsguru.DescribeInsightOutput) + DescribeOrganizationHealth(*devopsguru.DescribeOrganizationHealthInput) (*devopsguru.DescribeOrganizationHealthOutput, error) + DescribeOrganizationHealthWithContext(aws.Context, *devopsguru.DescribeOrganizationHealthInput, ...request.Option) (*devopsguru.DescribeOrganizationHealthOutput, error) + DescribeOrganizationHealthRequest(*devopsguru.DescribeOrganizationHealthInput) (*request.Request, *devopsguru.DescribeOrganizationHealthOutput) + + DescribeOrganizationOverview(*devopsguru.DescribeOrganizationOverviewInput) (*devopsguru.DescribeOrganizationOverviewOutput, error) + DescribeOrganizationOverviewWithContext(aws.Context, *devopsguru.DescribeOrganizationOverviewInput, ...request.Option) (*devopsguru.DescribeOrganizationOverviewOutput, error) + DescribeOrganizationOverviewRequest(*devopsguru.DescribeOrganizationOverviewInput) (*request.Request, *devopsguru.DescribeOrganizationOverviewOutput) + + DescribeOrganizationResourceCollectionHealth(*devopsguru.DescribeOrganizationResourceCollectionHealthInput) (*devopsguru.DescribeOrganizationResourceCollectionHealthOutput, error) + DescribeOrganizationResourceCollectionHealthWithContext(aws.Context, *devopsguru.DescribeOrganizationResourceCollectionHealthInput, ...request.Option) (*devopsguru.DescribeOrganizationResourceCollectionHealthOutput, error) + DescribeOrganizationResourceCollectionHealthRequest(*devopsguru.DescribeOrganizationResourceCollectionHealthInput) (*request.Request, *devopsguru.DescribeOrganizationResourceCollectionHealthOutput) + + DescribeOrganizationResourceCollectionHealthPages(*devopsguru.DescribeOrganizationResourceCollectionHealthInput, func(*devopsguru.DescribeOrganizationResourceCollectionHealthOutput, bool) bool) error + DescribeOrganizationResourceCollectionHealthPagesWithContext(aws.Context, *devopsguru.DescribeOrganizationResourceCollectionHealthInput, func(*devopsguru.DescribeOrganizationResourceCollectionHealthOutput, bool) bool, ...request.Option) error + DescribeResourceCollectionHealth(*devopsguru.DescribeResourceCollectionHealthInput) (*devopsguru.DescribeResourceCollectionHealthOutput, error) DescribeResourceCollectionHealthWithContext(aws.Context, *devopsguru.DescribeResourceCollectionHealthInput, ...request.Option) (*devopsguru.DescribeResourceCollectionHealthOutput, error) DescribeResourceCollectionHealthRequest(*devopsguru.DescribeResourceCollectionHealthInput) (*request.Request, *devopsguru.DescribeResourceCollectionHealthOutput) @@ -137,6 +152,13 @@ type DevOpsGuruAPI interface { ListNotificationChannelsPages(*devopsguru.ListNotificationChannelsInput, func(*devopsguru.ListNotificationChannelsOutput, bool) bool) error ListNotificationChannelsPagesWithContext(aws.Context, *devopsguru.ListNotificationChannelsInput, func(*devopsguru.ListNotificationChannelsOutput, bool) bool, ...request.Option) error + ListOrganizationInsights(*devopsguru.ListOrganizationInsightsInput) (*devopsguru.ListOrganizationInsightsOutput, error) + ListOrganizationInsightsWithContext(aws.Context, *devopsguru.ListOrganizationInsightsInput, ...request.Option) (*devopsguru.ListOrganizationInsightsOutput, error) + ListOrganizationInsightsRequest(*devopsguru.ListOrganizationInsightsInput) (*request.Request, *devopsguru.ListOrganizationInsightsOutput) + + ListOrganizationInsightsPages(*devopsguru.ListOrganizationInsightsInput, func(*devopsguru.ListOrganizationInsightsOutput, bool) bool) error + ListOrganizationInsightsPagesWithContext(aws.Context, *devopsguru.ListOrganizationInsightsInput, func(*devopsguru.ListOrganizationInsightsOutput, bool) bool, ...request.Option) error + ListRecommendations(*devopsguru.ListRecommendationsInput) (*devopsguru.ListRecommendationsOutput, error) ListRecommendationsWithContext(aws.Context, *devopsguru.ListRecommendationsInput, ...request.Option) (*devopsguru.ListRecommendationsOutput, error) ListRecommendationsRequest(*devopsguru.ListRecommendationsInput) (*request.Request, *devopsguru.ListRecommendationsOutput) @@ -159,6 +181,13 @@ type DevOpsGuruAPI interface { SearchInsightsPages(*devopsguru.SearchInsightsInput, func(*devopsguru.SearchInsightsOutput, bool) bool) error SearchInsightsPagesWithContext(aws.Context, *devopsguru.SearchInsightsInput, func(*devopsguru.SearchInsightsOutput, bool) bool, ...request.Option) error + SearchOrganizationInsights(*devopsguru.SearchOrganizationInsightsInput) (*devopsguru.SearchOrganizationInsightsOutput, error) + SearchOrganizationInsightsWithContext(aws.Context, *devopsguru.SearchOrganizationInsightsInput, ...request.Option) (*devopsguru.SearchOrganizationInsightsOutput, error) + SearchOrganizationInsightsRequest(*devopsguru.SearchOrganizationInsightsInput) (*request.Request, *devopsguru.SearchOrganizationInsightsOutput) + + SearchOrganizationInsightsPages(*devopsguru.SearchOrganizationInsightsInput, func(*devopsguru.SearchOrganizationInsightsOutput, bool) bool) error + SearchOrganizationInsightsPagesWithContext(aws.Context, *devopsguru.SearchOrganizationInsightsInput, func(*devopsguru.SearchOrganizationInsightsOutput, bool) bool, ...request.Option) error + StartCostEstimation(*devopsguru.StartCostEstimationInput) (*devopsguru.StartCostEstimationOutput, error) StartCostEstimationWithContext(aws.Context, *devopsguru.StartCostEstimationInput, ...request.Option) (*devopsguru.StartCostEstimationOutput, error) StartCostEstimationRequest(*devopsguru.StartCostEstimationInput) (*request.Request, *devopsguru.StartCostEstimationOutput) diff --git a/service/devopsguru/doc.go b/service/devopsguru/doc.go index 12d2347c0f2..03acc3e7747 100644 --- a/service/devopsguru/doc.go +++ b/service/devopsguru/doc.go @@ -4,18 +4,18 @@ // requests to Amazon DevOps Guru. // // Amazon DevOps Guru is a fully managed service that helps you identify anomalous -// behavior in business critical operational applications. You specify the AWS -// resources that you want DevOps Guru to cover, then the Amazon CloudWatch -// metrics and AWS CloudTrail events related to those resources are analyzed. -// When anomalous behavior is detected, DevOps Guru creates an insight that -// includes recommendations, related events, and related metrics that can help -// you improve your operational applications. For more information, see What -// is Amazon DevOps Guru (https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html). +// behavior in business critical operational applications. You specify the Amazon +// Web Services resources that you want DevOps Guru to cover, then the Amazon +// CloudWatch metrics and Amazon Web Services CloudTrail events related to those +// resources are analyzed. When anomalous behavior is detected, DevOps Guru +// creates an insight that includes recommendations, related events, and related +// metrics that can help you improve your operational applications. For more +// information, see What is Amazon DevOps Guru (https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html). // // You can specify 1 or 2 Amazon Simple Notification Service topics so you are // notified every time a new insight is created. You can also enable DevOps -// Guru to generate an OpsItem in AWS Systems Manager for each insight to help -// you manage and track your work addressing insights. +// Guru to generate an OpsItem in Amazon Web Services Systems Manager for each +// insight to help you manage and track your work addressing insights. // // To learn about the DevOps Guru workflow, see How DevOps Guru works (https://docs.aws.amazon.com/devops-guru/latest/userguide/welcome.html#how-it-works). // To learn about DevOps Guru concepts, see Concepts in DevOps Guru (https://docs.aws.amazon.com/devops-guru/latest/userguide/concepts.html). diff --git a/service/ec2/api.go b/service/ec2/api.go index 313c353e39e..b6d48fb1dd0 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -148883,6 +148883,33 @@ const ( // InstanceTypeC6gn16xlarge is a InstanceType enum value InstanceTypeC6gn16xlarge = "c6gn.16xlarge" + // InstanceTypeC6iLarge is a InstanceType enum value + InstanceTypeC6iLarge = "c6i.large" + + // InstanceTypeC6iXlarge is a InstanceType enum value + InstanceTypeC6iXlarge = "c6i.xlarge" + + // InstanceTypeC6i2xlarge is a InstanceType enum value + InstanceTypeC6i2xlarge = "c6i.2xlarge" + + // InstanceTypeC6i4xlarge is a InstanceType enum value + InstanceTypeC6i4xlarge = "c6i.4xlarge" + + // InstanceTypeC6i8xlarge is a InstanceType enum value + InstanceTypeC6i8xlarge = "c6i.8xlarge" + + // InstanceTypeC6i12xlarge is a InstanceType enum value + InstanceTypeC6i12xlarge = "c6i.12xlarge" + + // InstanceTypeC6i16xlarge is a InstanceType enum value + InstanceTypeC6i16xlarge = "c6i.16xlarge" + + // InstanceTypeC6i24xlarge is a InstanceType enum value + InstanceTypeC6i24xlarge = "c6i.24xlarge" + + // InstanceTypeC6i32xlarge is a InstanceType enum value + InstanceTypeC6i32xlarge = "c6i.32xlarge" + // InstanceTypeCc14xlarge is a InstanceType enum value InstanceTypeCc14xlarge = "cc1.4xlarge" @@ -149464,6 +149491,30 @@ const ( // InstanceTypeVt124xlarge is a InstanceType enum value InstanceTypeVt124xlarge = "vt1.24xlarge" + + // InstanceTypeG5Xlarge is a InstanceType enum value + InstanceTypeG5Xlarge = "g5.xlarge" + + // InstanceTypeG52xlarge is a InstanceType enum value + InstanceTypeG52xlarge = "g5.2xlarge" + + // InstanceTypeG54xlarge is a InstanceType enum value + InstanceTypeG54xlarge = "g5.4xlarge" + + // InstanceTypeG58xlarge is a InstanceType enum value + InstanceTypeG58xlarge = "g5.8xlarge" + + // InstanceTypeG512xlarge is a InstanceType enum value + InstanceTypeG512xlarge = "g5.12xlarge" + + // InstanceTypeG516xlarge is a InstanceType enum value + InstanceTypeG516xlarge = "g5.16xlarge" + + // InstanceTypeG524xlarge is a InstanceType enum value + InstanceTypeG524xlarge = "g5.24xlarge" + + // InstanceTypeG548xlarge is a InstanceType enum value + InstanceTypeG548xlarge = "g5.48xlarge" ) // InstanceType_Values returns all elements of the InstanceType enum @@ -149696,6 +149747,15 @@ func InstanceType_Values() []string { InstanceTypeC6gn8xlarge, InstanceTypeC6gn12xlarge, InstanceTypeC6gn16xlarge, + InstanceTypeC6iLarge, + InstanceTypeC6iXlarge, + InstanceTypeC6i2xlarge, + InstanceTypeC6i4xlarge, + InstanceTypeC6i8xlarge, + InstanceTypeC6i12xlarge, + InstanceTypeC6i16xlarge, + InstanceTypeC6i24xlarge, + InstanceTypeC6i32xlarge, InstanceTypeCc14xlarge, InstanceTypeCc28xlarge, InstanceTypeG22xlarge, @@ -149890,6 +149950,14 @@ func InstanceType_Values() []string { InstanceTypeVt13xlarge, InstanceTypeVt16xlarge, InstanceTypeVt124xlarge, + InstanceTypeG5Xlarge, + InstanceTypeG52xlarge, + InstanceTypeG54xlarge, + InstanceTypeG58xlarge, + InstanceTypeG512xlarge, + InstanceTypeG516xlarge, + InstanceTypeG524xlarge, + InstanceTypeG548xlarge, } } diff --git a/service/mediaconvert/api.go b/service/mediaconvert/api.go index 2c84e56c9f7..66bb0324871 100644 --- a/service/mediaconvert/api.go +++ b/service/mediaconvert/api.go @@ -4926,7 +4926,7 @@ type BurninDestinationSettings struct { // Specify the color of the rectangle behind the captions. Leave background // color (BackgroundColor) blank and set Style passthrough (StylePassthrough) // to enabled to use the background color data from your input captions, if - // present. Within your job settings, all of your DVB-Sub settings must be identical. + // present. BackgroundColor *string `locationName:"backgroundColor" type:"string" enum:"BurninSubtitleBackgroundColor"` // Specify the opacity of the background rectangle. Enter a value from 0 to @@ -6685,7 +6685,7 @@ type CmfcSettings struct { // List the audio rendition groups that you want included with this video rendition. // Use a comma-separated list. For example, say you want to include the audio // rendition groups that have the audio group IDs "audio_aac_1" and "audio_dolby". - // Then you would specify this value: "audio_aac_1, audio_dolby". Related setting: + // Then you would specify this value: "audio_aac_1,audio_dolby". Related setting: // The rendition groups that you include in your comma-separated list should // all match values that you specify in the setting Audio group ID (AudioGroupId) // for audio renditions in the same output group as this video rendition. Default @@ -9369,8 +9369,8 @@ type DvbSubDestinationSettings struct { // dialogue. Choose standard if your subtitles include only dialogue. SubtitlingType *string `locationName:"subtitlingType" type:"string" enum:"DvbSubtitlingType"` - // Specify whether the Text spacing (TextSpacing) in your captions is set by - // the captions grid, or varies depending on letter width. Choose fixed grid + // Specify whether the Text spacing (TeletextSpacing) in your captions is set + // by the captions grid, or varies depending on letter width. Choose fixed grid // (FIXED_GRID) to conform to the spacing specified in the captions file more // accurately. Choose proportional (PROPORTIONAL) to make the text easier to // read for closed captions. Within your job settings, all of your DVB-Sub settings @@ -11571,17 +11571,37 @@ type H264Settings struct { // 1. GopBReference *string `locationName:"gopBReference" type:"string" enum:"H264GopBReference"` - // Frequency of closed GOPs. In streaming applications, it is recommended that - // this be set to 1 so a decoder joining mid-stream will receive an IDR frame - // as quickly as possible. Setting this value to 0 will break output segmenting. + // Specify the relative frequency of open to closed GOPs in this output. For + // example, if you want to allow four open GOPs and then require a closed GOP, + // set this value to 5. We recommend that you have the transcoder automatically + // choose this value for you based on characteristics of your input video. To + // enable this automatic behavior, keep the default value by leaving this setting + // out of your JSON job specification. In the console, do this by keeping the + // default empty value. If you do explicitly specify a value, for segmented + // outputs, don't set this value to 0. GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` - // GOP Length (keyframe interval) in frames or seconds. Must be greater than - // zero. + // Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, + // frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using + // a whole number of frames or a decimal value of seconds. MediaConvert will + // interpret this value as frames or seconds depending on the value you choose + // for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to + // automatically determine GOP size, leave GOP size blank and set GOP mode control + // to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave + // GOP size blank and set GOP mode control to Auto in each output in your output + // group. GopSize *float64 `locationName:"gopSize" type:"double"` - // Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds - // the system will convert the GOP Size into a frame count at run time. + // Specify how the transcoder determines GOP size for this output. We recommend + // that you have the transcoder automatically choose this value for you based + // on characteristics of your input video. To enable this automatic behavior, + // choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if + // you don't specify GOP mode control (GopSizeUnits), MediaConvert will use + // automatic behavior. If your output group specifies HLS, DASH, or CMAF, set + // GOP mode control to Auto and leave GOP size blank in each output in your + // output group. To explicitly specify the GOP length, choose Specified, frames + // (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length + // in the related setting GOP size (GopSize). GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H264GopSizeUnits"` // Percentage of the buffer that should initially be filled (HRD buffer model). @@ -11609,18 +11629,31 @@ type H264Settings struct { // as 5000000. Required when Rate control mode is QVBR. MaxBitrate *int64 `locationName:"maxBitrate" min:"1000" type:"integer"` - // Enforces separation between repeated (cadence) I-frames and I-frames inserted - // by Scene Change Detection. If a scene change I-frame is within I-interval - // frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene - // change I-frame. GOP stretch requires enabling lookahead as well as setting - // I-interval. The normal cadence resumes for the next GOP. This setting is - // only used when Scene Change Detect is enabled. Note: Maximum GOP stretch - // = GOP size + Min-I-interval - 1 + // Use this setting only when you also enable Scene change detection (SceneChangeDetect). + // This setting determines how the encoder manages the spacing between I-frames + // that it inserts as part of the I-frame cadence and the I-frames that it inserts + // for Scene change detection. We recommend that you have the transcoder automatically + // choose this value for you based on characteristics of your input video. To + // enable this automatic behavior, keep the default value by leaving this setting + // out of your JSON job specification. In the console, do this by keeping the + // default empty value. When you explicitly specify a value for this setting, + // the encoder determines whether to skip a cadence-driven I-frame by the value + // you set. For example, if you set Min I interval (minIInterval) to 5 and a + // cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, + // then the encoder skips the cadence-driven I-frame. In this way, one GOP is + // shrunk slightly and one GOP is stretched slightly. When the cadence-driven + // I-frames are farther from the scene-change I-frame than the value you set, + // then the encoder leaves all I-frames in place and the GOPs surrounding the + // scene change are smaller than the usual cadence GOPs. MinIInterval *int64 `locationName:"minIInterval" type:"integer"` - // Specify the number of B-frames that MediaConvert puts between reference frames - // in this output. Valid values are whole numbers from 0 through 7. When you - // don't specify a value, MediaConvert defaults to 2. + // This setting to determines the number of B-frames that MediaConvert puts + // between reference frames in this output. We recommend that you use automatic + // behavior to allow the transcoder to choose the best value based on characteristics + // of your input video. In the console, choose AUTO to select this automatic + // behavior. When you manually edit your JSON job specification, leave this + // setting out to choose automatic behavior. When you want to specify this number + // explicitly, choose a whole number from 0 through 7. NumberBFramesBetweenReferenceFrames *int64 `locationName:"numberBFramesBetweenReferenceFrames" type:"integer"` // Number of reference frames to use. The encoder may use more than requested @@ -12255,17 +12288,37 @@ type H265Settings struct { // 1. GopBReference *string `locationName:"gopBReference" type:"string" enum:"H265GopBReference"` - // Frequency of closed GOPs. In streaming applications, it is recommended that - // this be set to 1 so a decoder joining mid-stream will receive an IDR frame - // as quickly as possible. Setting this value to 0 will break output segmenting. + // Specify the relative frequency of open to closed GOPs in this output. For + // example, if you want to allow four open GOPs and then require a closed GOP, + // set this value to 5. We recommend that you have the transcoder automatically + // choose this value for you based on characteristics of your input video. To + // enable this automatic behavior, keep the default value by leaving this setting + // out of your JSON job specification. In the console, do this by keeping the + // default empty value. If you do explicitly specify a value, for segmented + // outputs, don't set this value to 0. GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` - // GOP Length (keyframe interval) in frames or seconds. Must be greater than - // zero. + // Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, + // frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using + // a whole number of frames or a decimal value of seconds. MediaConvert will + // interpret this value as frames or seconds depending on the value you choose + // for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to + // automatically determine GOP size, leave GOP size blank and set GOP mode control + // to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave + // GOP size blank and set GOP mode control to Auto in each output in your output + // group. GopSize *float64 `locationName:"gopSize" type:"double"` - // Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds - // the system will convert the GOP Size into a frame count at run time. + // Specify how the transcoder determines GOP size for this output. We recommend + // that you have the transcoder automatically choose this value for you based + // on characteristics of your input video. To enable this automatic behavior, + // choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if + // you don't specify GOP mode control (GopSizeUnits), MediaConvert will use + // automatic behavior. If your output group specifies HLS, DASH, or CMAF, set + // GOP mode control to Auto and leave GOP size blank in each output in your + // output group. To explicitly specify the GOP length, choose Specified, frames + // (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length + // in the related setting GOP size (GopSize). GopSizeUnits *string `locationName:"gopSizeUnits" type:"string" enum:"H265GopSizeUnits"` // Percentage of the buffer that should initially be filled (HRD buffer model). @@ -12293,13 +12346,22 @@ type H265Settings struct { // as 5000000. Required when Rate control mode is QVBR. MaxBitrate *int64 `locationName:"maxBitrate" min:"1000" type:"integer"` - // Enforces separation between repeated (cadence) I-frames and I-frames inserted - // by Scene Change Detection. If a scene change I-frame is within I-interval - // frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene - // change I-frame. GOP stretch requires enabling lookahead as well as setting - // I-interval. The normal cadence resumes for the next GOP. This setting is - // only used when Scene Change Detect is enabled. Note: Maximum GOP stretch - // = GOP size + Min-I-interval - 1 + // Use this setting only when you also enable Scene change detection (SceneChangeDetect). + // This setting determines how the encoder manages the spacing between I-frames + // that it inserts as part of the I-frame cadence and the I-frames that it inserts + // for Scene change detection. We recommend that you have the transcoder automatically + // choose this value for you based on characteristics of your input video. To + // enable this automatic behavior, keep the default value by leaving this setting + // out of your JSON job specification. In the console, do this by keeping the + // default empty value. When you explicitly specify a value for this setting, + // the encoder determines whether to skip a cadence-driven I-frame by the value + // you set. For example, if you set Min I interval (minIInterval) to 5 and a + // cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, + // then the encoder skips the cadence-driven I-frame. In this way, one GOP is + // shrunk slightly and one GOP is stretched slightly. When the cadence-driven + // I-frames are farther from the scene-change I-frame than the value you set, + // then the encoder leaves all I-frames in place and the GOPs surrounding the + // scene change are smaller than the usual cadence GOPs. MinIInterval *int64 `locationName:"minIInterval" type:"integer"` // Specify the number of B-frames that MediaConvert puts between reference frames @@ -18432,9 +18494,12 @@ type Mpeg2Settings struct { // number for Framerate. In this example, specify 23.976. FramerateNumerator *int64 `locationName:"framerateNumerator" min:"24" type:"integer"` - // Frequency of closed GOPs. In streaming applications, it is recommended that - // this be set to 1 so a decoder joining mid-stream will receive an IDR frame - // as quickly as possible. Setting this value to 0 will break output segmenting. + // Specify the relative frequency of open to closed GOPs in this output. For + // example, if you want to allow four open GOPs and then require a closed GOP, + // set this value to 5. When you create a streaming output, we recommend that + // you keep the default value, 1, so that players starting mid-stream receive + // an IDR frame as quickly as possible. Don't set this value to 0; that would + // break output segmenting. GopClosedCadence *int64 `locationName:"gopClosedCadence" type:"integer"` // Specify the interval between keyframes, in seconds or frames, for this output. @@ -18478,13 +18543,18 @@ type Mpeg2Settings struct { // as 5000000. MaxBitrate *int64 `locationName:"maxBitrate" min:"1000" type:"integer"` - // Enforces separation between repeated (cadence) I-frames and I-frames inserted - // by Scene Change Detection. If a scene change I-frame is within I-interval - // frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene - // change I-frame. GOP stretch requires enabling lookahead as well as setting - // I-interval. The normal cadence resumes for the next GOP. This setting is - // only used when Scene Change Detect is enabled. Note: Maximum GOP stretch - // = GOP size + Min-I-interval - 1 + // Use this setting only when you also enable Scene change detection (SceneChangeDetect). + // This setting determines how the encoder manages the spacing between I-frames + // that it inserts as part of the I-frame cadence and the I-frames that it inserts + // for Scene change detection. When you specify a value for this setting, the + // encoder determines whether to skip a cadence-driven I-frame by the value + // you set. For example, if you set Min I interval (minIInterval) to 5 and a + // cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, + // then the encoder skips the cadence-driven I-frame. In this way, one GOP is + // shrunk slightly and one GOP is stretched slightly. When the cadence-driven + // I-frames are farther from the scene-change I-frame than the value you set, + // then the encoder leaves all I-frames in place and the GOPs surrounding the + // scene change are smaller than the usual cadence GOPs. MinIInterval *int64 `locationName:"minIInterval" type:"integer"` // Specify the number of B-frames that MediaConvert puts between reference frames @@ -26934,7 +27004,7 @@ func BurninSubtitleApplyFontColor_Values() []string { // Specify the color of the rectangle behind the captions. Leave background // color (BackgroundColor) blank and set Style passthrough (StylePassthrough) // to enabled to use the background color data from your input captions, if -// present. Within your job settings, all of your DVB-Sub settings must be identical. +// present. const ( // BurninSubtitleBackgroundColorNone is a BurninSubtitleBackgroundColor enum value BurninSubtitleBackgroundColorNone = "NONE" @@ -28628,8 +28698,8 @@ func DvbSubtitleStylePassthrough_Values() []string { } } -// Specify whether the Text spacing (TextSpacing) in your captions is set by -// the captions grid, or varies depending on letter width. Choose fixed grid +// Specify whether the Text spacing (TeletextSpacing) in your captions is set +// by the captions grid, or varies depending on letter width. Choose fixed grid // (FIXED_GRID) to conform to the spacing specified in the captions file more // accurately. Choose proportional (PROPORTIONAL) to make the text easier to // read for closed captions. Within your job settings, all of your DVB-Sub settings @@ -29749,14 +29819,25 @@ func H264GopBReference_Values() []string { } } -// Indicates if the GOP Size in H264 is specified in frames or seconds. If seconds -// the system will convert the GOP Size into a frame count at run time. +// Specify how the transcoder determines GOP size for this output. We recommend +// that you have the transcoder automatically choose this value for you based +// on characteristics of your input video. To enable this automatic behavior, +// choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if +// you don't specify GOP mode control (GopSizeUnits), MediaConvert will use +// automatic behavior. If your output group specifies HLS, DASH, or CMAF, set +// GOP mode control to Auto and leave GOP size blank in each output in your +// output group. To explicitly specify the GOP length, choose Specified, frames +// (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length +// in the related setting GOP size (GopSize). const ( // H264GopSizeUnitsFrames is a H264GopSizeUnits enum value H264GopSizeUnitsFrames = "FRAMES" // H264GopSizeUnitsSeconds is a H264GopSizeUnits enum value H264GopSizeUnitsSeconds = "SECONDS" + + // H264GopSizeUnitsAuto is a H264GopSizeUnits enum value + H264GopSizeUnitsAuto = "AUTO" ) // H264GopSizeUnits_Values returns all elements of the H264GopSizeUnits enum @@ -29764,6 +29845,7 @@ func H264GopSizeUnits_Values() []string { return []string{ H264GopSizeUnitsFrames, H264GopSizeUnitsSeconds, + H264GopSizeUnitsAuto, } } @@ -30389,14 +30471,25 @@ func H265GopBReference_Values() []string { } } -// Indicates if the GOP Size in H265 is specified in frames or seconds. If seconds -// the system will convert the GOP Size into a frame count at run time. +// Specify how the transcoder determines GOP size for this output. We recommend +// that you have the transcoder automatically choose this value for you based +// on characteristics of your input video. To enable this automatic behavior, +// choose Auto (AUTO) and and leave GOP size (GopSize) blank. By default, if +// you don't specify GOP mode control (GopSizeUnits), MediaConvert will use +// automatic behavior. If your output group specifies HLS, DASH, or CMAF, set +// GOP mode control to Auto and leave GOP size blank in each output in your +// output group. To explicitly specify the GOP length, choose Specified, frames +// (FRAMES) or Specified, seconds (SECONDS) and then provide the GOP length +// in the related setting GOP size (GopSize). const ( // H265GopSizeUnitsFrames is a H265GopSizeUnits enum value H265GopSizeUnitsFrames = "FRAMES" // H265GopSizeUnitsSeconds is a H265GopSizeUnits enum value H265GopSizeUnitsSeconds = "SECONDS" + + // H265GopSizeUnitsAuto is a H265GopSizeUnits enum value + H265GopSizeUnitsAuto = "AUTO" ) // H265GopSizeUnits_Values returns all elements of the H265GopSizeUnits enum @@ -30404,6 +30497,7 @@ func H265GopSizeUnits_Values() []string { return []string{ H265GopSizeUnitsFrames, H265GopSizeUnitsSeconds, + H265GopSizeUnitsAuto, } } diff --git a/service/ssm/api.go b/service/ssm/api.go index e5730dc94ce..53850c2c633 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -16339,9 +16339,10 @@ type AssociationDescription struct { // The association version. AssociationVersion *string `type:"string"` - // Specify the target for the association. This target is required for associations - // that use an Automation runbook and target resources by using rate controls. - // Automation is a capability of Amazon Web Services Systems Manager. + // Choose the parameter that will define how your automation will branch out. + // This target is required for associations that use an Automation runbook and + // target resources by using rate controls. Automation is a capability of Amazon + // Web Services Systems Manager. AutomationTargetParameterName *string `min:"1" type:"string"` // The names or Amazon Resource Names (ARNs) of the Change Calendar type documents @@ -21139,9 +21140,10 @@ type CreateAssociationInput struct { // Specify a descriptive name for the association. AssociationName *string `type:"string"` - // Specify the target for the association. This target is required for associations - // that use an Automation runbook and target resources by using rate controls. - // Automation is a capability of Amazon Web Services Systems Manager. + // Choose the parameter that will define how your automation will branch out. + // This target is required for associations that use an Automation runbook and + // target resources by using rate controls. Automation is a capability of Amazon + // Web Services Systems Manager. AutomationTargetParameterName *string `min:"1" type:"string"` // The names or Amazon Resource Names (ARNs) of the Change Calendar type documents @@ -54802,9 +54804,10 @@ type UpdateAssociationInput struct { // this request succeeds, either specify $LATEST, or omit this parameter. AssociationVersion *string `type:"string"` - // Specify the target for the association. This target is required for associations - // that use an Automation runbook and target resources by using rate controls. - // Automation is a capability of Amazon Web Services Systems Manager. + // Choose the parameter that will define how your automation will branch out. + // This target is required for associations that use an Automation runbook and + // target resources by using rate controls. Automation is a capability of Amazon + // Web Services Systems Manager. AutomationTargetParameterName *string `min:"1" type:"string"` // The names or Amazon Resource Names (ARNs) of the Change Calendar type documents @@ -58870,6 +58873,9 @@ const ( // OperatingSystemMacos is a OperatingSystem enum value OperatingSystemMacos = "MACOS" + + // OperatingSystemRaspbian is a OperatingSystem enum value + OperatingSystemRaspbian = "RASPBIAN" ) // OperatingSystem_Values returns all elements of the OperatingSystem enum @@ -58885,6 +58891,7 @@ func OperatingSystem_Values() []string { OperatingSystemOracleLinux, OperatingSystemDebian, OperatingSystemMacos, + OperatingSystemRaspbian, } }