From 9e41253158ea3311674720fcc2a1ddf3de8aa1c7 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 22 Oct 2019 11:36:16 -0700 Subject: [PATCH] Release v1.25.17 (2019-10-22) (#2905) Release v1.25.17 (2019-10-22) === ### Service Client Updates * `service/iotevents`: Updates service API and documentation * `service/opsworkscm`: Updates service API and documentation * AWS OpsWorks for Chef Automate (OWCA) now allows customers to use a custom domain and respective certificate, for their AWS OpsWorks For Chef Automate servers. Customers can now provide a CustomDomain, CustomCertificate and CustomPrivateKey in CreateServer API to configure their Chef Automate servers with a custom domain and certificate. ### SDK Bugs * `service/s3`,`service/kinesis`: Fix streaming APIs' Err method closing stream ([#2882](https://github.com/aws/aws-sdk-go/pull/2882)) * Fixes calling the Err method on SDK's Amazon Kinesis's SubscribeToShared and Amazon S3's SelectObjectContent response EventStream members closing the stream. This would cause unexpected read errors, or early termination of the streams. Only the Close method of the streaming members will close the streams. * Related to [#2769](https://github.com/aws/aws-sdk-go/issues/2769) --- CHANGELOG.md | 13 +++ CHANGELOG_PENDING.md | 4 - aws/endpoints/defaults.go | 48 ++++++++++ aws/version.go | 2 +- models/apis/iotevents/2018-07-27/api-2.json | 19 +++- models/apis/iotevents/2018-07-27/docs-2.json | 33 ++++--- models/apis/opsworkscm/2016-11-01/api-2.json | 65 +++++++++++-- models/apis/opsworkscm/2016-11-01/docs-2.json | 23 ++++- models/endpoints/endpoints.json | 48 ++++++++++ service/iotevents/api.go | 94 ++++++++++++++----- service/opsworkscm/api.go | 73 +++++++++++++- 11 files changed, 370 insertions(+), 52 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e15a6c90d..786626e10b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +Release v1.25.17 (2019-10-22) +=== + +### Service Client Updates +* `service/iotevents`: Updates service API and documentation +* `service/opsworkscm`: Updates service API and documentation + * AWS OpsWorks for Chef Automate (OWCA) now allows customers to use a custom domain and respective certificate, for their AWS OpsWorks For Chef Automate servers. Customers can now provide a CustomDomain, CustomCertificate and CustomPrivateKey in CreateServer API to configure their Chef Automate servers with a custom domain and certificate. + +### SDK Bugs +* `service/s3`,`service/kinesis`: Fix streaming APIs' Err method closing stream ([#2882](https://github.com/aws/aws-sdk-go/pull/2882)) + * Fixes calling the Err method on SDK's Amazon Kinesis's SubscribeToShared and Amazon S3's SelectObjectContent response EventStream members closing the stream. This would cause unexpected read errors, or early termination of the streams. Only the Close method of the streaming members will close the streams. + * Related to [#2769](https://github.com/aws/aws-sdk-go/issues/2769) + Release v1.25.16 (2019-10-18) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 0f7b6cf07e..8a1927a39c 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -3,7 +3,3 @@ ### SDK Enhancements ### SDK Bugs -* `service/s3`,`service/kinesis`: Fix streaming APIs' Err method closing stream ([#2882](https://github.com/aws/aws-sdk-go/pull/2882)) - * Fixes calling the Err method on SDK's Amazon Kinesis's SubscribeToShared and Amazon S3's SelectObjectContent response EventStream members closing the stream. This would cause unexpected read errors, or early termination of the streams. Only the Close method of the streaming members will close the streams. - * Related to [#2769](https://github.com/aws/aws-sdk-go/issues/2769) - diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 92110c9e65..2166d236a7 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -3703,6 +3703,27 @@ var awsPartition = partition{ "us-west-2": endpoint{}, }, }, + "transcribe": service{ + Defaults: endpoint{ + Protocols: []string{"https"}, + }, + Endpoints: endpoints{ + "ap-northeast-2": endpoint{}, + "ap-south-1": endpoint{}, + "ap-southeast-1": endpoint{}, + "ap-southeast-2": endpoint{}, + "ca-central-1": endpoint{}, + "eu-central-1": endpoint{}, + "eu-west-1": endpoint{}, + "eu-west-2": endpoint{}, + "eu-west-3": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, + }, + }, "transfer": service{ Endpoints: endpoints{ @@ -4355,6 +4376,25 @@ var awscnPartition = partition{ "cn-northwest-1": endpoint{}, }, }, + "transcribe": service{ + Defaults: endpoint{ + Protocols: []string{"https"}, + }, + Endpoints: endpoints{ + "cn-north-1": endpoint{ + Hostname: "cn.transcribe.cn-north-1.amazonaws.com.cn", + CredentialScope: credentialScope{ + Region: "cn-north-1", + }, + }, + "cn-northwest-1": endpoint{ + Hostname: "cn.transcribe.cn-northwest-1.amazonaws.com.cn", + CredentialScope: credentialScope{ + Region: "cn-northwest-1", + }, + }, + }, + }, }, } @@ -5152,6 +5192,14 @@ var awsusgovPartition = partition{ "us-gov-west-1": endpoint{}, }, }, + "transcribe": service{ + Defaults: endpoint{ + Protocols: []string{"https"}, + }, + Endpoints: endpoints{ + "us-gov-west-1": endpoint{}, + }, + }, "translate": service{ Defaults: endpoint{ Protocols: []string{"https"}, diff --git a/aws/version.go b/aws/version.go index 82c684ffa4..d7bdb56fc4 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.25.16" +const SDKVersion = "1.25.17" diff --git a/models/apis/iotevents/2018-07-27/api-2.json b/models/apis/iotevents/2018-07-27/api-2.json index 0a1696f928..170ea5db74 100644 --- a/models/apis/iotevents/2018-07-27/api-2.json +++ b/models/apis/iotevents/2018-07-27/api-2.json @@ -344,7 +344,8 @@ "detectorModelDescription":{"shape":"DetectorModelDescription"}, "key":{"shape":"AttributeJsonPath"}, "roleArn":{"shape":"AmazonResourceName"}, - "tags":{"shape":"Tags"} + "tags":{"shape":"Tags"}, + "evaluationMethod":{"shape":"EvaluationMethod"} } }, "CreateDetectorModelResponse":{ @@ -487,7 +488,8 @@ "creationTime":{"shape":"Timestamp"}, "lastUpdateTime":{"shape":"Timestamp"}, "status":{"shape":"DetectorModelVersionStatus"}, - "key":{"shape":"AttributeJsonPath"} + "key":{"shape":"AttributeJsonPath"}, + "evaluationMethod":{"shape":"EvaluationMethod"} } }, "DetectorModelDefinition":{ @@ -553,9 +555,17 @@ "roleArn":{"shape":"AmazonResourceName"}, "creationTime":{"shape":"Timestamp"}, "lastUpdateTime":{"shape":"Timestamp"}, - "status":{"shape":"DetectorModelVersionStatus"} + "status":{"shape":"DetectorModelVersionStatus"}, + "evaluationMethod":{"shape":"EvaluationMethod"} } }, + "EvaluationMethod":{ + "type":"string", + "enum":[ + "BATCH", + "SERIAL" + ] + }, "Event":{ "type":"structure", "required":["eventName"], @@ -1083,7 +1093,8 @@ }, "detectorModelDefinition":{"shape":"DetectorModelDefinition"}, "detectorModelDescription":{"shape":"DetectorModelDescription"}, - "roleArn":{"shape":"AmazonResourceName"} + "roleArn":{"shape":"AmazonResourceName"}, + "evaluationMethod":{"shape":"EvaluationMethod"} } }, "UpdateDetectorModelResponse":{ diff --git a/models/apis/iotevents/2018-07-27/docs-2.json b/models/apis/iotevents/2018-07-27/docs-2.json index 19f33abcbc..ec62ac6c17 100644 --- a/models/apis/iotevents/2018-07-27/docs-2.json +++ b/models/apis/iotevents/2018-07-27/docs-2.json @@ -39,7 +39,7 @@ "CreateDetectorModelRequest$roleArn": "

The ARN of the role that grants permission to AWS IoT Events to perform its operations.

", "DetectorModelConfiguration$roleArn": "

The ARN of the role that grants permission to AWS IoT Events to perform its operations.

", "DetectorModelVersionSummary$roleArn": "

The ARN of the role that grants the detector model permission to perform its tasks.

", - "LambdaAction$functionArn": "

The ARN of the Lambda function which is executed.

", + "LambdaAction$functionArn": "

The ARN of the AWS Lambda function which is executed.

", "ListTagsForResourceRequest$resourceArn": "

The ARN of the resource.

", "LoggingOptions$roleArn": "

The ARN of the role that grants permission to AWS IoT Events to perform logging.

", "SNSTopicPublishAction$targetArn": "

The ARN of the Amazon SNS target where the message is sent.

", @@ -58,8 +58,8 @@ "base": null, "refs": { "Attribute$jsonPath": "

An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to the AWS IoT Events system (BatchPutMessage). Each such message contains a JSON payload, and the attribute (and its paired value) specified here are available for use in the \"condition\" expressions used by detectors.

Syntax: <field-name>.<field-name>...

", - "CreateDetectorModelRequest$key": "

The input attribute key used to identify a device or system in order to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.

", - "DetectorModelConfiguration$key": "

The input attribute key used to identify a device or system in order to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.

" + "CreateDetectorModelRequest$key": "

The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.

", + "DetectorModelConfiguration$key": "

The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression to specify the attribute-value pair in the message payload of each input that is used to identify the device associated with the input.

" } }, "Attributes": { @@ -124,7 +124,7 @@ "DeliveryStreamName": { "base": null, "refs": { - "FirehoseAction$deliveryStreamName": "

The name of the Kinesis Data Firehose stream where the data is written.

" + "FirehoseAction$deliveryStreamName": "

The name of the Kinesis Data Firehose delivery stream where the data is written.

" } }, "DescribeDetectorModelRequest": { @@ -260,6 +260,15 @@ "DetectorModelVersionSummaries$member": null } }, + "EvaluationMethod": { + "base": null, + "refs": { + "CreateDetectorModelRequest$evaluationMethod": "

When set to SERIAL, variables are updated and event conditions evaluated in the order that the events are defined. When set to BATCH, variables are updated and events performed only after all event conditions are evaluated.

", + "DetectorModelConfiguration$evaluationMethod": "

When set to SERIAL, variables are updated and event conditions evaluated in the order that the events are defined. When set to BATCH, variables are updated and events performed only after all event conditions are evaluated.

", + "DetectorModelVersionSummary$evaluationMethod": "

When set to SERIAL, variables are updated and event conditions evaluated in the order that the events are defined. When set to BATCH, variables are updated and events performed only after all event conditions are evaluated.

", + "UpdateDetectorModelRequest$evaluationMethod": "

When set to SERIAL, variables are updated and event conditions evaluated in the order that the events are defined. When set to BATCH, variables are updated and events performed only after all event conditions are evaluated.

" + } + }, "Event": { "base": "

Specifies the \"actions\" to be performed when the \"condition\" evaluates to TRUE.

", "refs": { @@ -282,15 +291,15 @@ } }, "FirehoseAction": { - "base": "

Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose stream.

", + "base": "

Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose delivery stream.

", "refs": { - "Action$firehose": "

Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose stream.

" + "Action$firehose": "

Sends information about the detector model instance and the event which triggered the action to a Kinesis Data Firehose delivery stream.

" } }, "FirehoseSeparator": { "base": null, "refs": { - "FirehoseAction$separator": "

A character separator that is used to separate records written to the Kinesis Data Firehose stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma).

" + "FirehoseAction$separator": "

A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma).

" } }, "Input": { @@ -391,9 +400,9 @@ } }, "LambdaAction": { - "base": "

Calls a Lambda function, passing in information about the detector model instance and the event which triggered the action.

", + "base": "

Calls an AWS Lambda function, passing in information about the detector model instance and the event which triggered the action.

", "refs": { - "Action$lambda": "

Calls a Lambda function, passing in information about the detector model instance and the event which triggered the action.

" + "Action$lambda": "

Calls an AWS Lambda function, passing in information about the detector model instance and the event which triggered the action.

" } }, "LimitExceededException": { @@ -511,7 +520,7 @@ "QueueUrl": { "base": null, "refs": { - "SqsAction$queueUrl": "

The URL of the SQS queue where the data is written.

" + "SqsAction$queueUrl": "

The URL of the Amazon SQS queue where the data is written.

" } }, "ResetTimerAction": { @@ -565,9 +574,9 @@ } }, "SqsAction": { - "base": "

Sends information about the detector model instance and the event which triggered the action to an AWS SQS queue.

", + "base": "

Sends information about the detector model instance and the event which triggered the action to an Amazon SQS queue.

", "refs": { - "Action$sqs": "

Sends information about the detector model instance and the event which triggered the action to an AWS SQS queue.

" + "Action$sqs": "

Sends information about the detector model instance and the event which triggered the action to an Amazon SQS queue.

" } }, "State": { diff --git a/models/apis/opsworkscm/2016-11-01/api-2.json b/models/apis/opsworkscm/2016-11-01/api-2.json index f94ed1e9f1..cdf9aa01e7 100644 --- a/models/apis/opsworkscm/2016-11-01/api-2.json +++ b/models/apis/opsworkscm/2016-11-01/api-2.json @@ -273,7 +273,11 @@ "min":1, "pattern":"[A-Z][A-Z0-9_]*" }, - "AttributeValue":{"type":"string"}, + "AttributeValue":{ + "type":"string", + "max":10000, + "pattern":"(?s).*" + }, "Backup":{ "type":"structure", "members":{ @@ -311,7 +315,8 @@ }, "BackupId":{ "type":"string", - "max":79 + "max":79, + "pattern":"[a-zA-Z][a-zA-Z0-9\\-\\.\\:]*" }, "BackupRetentionCountDefinition":{ "type":"integer", @@ -362,6 +367,9 @@ ], "members":{ "AssociatePublicIpAddress":{"shape":"Boolean"}, + "CustomDomain":{"shape":"CustomDomain"}, + "CustomCertificate":{"shape":"CustomCertificate"}, + "CustomPrivateKey":{"shape":"CustomPrivateKey"}, "DisableAutomatedBackup":{"shape":"Boolean"}, "Engine":{"shape":"String"}, "EngineModel":{"shape":"String"}, @@ -386,6 +394,22 @@ "Server":{"shape":"Server"} } }, + "CustomCertificate":{ + "type":"string", + "max":2097152, + "pattern":"(?s)\\s*-----BEGIN CERTIFICATE-----.+-----END CERTIFICATE-----\\s*" + }, + "CustomDomain":{ + "type":"string", + "max":253, + "pattern":"^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$" + }, + "CustomPrivateKey":{ + "type":"string", + "max":4096, + "pattern":"(?ms)\\s*^-----BEGIN (?-s:.*)PRIVATE KEY-----$.*?^-----END (?-s:.*)PRIVATE KEY-----$\\s*", + "sensitive":true + }, "DeleteBackupRequest":{ "type":"structure", "required":["BackupId"], @@ -511,9 +535,15 @@ "Value":{"shape":"EngineAttributeValue"} } }, - "EngineAttributeName":{"type":"string"}, + "EngineAttributeName":{ + "type":"string", + "max":10000, + "pattern":"(?s).*" + }, "EngineAttributeValue":{ "type":"string", + "max":10000, + "pattern":"(?s).*", "sensitive":true }, "EngineAttributes":{ @@ -541,6 +571,7 @@ }, "InstanceProfileArn":{ "type":"string", + "max":10000, "pattern":"arn:aws:iam::[0-9]{12}:instance-profile/.*" }, "Integer":{"type":"integer"}, @@ -558,7 +589,11 @@ }, "exception":true }, - "KeyPair":{"type":"string"}, + "KeyPair":{ + "type":"string", + "max":10000, + "pattern":".*" + }, "LimitExceededException":{ "type":"structure", "members":{ @@ -577,7 +612,11 @@ "type":"integer", "min":1 }, - "NextToken":{"type":"string"}, + "NextToken":{ + "type":"string", + "max":10000, + "pattern":"(?s).*" + }, "NodeAssociationStatus":{ "type":"string", "enum":[ @@ -586,9 +625,14 @@ "IN_PROGRESS" ] }, - "NodeAssociationStatusToken":{"type":"string"}, + "NodeAssociationStatusToken":{ + "type":"string", + "max":10000, + "pattern":"(?s).*" + }, "NodeName":{ "type":"string", + "max":10000, "pattern":"^[\\-\\p{Alnum}_:.]+$" }, "ResourceAlreadyExistsException":{ @@ -631,6 +675,7 @@ "ServerName":{"shape":"String"}, "CreatedAt":{"shape":"Timestamp"}, "CloudFormationStackArn":{"shape":"String"}, + "CustomDomain":{"shape":"CustomDomain"}, "DisableAutomatedBackup":{"shape":"Boolean"}, "Endpoint":{"shape":"String"}, "Engine":{"shape":"String"}, @@ -694,6 +739,7 @@ }, "ServiceRoleArn":{ "type":"string", + "max":10000, "pattern":"arn:aws:iam::[0-9]{12}:role/.*" }, "StartMaintenanceRequest":{ @@ -710,13 +756,18 @@ "Server":{"shape":"Server"} } }, - "String":{"type":"string"}, + "String":{ + "type":"string", + "max":10000, + "pattern":"(?s).*" + }, "Strings":{ "type":"list", "member":{"shape":"String"} }, "TimeWindowDefinition":{ "type":"string", + "max":10000, "pattern":"^((Mon|Tue|Wed|Thu|Fri|Sat|Sun):)?([0-1][0-9]|2[0-3]):[0-5][0-9]$" }, "Timestamp":{"type":"timestamp"}, diff --git a/models/apis/opsworkscm/2016-11-01/docs-2.json b/models/apis/opsworkscm/2016-11-01/docs-2.json index b8a991c5d4..68b2cecaa5 100644 --- a/models/apis/opsworkscm/2016-11-01/docs-2.json +++ b/models/apis/opsworkscm/2016-11-01/docs-2.json @@ -4,7 +4,7 @@ "operations": { "AssociateNode": "

Associates a new node with the server. For more information about how to disassociate a node, see DisassociateNode.

On a Chef server: This command is an alternative to knife bootstrap.

Example (Chef): aws opsworks-cm associate-node --server-name MyServer --node-name MyManagedNode --engine-attributes \"Name=CHEF_ORGANIZATION,Value=default\" \"Name=CHEF_NODE_PUBLIC_KEY,Value=public-key-pem\"

On a Puppet server, this command is an alternative to the puppet cert sign command that signs a Puppet node CSR.

Example (Chef): aws opsworks-cm associate-node --server-name MyServer --node-name MyManagedNode --engine-attributes \"Name=PUPPET_NODE_CSR,Value=csr-pem\"

A node can can only be associated with servers that are in a HEALTHY state. Otherwise, an InvalidStateException is thrown. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid. The AssociateNode API call can be integrated into Auto Scaling configurations, AWS Cloudformation templates, or the user data of a server's instance.

", "CreateBackup": "

Creates an application-level backup of a server. While the server is in the BACKING_UP state, the server cannot be changed, and no additional backup can be created.

Backups can be created for servers in RUNNING, HEALTHY, and UNHEALTHY states. By default, you can create a maximum of 50 manual backups.

This operation is asynchronous.

A LimitExceededException is thrown when the maximum number of manual backups is reached. An InvalidStateException is thrown when the server is not in any of the following states: RUNNING, HEALTHY, or UNHEALTHY. A ResourceNotFoundException is thrown when the server is not found. A ValidationException is thrown when parameters of the request are not valid.

", - "CreateServer": "

Creates and immedately starts a new server. The server is ready to use when it is in the HEALTHY state. By default, you can create a maximum of 10 servers.

This operation is asynchronous.

A LimitExceededException is thrown when you have created the maximum number of servers (10). A ResourceAlreadyExistsException is thrown when a server with the same name already exists in the account. A ResourceNotFoundException is thrown when you specify a backup ID that is not valid or is for a backup that does not exist. A ValidationException is thrown when parameters of the request are not valid.

If you do not specify a security group by adding the SecurityGroupIds parameter, AWS OpsWorks creates a new security group.

Chef Automate: The default security group opens the Chef server to the world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.

Puppet Enterprise: The default security group opens TCP ports 22, 443, 4433, 8140, 8142, 8143, and 8170. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.

By default, your server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console.

", + "CreateServer": "

Creates and immedately starts a new server. The server is ready to use when it is in the HEALTHY state. By default, you can create a maximum of 10 servers.

This operation is asynchronous.

A LimitExceededException is thrown when you have created the maximum number of servers (10). A ResourceAlreadyExistsException is thrown when a server with the same name already exists in the account. A ResourceNotFoundException is thrown when you specify a backup ID that is not valid or is for a backup that does not exist. A ValidationException is thrown when parameters of the request are not valid.

If you do not specify a security group by adding the SecurityGroupIds parameter, AWS OpsWorks creates a new security group.

Chef Automate: The default security group opens the Chef server to the world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.

Puppet Enterprise: The default security group opens TCP ports 22, 443, 4433, 8140, 8142, 8143, and 8170. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.

By default, your server is accessible from any IP address. We recommend that you update your security group rules to allow access from known IP addresses and address ranges only. To edit security group rules, open Security Groups in the navigation pane of the EC2 management console.

To specify your own domain for a server, and provide your own self-signed or CA-signed certificate and private key, specify values for CustomDomain, CustomCertificate, and CustomPrivateKey.

", "DeleteBackup": "

Deletes a backup. You can delete both manual and automated backups. This operation is asynchronous.

An InvalidStateException is thrown when a backup deletion is already in progress. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is thrown when parameters of the request are not valid.

", "DeleteServer": "

Deletes the server and the underlying AWS CloudFormation stacks (including the server's EC2 instance). When you run this command, the server state is updated to DELETING. After the server is deleted, it is no longer returned by DescribeServer requests. If the AWS CloudFormation stack cannot be deleted, the server cannot be deleted.

This operation is asynchronous.

An InvalidStateException is thrown when a server deletion is already in progress. A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid.

", "DescribeAccountAttributes": "

Describes your OpsWorks-CM account attributes.

This operation is synchronous.

", @@ -125,6 +125,25 @@ "refs": { } }, + "CustomCertificate": { + "base": null, + "refs": { + "CreateServerRequest$CustomCertificate": "

A PEM-formatted HTTPS certificate. The value can be be a single, self-signed certificate, or a certificate chain. If you specify a custom certificate, you must also specify values for CustomDomain and CustomPrivateKey. The following are requirements for the CustomCertificate value:

" + } + }, + "CustomDomain": { + "base": null, + "refs": { + "CreateServerRequest$CustomDomain": "

An optional public endpoint of a server, such as https://aws.my-company.com. To access the server, create a CNAME DNS record in your preferred DNS service that points the custom domain to the endpoint that is generated when the server is created (the value of the CreateServer Endpoint attribute). You cannot access the server by using the generated Endpoint value if the server is using a custom domain. If you specify a custom domain, you must also specify values for CustomCertificate and CustomPrivateKey.

", + "Server$CustomDomain": "

An optional public endpoint of a server, such as https://aws.my-company.com. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

" + } + }, + "CustomPrivateKey": { + "base": null, + "refs": { + "CreateServerRequest$CustomPrivateKey": "

A private key in PEM format for connecting to the server by using HTTPS. The private key must not be encrypted; it cannot be protected by a password or passphrase. If you specify a custom private key, you must also specify values for CustomDomain and CustomCertificate.

" + } + }, "DeleteBackupRequest": { "base": null, "refs": { @@ -453,7 +472,7 @@ "RestoreServerRequest$InstanceType": "

The type of the instance to create. Valid values must be specified in the following format: ^([cm][34]|t2).* For example, m5.large. Valid values are m5.large, r5.xlarge, and r5.2xlarge. If you do not specify this parameter, RestoreServer uses the instance type from the specified backup.

", "Server$ServerName": "

The name of the server.

", "Server$CloudFormationStackArn": "

The ARN of the CloudFormation stack that was used to create the server.

", - "Server$Endpoint": "

A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io

", + "Server$Endpoint": "

A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io. You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

", "Server$Engine": "

The engine type of the server. Valid values in this release include ChefAutomate and Puppet.

", "Server$EngineModel": "

The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.

", "Server$EngineVersion": "

The engine version of the server. For a Chef server, the valid value for EngineVersion is currently 12. For a Puppet server, the valid value is 2017.

", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index adebdcb348..d5aa0a429d 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -3505,6 +3505,27 @@ "us-west-2" : { } } }, + "transcribe" : { + "defaults" : { + "protocols" : [ "https" ] + }, + "endpoints" : { + "ap-northeast-2" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } + } + }, "transfer" : { "endpoints" : { "ap-northeast-1" : { }, @@ -4100,6 +4121,25 @@ "cn-north-1" : { }, "cn-northwest-1" : { } } + }, + "transcribe" : { + "defaults" : { + "protocols" : [ "https" ] + }, + "endpoints" : { + "cn-north-1" : { + "credentialScope" : { + "region" : "cn-north-1" + }, + "hostname" : "cn.transcribe.cn-north-1.amazonaws.com.cn" + }, + "cn-northwest-1" : { + "credentialScope" : { + "region" : "cn-northwest-1" + }, + "hostname" : "cn.transcribe.cn-northwest-1.amazonaws.com.cn" + } + } } } }, { @@ -4816,6 +4856,14 @@ "us-gov-west-1" : { } } }, + "transcribe" : { + "defaults" : { + "protocols" : [ "https" ] + }, + "endpoints" : { + "us-gov-west-1" : { } + } + }, "translate" : { "defaults" : { "protocols" : [ "https" ] diff --git a/service/iotevents/api.go b/service/iotevents/api.go index 551a03fef9..954cf1a17d 100644 --- a/service/iotevents/api.go +++ b/service/iotevents/api.go @@ -1557,7 +1557,7 @@ type ActionData struct { ClearTimer *ClearTimerAction `locationName:"clearTimer" type:"structure"` // Sends information about the detector model instance and the event which triggered - // the action to a Kinesis Data Firehose stream. + // the action to a Kinesis Data Firehose delivery stream. Firehose *FirehoseAction `locationName:"firehose" type:"structure"` // Sends an IoT Events input, passing in information about the detector model @@ -1567,7 +1567,7 @@ type ActionData struct { // Publishes an MQTT message with the given topic to the AWS IoT message broker. IotTopicPublish *IotTopicPublishAction `locationName:"iotTopicPublish" type:"structure"` - // Calls a Lambda function, passing in information about the detector model + // Calls an AWS Lambda function, passing in information about the detector model // instance and the event which triggered the action. Lambda *LambdaAction `locationName:"lambda" type:"structure"` @@ -1584,7 +1584,7 @@ type ActionData struct { Sns *SNSTopicPublishAction `locationName:"sns" type:"structure"` // Sends information about the detector model instance and the event which triggered - // the action to an AWS SQS queue. + // the action to an Amazon SQS queue. Sqs *SqsAction `locationName:"sqs" type:"structure"` } @@ -1829,11 +1829,16 @@ type CreateDetectorModelInput struct { // DetectorModelName is a required field DetectorModelName *string `locationName:"detectorModelName" min:"1" type:"string" required:"true"` - // The input attribute key used to identify a device or system in order to create - // a detector (an instance of the detector model) and then to route each input - // received to the appropriate detector (instance). This parameter uses a JSON-path - // expression to specify the attribute-value pair in the message payload of - // each input that is used to identify the device associated with the input. + // When set to SERIAL, variables are updated and event conditions evaluated + // in the order that the events are defined. When set to BATCH, variables are + // updated and events performed only after all event conditions are evaluated. + EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` + + // The input attribute key used to identify a device or system to create a detector + // (an instance of the detector model) and then to route each input received + // to the appropriate detector (instance). This parameter uses a JSON-path expression + // to specify the attribute-value pair in the message payload of each input + // that is used to identify the device associated with the input. Key *string `locationName:"key" min:"1" type:"string"` // The ARN of the role that grants permission to AWS IoT Events to perform its @@ -1917,6 +1922,12 @@ func (s *CreateDetectorModelInput) SetDetectorModelName(v string) *CreateDetecto return s } +// SetEvaluationMethod sets the EvaluationMethod field's value. +func (s *CreateDetectorModelInput) SetEvaluationMethod(v string) *CreateDetectorModelInput { + s.EvaluationMethod = &v + return s +} + // SetKey sets the Key field's value. func (s *CreateDetectorModelInput) SetKey(v string) *CreateDetectorModelInput { s.Key = &v @@ -2464,11 +2475,16 @@ type DetectorModelConfiguration struct { // The version of the detector model. DetectorModelVersion *string `locationName:"detectorModelVersion" min:"1" type:"string"` - // The input attribute key used to identify a device or system in order to create - // a detector (an instance of the detector model) and then to route each input - // received to the appropriate detector (instance). This parameter uses a JSON-path - // expression to specify the attribute-value pair in the message payload of - // each input that is used to identify the device associated with the input. + // When set to SERIAL, variables are updated and event conditions evaluated + // in the order that the events are defined. When set to BATCH, variables are + // updated and events performed only after all event conditions are evaluated. + EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` + + // The input attribute key used to identify a device or system to create a detector + // (an instance of the detector model) and then to route each input received + // to the appropriate detector (instance). This parameter uses a JSON-path expression + // to specify the attribute-value pair in the message payload of each input + // that is used to identify the device associated with the input. Key *string `locationName:"key" min:"1" type:"string"` // The time the detector model was last updated. @@ -2522,6 +2538,12 @@ func (s *DetectorModelConfiguration) SetDetectorModelVersion(v string) *Detector return s } +// SetEvaluationMethod sets the EvaluationMethod field's value. +func (s *DetectorModelConfiguration) SetEvaluationMethod(v string) *DetectorModelConfiguration { + s.EvaluationMethod = &v + return s +} + // SetKey sets the Key field's value. func (s *DetectorModelConfiguration) SetKey(v string) *DetectorModelConfiguration { s.Key = &v @@ -2673,6 +2695,11 @@ type DetectorModelVersionSummary struct { // The ID of the detector model version. DetectorModelVersion *string `locationName:"detectorModelVersion" min:"1" type:"string"` + // When set to SERIAL, variables are updated and event conditions evaluated + // in the order that the events are defined. When set to BATCH, variables are + // updated and events performed only after all event conditions are evaluated. + EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` + // The last time the detector model version was updated. LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"` @@ -2718,6 +2745,12 @@ func (s *DetectorModelVersionSummary) SetDetectorModelVersion(v string) *Detecto return s } +// SetEvaluationMethod sets the EvaluationMethod field's value. +func (s *DetectorModelVersionSummary) SetEvaluationMethod(v string) *DetectorModelVersionSummary { + s.EvaluationMethod = &v + return s +} + // SetLastUpdateTime sets the LastUpdateTime field's value. func (s *DetectorModelVersionSummary) SetLastUpdateTime(v time.Time) *DetectorModelVersionSummary { s.LastUpdateTime = &v @@ -2807,18 +2840,18 @@ func (s *Event) SetEventName(v string) *Event { } // Sends information about the detector model instance and the event which triggered -// the action to a Kinesis Data Firehose stream. +// the action to a Kinesis Data Firehose delivery stream. type FirehoseAction struct { _ struct{} `type:"structure"` - // The name of the Kinesis Data Firehose stream where the data is written. + // The name of the Kinesis Data Firehose delivery stream where the data is written. // // DeliveryStreamName is a required field DeliveryStreamName *string `locationName:"deliveryStreamName" type:"string" required:"true"` // A character separator that is used to separate records written to the Kinesis - // Data Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' - // (Windows newline), ',' (comma). + // Data Firehose delivery stream. Valid values are: '\n' (newline), '\t' (tab), + // '\r\n' (Windows newline), ',' (comma). Separator *string `locationName:"separator" type:"string"` } @@ -3137,12 +3170,12 @@ func (s *IotTopicPublishAction) SetMqttTopic(v string) *IotTopicPublishAction { return s } -// Calls a Lambda function, passing in information about the detector model +// Calls an AWS Lambda function, passing in information about the detector model // instance and the event which triggered the action. type LambdaAction struct { _ struct{} `type:"structure"` - // The ARN of the Lambda function which is executed. + // The ARN of the AWS Lambda function which is executed. // // FunctionArn is a required field FunctionArn *string `locationName:"functionArn" min:"1" type:"string" required:"true"` @@ -4001,11 +4034,11 @@ func (s *SetVariableAction) SetVariableName(v string) *SetVariableAction { } // Sends information about the detector model instance and the event which triggered -// the action to an AWS SQS queue. +// the action to an Amazon SQS queue. type SqsAction struct { _ struct{} `type:"structure"` - // The URL of the SQS queue where the data is written. + // The URL of the Amazon SQS queue where the data is written. // // QueueUrl is a required field QueueUrl *string `locationName:"queueUrl" type:"string" required:"true"` @@ -4447,6 +4480,11 @@ type UpdateDetectorModelInput struct { // DetectorModelName is a required field DetectorModelName *string `location:"uri" locationName:"detectorModelName" min:"1" type:"string" required:"true"` + // When set to SERIAL, variables are updated and event conditions evaluated + // in the order that the events are defined. When set to BATCH, variables are + // updated and events performed only after all event conditions are evaluated. + EvaluationMethod *string `locationName:"evaluationMethod" type:"string" enum:"EvaluationMethod"` + // The ARN of the role that grants permission to AWS IoT Events to perform its // operations. // @@ -4512,6 +4550,12 @@ func (s *UpdateDetectorModelInput) SetDetectorModelName(v string) *UpdateDetecto return s } +// SetEvaluationMethod sets the EvaluationMethod field's value. +func (s *UpdateDetectorModelInput) SetEvaluationMethod(v string) *UpdateDetectorModelInput { + s.EvaluationMethod = &v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *UpdateDetectorModelInput) SetRoleArn(v string) *UpdateDetectorModelInput { s.RoleArn = &v @@ -4656,6 +4700,14 @@ const ( DetectorModelVersionStatusFailed = "FAILED" ) +const ( + // EvaluationMethodBatch is a EvaluationMethod enum value + EvaluationMethodBatch = "BATCH" + + // EvaluationMethodSerial is a EvaluationMethod enum value + EvaluationMethodSerial = "SERIAL" +) + const ( // InputStatusCreating is a InputStatus enum value InputStatusCreating = "CREATING" diff --git a/service/opsworkscm/api.go b/service/opsworkscm/api.go index 6f4189dac0..d606d51933 100644 --- a/service/opsworkscm/api.go +++ b/service/opsworkscm/api.go @@ -292,6 +292,10 @@ func (c *OpsWorksCM) CreateServerRequest(input *CreateServerInput) (req *request // and address ranges only. To edit security group rules, open Security Groups // in the navigation pane of the EC2 management console. // +// To specify your own domain for a server, and provide your own self-signed +// or CA-signed certificate and private key, specify values for CustomDomain, +// CustomCertificate, and CustomPrivateKey. +// // 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. @@ -2012,6 +2016,42 @@ type CreateServerInput struct { // exceeded. The default value is 1. BackupRetentionCount *int64 `min:"1" type:"integer"` + // A PEM-formatted HTTPS certificate. The value can be be a single, self-signed + // certificate, or a certificate chain. If you specify a custom certificate, + // you must also specify values for CustomDomain and CustomPrivateKey. The following + // are requirements for the CustomCertificate value: + // + // * You can provide either a self-signed, custom certificate, or the full + // certificate chain. + // + // * The certificate must be a valid X509 certificate, or a certificate chain + // in PEM format. + // + // * The certificate must be valid at the time of upload. A certificate can't + // be used before its validity period begins (the certificate's NotBefore + // date), or after it expires (the certificate's NotAfter date). + // + // * The certificate’s common name or subject alternative names (SANs), + // if present, must match the value of CustomDomain. + // + // * The certificate must match the value of CustomPrivateKey. + CustomCertificate *string `type:"string"` + + // An optional public endpoint of a server, such as https://aws.my-company.com. + // To access the server, create a CNAME DNS record in your preferred DNS service + // that points the custom domain to the endpoint that is generated when the + // server is created (the value of the CreateServer Endpoint attribute). You + // cannot access the server by using the generated Endpoint value if the server + // is using a custom domain. If you specify a custom domain, you must also specify + // values for CustomCertificate and CustomPrivateKey. + CustomDomain *string `type:"string"` + + // A private key in PEM format for connecting to the server by using HTTPS. + // The private key must not be encrypted; it cannot be protected by a password + // or passphrase. If you specify a custom private key, you must also specify + // values for CustomDomain and CustomCertificate. + CustomPrivateKey *string `type:"string" sensitive:"true"` + // Enable or disable scheduled backups. Valid values are true or false. The // default value is true. DisableAutomatedBackup *bool `type:"boolean"` @@ -2201,6 +2241,24 @@ func (s *CreateServerInput) SetBackupRetentionCount(v int64) *CreateServerInput return s } +// SetCustomCertificate sets the CustomCertificate field's value. +func (s *CreateServerInput) SetCustomCertificate(v string) *CreateServerInput { + s.CustomCertificate = &v + return s +} + +// SetCustomDomain sets the CustomDomain field's value. +func (s *CreateServerInput) SetCustomDomain(v string) *CreateServerInput { + s.CustomDomain = &v + return s +} + +// SetCustomPrivateKey sets the CustomPrivateKey field's value. +func (s *CreateServerInput) SetCustomPrivateKey(v string) *CreateServerInput { + s.CustomPrivateKey = &v + return s +} + // SetDisableAutomatedBackup sets the DisableAutomatedBackup field's value. func (s *CreateServerInput) SetDisableAutomatedBackup(v bool) *CreateServerInput { s.DisableAutomatedBackup = &v @@ -3203,11 +3261,18 @@ type Server struct { // Time stamp of server creation. Example 2016-07-29T13:38:47.520Z CreatedAt *time.Time `type:"timestamp"` + // An optional public endpoint of a server, such as https://aws.my-company.com. + // You cannot access the server by using the Endpoint value if the server has + // a CustomDomain specified. + CustomDomain *string `type:"string"` + // Disables automated backups. The number of stored backups is dependent on // the value of PreferredBackupCount. DisableAutomatedBackup *bool `type:"boolean"` - // A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io + // A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io. + // You cannot access the server by using the Endpoint value if the server has + // a CustomDomain specified. Endpoint *string `type:"string"` // The engine type of the server. Valid values in this release include ChefAutomate @@ -3330,6 +3395,12 @@ func (s *Server) SetCreatedAt(v time.Time) *Server { return s } +// SetCustomDomain sets the CustomDomain field's value. +func (s *Server) SetCustomDomain(v string) *Server { + s.CustomDomain = &v + return s +} + // SetDisableAutomatedBackup sets the DisableAutomatedBackup field's value. func (s *Server) SetDisableAutomatedBackup(v bool) *Server { s.DisableAutomatedBackup = &v