From 540615210bad312028c2abc168fbb9f36eb883ef Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:03:56 -0400 Subject: [PATCH] Release v1.50.36 (2024-03-11) (#5193) Release v1.50.36 (2024-03-11) === ### Service Client Updates * `service/codestar-connections`: Updates service API and documentation * `service/elasticache`: Updates service documentation * Revisions to API text that are now to be carried over to SDK text, changing usages of "SFO" in code examples to "us-west-1", and some other typos. * `service/mediapackagev2`: Updates service API and documentation --- CHANGELOG.md | 9 ++ aws/version.go | 2 +- .../2019-12-01/api-2.json | 26 +++- .../2019-12-01/docs-2.json | 16 +++ .../apis/elasticache/2015-02-02/docs-2.json | 10 +- .../apis/mediapackagev2/2022-12-25/api-2.json | 34 ++++- .../mediapackagev2/2022-12-25/docs-2.json | 17 +++ service/codestarconnections/api.go | 86 ++++++++++++ service/elasticache/api.go | 26 ++-- service/mediapackagev2/api.go | 132 ++++++++++++++++++ 10 files changed, 331 insertions(+), 27 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 888f5826067..5a73746dd40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.50.36 (2024-03-11) +=== + +### Service Client Updates +* `service/codestar-connections`: Updates service API and documentation +* `service/elasticache`: Updates service documentation + * Revisions to API text that are now to be carried over to SDK text, changing usages of "SFO" in code examples to "us-west-1", and some other typos. +* `service/mediapackagev2`: Updates service API and documentation + Release v1.50.35 (2024-03-08) === diff --git a/aws/version.go b/aws/version.go index e3c577e1f3b..00d21e270f2 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.50.35" +const SDKVersion = "1.50.36" diff --git a/models/apis/codestar-connections/2019-12-01/api-2.json b/models/apis/codestar-connections/2019-12-01/api-2.json index 10cb3151698..bda461e485b 100644 --- a/models/apis/codestar-connections/2019-12-01/api-2.json +++ b/models/apis/codestar-connections/2019-12-01/api-2.json @@ -591,7 +591,9 @@ "RepositoryLinkId":{"shape":"RepositoryLinkId"}, "ResourceName":{"shape":"ResourceName"}, "RoleArn":{"shape":"IamRoleArn"}, - "SyncType":{"shape":"SyncConfigurationType"} + "SyncType":{"shape":"SyncConfigurationType"}, + "PublishDeploymentStatus":{"shape":"PublishDeploymentStatus"}, + "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"} } }, "CreateSyncConfigurationOutput":{ @@ -985,6 +987,13 @@ "GitLabSelfManaged" ] }, + "PublishDeploymentStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "RepositoryLinkArn":{ "type":"string", "pattern":"^arn:aws(?:-[a-z]+)*:codestar-connections:[a-z\\-0-9]+:\\d{12}:repository-link\\/[a-zA-Z0-9\\-:/]+" @@ -1296,7 +1305,9 @@ "RepositoryName":{"shape":"RepositoryName"}, "ResourceName":{"shape":"ResourceName"}, "RoleArn":{"shape":"IamRoleArn"}, - "SyncType":{"shape":"SyncConfigurationType"} + "SyncType":{"shape":"SyncConfigurationType"}, + "PublishDeploymentStatus":{"shape":"PublishDeploymentStatus"}, + "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"} } }, "SyncConfigurationList":{ @@ -1380,6 +1391,13 @@ "min":1, "pattern":"[\\s\\S]*" }, + "TriggerResourceUpdateOn":{ + "type":"string", + "enum":[ + "ANY_CHANGE", + "FILE_CHANGE" + ] + }, "Type":{"type":"string"}, "UnsupportedOperationException":{ "type":"structure", @@ -1487,7 +1505,9 @@ "RepositoryLinkId":{"shape":"RepositoryLinkId"}, "ResourceName":{"shape":"ResourceName"}, "RoleArn":{"shape":"IamRoleArn"}, - "SyncType":{"shape":"SyncConfigurationType"} + "SyncType":{"shape":"SyncConfigurationType"}, + "PublishDeploymentStatus":{"shape":"PublishDeploymentStatus"}, + "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"} } }, "UpdateSyncConfigurationOutput":{ diff --git a/models/apis/codestar-connections/2019-12-01/docs-2.json b/models/apis/codestar-connections/2019-12-01/docs-2.json index c4298deb9b1..41ea3e9d414 100644 --- a/models/apis/codestar-connections/2019-12-01/docs-2.json +++ b/models/apis/codestar-connections/2019-12-01/docs-2.json @@ -530,6 +530,14 @@ "SyncConfiguration$ProviderType": "

The connection provider type associated with a specific sync configuration, such as GitHub.

" } }, + "PublishDeploymentStatus": { + "base": null, + "refs": { + "CreateSyncConfigurationInput$PublishDeploymentStatus": "

Whether to enable or disable publishing of deployment status to source providers.

", + "SyncConfiguration$PublishDeploymentStatus": "

Whether to enable or disable publishing of deployment status to source providers.

", + "UpdateSyncConfigurationInput$PublishDeploymentStatus": "

Whether to enable or disable publishing of deployment status to source providers.

" + } + }, "RepositoryLinkArn": { "base": null, "refs": { @@ -882,6 +890,14 @@ "VpcConfiguration$TlsCertificate": "

The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.

" } }, + "TriggerResourceUpdateOn": { + "base": null, + "refs": { + "CreateSyncConfigurationInput$TriggerResourceUpdateOn": "

When to trigger Git sync to begin the stack update.

", + "SyncConfiguration$TriggerResourceUpdateOn": "

When to trigger Git sync to begin the stack update.

", + "UpdateSyncConfigurationInput$TriggerResourceUpdateOn": "

When to trigger Git sync to begin the stack update.

" + } + }, "Type": { "base": null, "refs": { diff --git a/models/apis/elasticache/2015-02-02/docs-2.json b/models/apis/elasticache/2015-02-02/docs-2.json index e8bf22bcff3..4e78fc97672 100644 --- a/models/apis/elasticache/2015-02-02/docs-2.json +++ b/models/apis/elasticache/2015-02-02/docs-2.json @@ -14,7 +14,7 @@ "CreateCacheSecurityGroup": "

Creates a new cache security group. Use a cache security group to control access to one or more clusters.

Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.

", "CreateCacheSubnetGroup": "

Creates a new cache subnet group.

Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).

", "CreateGlobalReplicationGroup": "

Global Datastore for Redis offers fully managed, fast, reliable and secure cross-region replication. Using Global Datastore for Redis, you can create cross-region read replica clusters for ElastiCache for Redis to enable low-latency reads and disaster recovery across regions. For more information, see Replication Across Regions Using Global Datastore.

", - "CreateReplicationGroup": "

Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group.

This API can be used to create a standalone regional replication group or a secondary replication group associated with a Global datastore.

A Redis (cluster mode disabled) replication group is a collection of clusters, where one of the clusters is a read/write primary and the others are read-only replicas. Writes to the primary are asynchronously propagated to the replicas.

A Redis cluster-mode enabled cluster is comprised of from 1 to 90 shards (API/CLI: node groups). Each shard has a primary node and up to 5 read-only replica nodes. The configuration can range from 90 shards and 0 replicas to 15 shards and 5 replicas, which is the maximum number or replicas allowed.

The node or shard limit can be increased to a maximum of 500 per cluster if the Redis engine version is 5.0.6 or higher. For example, you can choose to configure a 500 node cluster that ranges between 83 shards (one primary and 5 replicas per shard) and 500 shards (single primary and no replicas). Make sure there are enough available IP addresses to accommodate the increase. Common pitfalls include the subnets in the subnet group have too small a CIDR range or the subnets are shared and heavily used by other clusters. For more information, see Creating a Subnet Group. For versions below 5.0.6, the limit is 250 per cluster.

To request a limit increase, see Amazon Service Limits and choose the limit type Nodes per cluster per instance type.

When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. If you need to increase or decrease the number of node groups (console: shards), you can avail yourself of ElastiCache for Redis' scaling. For more information, see Scaling ElastiCache for Redis Clusters in the ElastiCache User Guide.

This operation is valid for Redis only.

", + "CreateReplicationGroup": "

Creates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group.

This API can be used to create a standalone regional replication group or a secondary replication group associated with a Global datastore.

A Redis (cluster mode disabled) replication group is a collection of nodes, where one of the nodes is a read/write primary and the others are read-only replicas. Writes to the primary are asynchronously propagated to the replicas.

A Redis cluster-mode enabled cluster is comprised of from 1 to 90 shards (API/CLI: node groups). Each shard has a primary node and up to 5 read-only replica nodes. The configuration can range from 90 shards and 0 replicas to 15 shards and 5 replicas, which is the maximum number or replicas allowed.

The node or shard limit can be increased to a maximum of 500 per cluster if the Redis engine version is 5.0.6 or higher. For example, you can choose to configure a 500 node cluster that ranges between 83 shards (one primary and 5 replicas per shard) and 500 shards (single primary and no replicas). Make sure there are enough available IP addresses to accommodate the increase. Common pitfalls include the subnets in the subnet group have too small a CIDR range or the subnets are shared and heavily used by other clusters. For more information, see Creating a Subnet Group. For versions below 5.0.6, the limit is 250 per cluster.

To request a limit increase, see Amazon Service Limits and choose the limit type Nodes per cluster per instance type.

When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. If you need to increase or decrease the number of node groups (console: shards), you can avail yourself of ElastiCache for Redis' scaling. For more information, see Scaling ElastiCache for Redis Clusters in the ElastiCache User Guide.

This operation is valid for Redis only.

", "CreateServerlessCache": "

Creates a serverless cache.

", "CreateServerlessCacheSnapshot": "

This API creates a copy of an entire ServerlessCache at a specific moment in time. Available for Redis only.

", "CreateSnapshot": "

Creates a copy of an entire cluster or replication group at a specific moment in time.

This operation is valid for Redis only.

", @@ -1059,12 +1059,12 @@ } }, "Endpoint": { - "base": "

Represents the information required for client programs to connect to a cache node.

", + "base": "

Represents the information required for client programs to connect to a cache node. This value is read-only.

", "refs": { "CacheCluster$ConfigurationEndpoint": "

Represents a Memcached cluster endpoint which can be used by an application to connect to any node in the cluster. The configuration endpoint will always have .cfg in it.

Example: mem-3.9dvc4r.cfg.usw2.cache.amazonaws.com:11211

", "CacheNode$Endpoint": "

The hostname for connecting to this cache node.

", "NodeGroup$PrimaryEndpoint": "

The endpoint of the primary node in this node group (shard).

", - "NodeGroup$ReaderEndpoint": "

The endpoint of the replica nodes in this node group (shard).

", + "NodeGroup$ReaderEndpoint": "

The endpoint of the replica nodes in this node group (shard). This value is read-only.

", "NodeGroupMember$ReadEndpoint": "

The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Redis (cluster mode disabled) clusters.

", "ReplicationGroup$ConfigurationEndpoint": "

The configuration endpoint for this replication group. Use the configuration endpoint to connect to this replication group.

", "ServerlessCache$Endpoint": null, @@ -2383,7 +2383,7 @@ "CreateReplicationGroupMessage$CacheParameterGroupName": "

The name of the parameter group to associate with this replication group. If this argument is omitted, the default cache parameter group for the specified engine is used.

If you are running Redis version 3.2.4 or later, only one node group (shard), and want to use a default parameter group, we recommend that you specify the parameter group by name.

", "CreateReplicationGroupMessage$CacheSubnetGroupName": "

The name of the cache subnet group to be used for the replication group.

If you're going to launch your cluster in an Amazon VPC, you need to create a subnet group before you start creating a cluster. For more information, see Subnets and Subnet Groups.

", "CreateReplicationGroupMessage$SnapshotName": "

The name of a snapshot from which to restore data into the new replication group. The snapshot status changes to restoring while the new replication group is being created.

", - "CreateReplicationGroupMessage$PreferredMaintenanceWindow": "

Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid values for ddd are:

Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.

Valid values for ddd are:

Example: sun:23:00-mon:01:30

", + "CreateReplicationGroupMessage$PreferredMaintenanceWindow": "

Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.

Valid values for ddd are:

Example: sun:23:00-mon:01:30

", "CreateReplicationGroupMessage$NotificationTopicArn": "

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent.

The Amazon SNS topic owner must be the same as the cluster owner.

", "CreateReplicationGroupMessage$SnapshotWindow": "

The daily time range (in UTC) during which ElastiCache begins taking a daily snapshot of your node group (shard).

Example: 05:00-09:00

If you do not specify this parameter, ElastiCache automatically chooses an appropriate time range.

", "CreateReplicationGroupMessage$AuthToken": "

Reserved parameter. The password used to access a password protected server.

AuthToken can be specified only on replication groups where TransitEncryptionEnabled is true.

For HIPAA compliance, you must specify TransitEncryptionEnabled as true, an AuthToken, and a CacheSubnetGroup.

Password constraints:

For more information, see AUTH password at http://redis.io/commands/AUTH.

", @@ -2735,7 +2735,7 @@ "base": null, "refs": { "CreateServerlessCacheRequest$SubnetIds": "

A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.

", - "ServerlessCache$SubnetIds": "

If no subnet IDs are given and your VPC is in SFO, then ElastiCache will select 2 default subnets across AZs in your VPC. For all other Regions, if no subnet IDs are given then ElastiCache will select 3 default subnets across AZs in your default VPC.

" + "ServerlessCache$SubnetIds": "

If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache will select 2 default subnets across AZs in your VPC. For all other Regions, if no subnet IDs are given then ElastiCache will select 3 default subnets across AZs in your default VPC.

" } }, "SubnetInUse": { diff --git a/models/apis/mediapackagev2/2022-12-25/api-2.json b/models/apis/mediapackagev2/2022-12-25/api-2.json index b67854e0d17..39a7124cbbb 100644 --- a/models/apis/mediapackagev2/2022-12-25/api-2.json +++ b/models/apis/mediapackagev2/2022-12-25/api-2.json @@ -562,6 +562,7 @@ "EgressDomain":{"shape":"String"}, "CreatedAt":{"shape":"Timestamp"}, "ModifiedAt":{"shape":"Timestamp"}, + "ETag":{"shape":"EntityTag"}, "Description":{"shape":"ResourceDescription"}, "Tags":{"shape":"TagMap"} } @@ -609,6 +610,7 @@ "ModifiedAt":{"shape":"Timestamp"}, "Description":{"shape":"ResourceDescription"}, "IngestEndpoints":{"shape":"IngestEndpointList"}, + "ETag":{"shape":"EntityTag"}, "Tags":{"shape":"TagMap"} } }, @@ -627,7 +629,6 @@ "CreateHlsManifestConfigurationManifestWindowSecondsInteger":{ "type":"integer", "box":true, - "max":900, "min":30 }, "CreateHlsManifestConfigurationProgramDateTimeIntervalSecondsInteger":{ @@ -655,7 +656,6 @@ "CreateLowLatencyHlsManifestConfigurationManifestWindowSecondsInteger":{ "type":"integer", "box":true, - "max":900, "min":30 }, "CreateLowLatencyHlsManifestConfigurationProgramDateTimeIntervalSecondsInteger":{ @@ -734,6 +734,7 @@ "StartoverWindowSeconds":{"shape":"Integer"}, "HlsManifests":{"shape":"GetHlsManifests"}, "LowLatencyHlsManifests":{"shape":"GetLowLatencyHlsManifests"}, + "ETag":{"shape":"EntityTag"}, "Tags":{"shape":"TagMap"} } }, @@ -913,6 +914,12 @@ "CmafEncryptionMethod":{"shape":"CmafEncryptionMethod"} } }, + "EntityTag":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\S]+" + }, "FilterConfiguration":{ "type":"structure", "members":{ @@ -960,6 +967,7 @@ "CreatedAt":{"shape":"Timestamp"}, "ModifiedAt":{"shape":"Timestamp"}, "Description":{"shape":"ResourceDescription"}, + "ETag":{"shape":"EntityTag"}, "Tags":{ "shape":"TagMap", "locationName":"tags" @@ -1034,6 +1042,7 @@ "ModifiedAt":{"shape":"Timestamp"}, "Description":{"shape":"ResourceDescription"}, "IngestEndpoints":{"shape":"IngestEndpointList"}, + "ETag":{"shape":"EntityTag"}, "Tags":{"shape":"TagMap"} } }, @@ -1167,6 +1176,7 @@ "StartoverWindowSeconds":{"shape":"Integer"}, "HlsManifests":{"shape":"GetHlsManifests"}, "LowLatencyHlsManifests":{"shape":"GetLowLatencyHlsManifests"}, + "ETag":{"shape":"EntityTag"}, "Tags":{"shape":"TagMap"} } }, @@ -1673,6 +1683,11 @@ "location":"uri", "locationName":"ChannelGroupName" }, + "ETag":{ + "shape":"EntityTag", + "location":"header", + "locationName":"x-amzn-update-if-match" + }, "Description":{"shape":"ResourceDescription"} } }, @@ -1692,6 +1707,7 @@ "CreatedAt":{"shape":"Timestamp"}, "ModifiedAt":{"shape":"Timestamp"}, "Description":{"shape":"ResourceDescription"}, + "ETag":{"shape":"EntityTag"}, "Tags":{ "shape":"TagMap", "locationName":"tags" @@ -1715,6 +1731,11 @@ "location":"uri", "locationName":"ChannelName" }, + "ETag":{ + "shape":"EntityTag", + "location":"header", + "locationName":"x-amzn-update-if-match" + }, "Description":{"shape":"ResourceDescription"} } }, @@ -1735,6 +1756,7 @@ "ModifiedAt":{"shape":"Timestamp"}, "Description":{"shape":"ResourceDescription"}, "IngestEndpoints":{"shape":"IngestEndpointList"}, + "ETag":{"shape":"EntityTag"}, "Tags":{ "shape":"TagMap", "locationName":"tags" @@ -1770,7 +1792,12 @@ "Description":{"shape":"ResourceDescription"}, "StartoverWindowSeconds":{"shape":"UpdateOriginEndpointRequestStartoverWindowSecondsInteger"}, "HlsManifests":{"shape":"CreateHlsManifests"}, - "LowLatencyHlsManifests":{"shape":"CreateLowLatencyHlsManifests"} + "LowLatencyHlsManifests":{"shape":"CreateLowLatencyHlsManifests"}, + "ETag":{ + "shape":"EntityTag", + "location":"header", + "locationName":"x-amzn-update-if-match" + } } }, "UpdateOriginEndpointRequestStartoverWindowSecondsInteger":{ @@ -1804,6 +1831,7 @@ "StartoverWindowSeconds":{"shape":"Integer"}, "HlsManifests":{"shape":"GetHlsManifests"}, "LowLatencyHlsManifests":{"shape":"GetLowLatencyHlsManifests"}, + "ETag":{"shape":"EntityTag"}, "Tags":{ "shape":"TagMap", "locationName":"tags" diff --git a/models/apis/mediapackagev2/2022-12-25/docs-2.json b/models/apis/mediapackagev2/2022-12-25/docs-2.json index f0201f3fdb8..afd9e2ebe13 100644 --- a/models/apis/mediapackagev2/2022-12-25/docs-2.json +++ b/models/apis/mediapackagev2/2022-12-25/docs-2.json @@ -271,6 +271,23 @@ "Encryption$EncryptionMethod": "

The encryption method to use.

" } }, + "EntityTag": { + "base": null, + "refs": { + "CreateChannelGroupResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "CreateChannelResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "CreateOriginEndpointResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "GetChannelGroupResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "GetChannelResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "GetOriginEndpointResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "UpdateChannelGroupRequest$ETag": "

The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.

", + "UpdateChannelGroupResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "UpdateChannelRequest$ETag": "

The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.

", + "UpdateChannelResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

", + "UpdateOriginEndpointRequest$ETag": "

The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected.

", + "UpdateOriginEndpointResponse$ETag": "

The current Entity Tag (ETag) associated with this resource. The entity tag can be used to safely make concurrent updates to the resource.

" + } + }, "FilterConfiguration": { "base": "

Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.

", "refs": { diff --git a/service/codestarconnections/api.go b/service/codestarconnections/api.go index f2238b72df6..ceb918de052 100644 --- a/service/codestarconnections/api.go +++ b/service/codestarconnections/api.go @@ -3468,6 +3468,9 @@ type CreateSyncConfigurationInput struct { // ConfigFile is a required field ConfigFile *string `type:"string" required:"true"` + // Whether to enable or disable publishing of deployment status to source providers. + PublishDeploymentStatus *string `type:"string" enum:"PublishDeploymentStatus"` + // The ID of the repository link created for the connection. A repository link // allows Git sync to monitor and sync changes to files in a specified Git repository. // @@ -3491,6 +3494,9 @@ type CreateSyncConfigurationInput struct { // // SyncType is a required field SyncType *string `type:"string" required:"true" enum:"SyncConfigurationType"` + + // When to trigger Git sync to begin the stack update. + TriggerResourceUpdateOn *string `type:"string" enum:"TriggerResourceUpdateOn"` } // String returns the string representation. @@ -3560,6 +3566,12 @@ func (s *CreateSyncConfigurationInput) SetConfigFile(v string) *CreateSyncConfig return s } +// SetPublishDeploymentStatus sets the PublishDeploymentStatus field's value. +func (s *CreateSyncConfigurationInput) SetPublishDeploymentStatus(v string) *CreateSyncConfigurationInput { + s.PublishDeploymentStatus = &v + return s +} + // SetRepositoryLinkId sets the RepositoryLinkId field's value. func (s *CreateSyncConfigurationInput) SetRepositoryLinkId(v string) *CreateSyncConfigurationInput { s.RepositoryLinkId = &v @@ -3584,6 +3596,12 @@ func (s *CreateSyncConfigurationInput) SetSyncType(v string) *CreateSyncConfigur return s } +// SetTriggerResourceUpdateOn sets the TriggerResourceUpdateOn field's value. +func (s *CreateSyncConfigurationInput) SetTriggerResourceUpdateOn(v string) *CreateSyncConfigurationInput { + s.TriggerResourceUpdateOn = &v + return s +} + type CreateSyncConfigurationOutput struct { _ struct{} `type:"structure"` @@ -6626,6 +6644,9 @@ type SyncConfiguration struct { // ProviderType is a required field ProviderType *string `type:"string" required:"true" enum:"ProviderType"` + // Whether to enable or disable publishing of deployment status to source providers. + PublishDeploymentStatus *string `type:"string" enum:"PublishDeploymentStatus"` + // The ID of the repository link associated with a specific sync configuration. // // RepositoryLinkId is a required field @@ -6651,6 +6672,9 @@ type SyncConfiguration struct { // // SyncType is a required field SyncType *string `type:"string" required:"true" enum:"SyncConfigurationType"` + + // When to trigger Git sync to begin the stack update. + TriggerResourceUpdateOn *string `type:"string" enum:"TriggerResourceUpdateOn"` } // String returns the string representation. @@ -6695,6 +6719,12 @@ func (s *SyncConfiguration) SetProviderType(v string) *SyncConfiguration { return s } +// SetPublishDeploymentStatus sets the PublishDeploymentStatus field's value. +func (s *SyncConfiguration) SetPublishDeploymentStatus(v string) *SyncConfiguration { + s.PublishDeploymentStatus = &v + return s +} + // SetRepositoryLinkId sets the RepositoryLinkId field's value. func (s *SyncConfiguration) SetRepositoryLinkId(v string) *SyncConfiguration { s.RepositoryLinkId = &v @@ -6725,6 +6755,12 @@ func (s *SyncConfiguration) SetSyncType(v string) *SyncConfiguration { return s } +// SetTriggerResourceUpdateOn sets the TriggerResourceUpdateOn field's value. +func (s *SyncConfiguration) SetTriggerResourceUpdateOn(v string) *SyncConfiguration { + s.TriggerResourceUpdateOn = &v + return s +} + // Unable to continue. The sync blocker still exists. type SyncConfigurationStillExistsException struct { _ struct{} `type:"structure"` @@ -7651,6 +7687,9 @@ type UpdateSyncConfigurationInput struct { // The configuration file for the sync configuration to be updated. ConfigFile *string `type:"string"` + // Whether to enable or disable publishing of deployment status to source providers. + PublishDeploymentStatus *string `type:"string" enum:"PublishDeploymentStatus"` + // The ID of the repository link for the sync configuration to be updated. RepositoryLinkId *string `type:"string"` @@ -7667,6 +7706,9 @@ type UpdateSyncConfigurationInput struct { // // SyncType is a required field SyncType *string `type:"string" required:"true" enum:"SyncConfigurationType"` + + // When to trigger Git sync to begin the stack update. + TriggerResourceUpdateOn *string `type:"string" enum:"TriggerResourceUpdateOn"` } // String returns the string representation. @@ -7724,6 +7766,12 @@ func (s *UpdateSyncConfigurationInput) SetConfigFile(v string) *UpdateSyncConfig return s } +// SetPublishDeploymentStatus sets the PublishDeploymentStatus field's value. +func (s *UpdateSyncConfigurationInput) SetPublishDeploymentStatus(v string) *UpdateSyncConfigurationInput { + s.PublishDeploymentStatus = &v + return s +} + // SetRepositoryLinkId sets the RepositoryLinkId field's value. func (s *UpdateSyncConfigurationInput) SetRepositoryLinkId(v string) *UpdateSyncConfigurationInput { s.RepositoryLinkId = &v @@ -7748,6 +7796,12 @@ func (s *UpdateSyncConfigurationInput) SetSyncType(v string) *UpdateSyncConfigur return s } +// SetTriggerResourceUpdateOn sets the TriggerResourceUpdateOn field's value. +func (s *UpdateSyncConfigurationInput) SetTriggerResourceUpdateOn(v string) *UpdateSyncConfigurationInput { + s.TriggerResourceUpdateOn = &v + return s +} + type UpdateSyncConfigurationOutput struct { _ struct{} `type:"structure"` @@ -7957,6 +8011,22 @@ func ProviderType_Values() []string { } } +const ( + // PublishDeploymentStatusEnabled is a PublishDeploymentStatus enum value + PublishDeploymentStatusEnabled = "ENABLED" + + // PublishDeploymentStatusDisabled is a PublishDeploymentStatus enum value + PublishDeploymentStatusDisabled = "DISABLED" +) + +// PublishDeploymentStatus_Values returns all elements of the PublishDeploymentStatus enum +func PublishDeploymentStatus_Values() []string { + return []string{ + PublishDeploymentStatusEnabled, + PublishDeploymentStatusDisabled, + } +} + const ( // RepositorySyncStatusFailed is a RepositorySyncStatus enum value RepositorySyncStatusFailed = "FAILED" @@ -8020,3 +8090,19 @@ func SyncConfigurationType_Values() []string { SyncConfigurationTypeCfnStackSync, } } + +const ( + // TriggerResourceUpdateOnAnyChange is a TriggerResourceUpdateOn enum value + TriggerResourceUpdateOnAnyChange = "ANY_CHANGE" + + // TriggerResourceUpdateOnFileChange is a TriggerResourceUpdateOn enum value + TriggerResourceUpdateOnFileChange = "FILE_CHANGE" +) + +// TriggerResourceUpdateOn_Values returns all elements of the TriggerResourceUpdateOn enum +func TriggerResourceUpdateOn_Values() []string { + return []string{ + TriggerResourceUpdateOnAnyChange, + TriggerResourceUpdateOnFileChange, + } +} diff --git a/service/elasticache/api.go b/service/elasticache/api.go index 663f6eb8028..7af48207425 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -1366,8 +1366,8 @@ func (c *ElastiCache) CreateReplicationGroupRequest(input *CreateReplicationGrou // This API can be used to create a standalone regional replication group or // a secondary replication group associated with a Global datastore. // -// A Redis (cluster mode disabled) replication group is a collection of clusters, -// where one of the clusters is a read/write primary and the others are read-only +// A Redis (cluster mode disabled) replication group is a collection of nodes, +// where one of the nodes is a read/write primary and the others are read-only // replicas. Writes to the primary are asynchronously propagated to the replicas. // // A Redis cluster-mode enabled cluster is comprised of from 1 to 90 shards @@ -12186,11 +12186,6 @@ type CreateReplicationGroupInput struct { // Default: system chosen Availability Zones. PreferredCacheClusterAZs []*string `locationNameList:"AvailabilityZone" type:"list"` - // Specifies the weekly time range during which maintenance on the cluster is - // performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi - // (24H Clock UTC). The minimum maintenance window is a 60 minute period. Valid - // values for ddd are: - // // Specifies the weekly time range during which maintenance on the cluster is // performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi // (24H Clock UTC). The minimum maintenance window is a 60 minute period. @@ -17630,7 +17625,7 @@ func (s *ECPUPerSecond) SetMaximum(v int64) *ECPUPerSecond { } // Represents the information required for client programs to connect to a cache -// node. +// node. This value is read-only. type Endpoint struct { _ struct{} `type:"structure"` @@ -20897,7 +20892,8 @@ type NodeGroup struct { // The endpoint of the primary node in this node group (shard). PrimaryEndpoint *Endpoint `type:"structure"` - // The endpoint of the replica nodes in this node group (shard). + // The endpoint of the replica nodes in this node group (shard). This value + // is read-only. ReaderEndpoint *Endpoint `type:"structure"` // The keyspace for this node group (shard). @@ -23455,7 +23451,7 @@ type ServerlessCache struct { Description *string `type:"string"` // Represents the information required for client programs to connect to a cache - // node. + // node. This value is read-only. Endpoint *Endpoint `type:"structure"` // The engine the serverless cache is compatible with. @@ -23473,7 +23469,7 @@ type ServerlessCache struct { MajorEngineVersion *string `type:"string"` // Represents the information required for client programs to connect to a cache - // node. + // node. This value is read-only. ReaderEndpoint *Endpoint `type:"structure"` // The IDs of the EC2 security groups associated with the serverless cache. @@ -23490,10 +23486,10 @@ type ServerlessCache struct { // AVAILABLE, DELETING, CREATE-FAILED and MODIFYING. Status *string `type:"string"` - // If no subnet IDs are given and your VPC is in SFO, then ElastiCache will - // select 2 default subnets across AZs in your VPC. For all other Regions, if - // no subnet IDs are given then ElastiCache will select 3 default subnets across - // AZs in your default VPC. + // If no subnet IDs are given and your VPC is in us-west-1, then ElastiCache + // will select 2 default subnets across AZs in your VPC. For all other Regions, + // if no subnet IDs are given then ElastiCache will select 3 default subnets + // across AZs in your default VPC. SubnetIds []*string `locationNameList:"SubnetId" type:"list"` // The identifier of the user group associated with the serverless cache. Available diff --git a/service/mediapackagev2/api.go b/service/mediapackagev2/api.go index 0b98214ad3f..4b13600571a 100644 --- a/service/mediapackagev2/api.go +++ b/service/mediapackagev2/api.go @@ -2928,6 +2928,10 @@ type CreateChannelGroupOutput struct { // The description for your channel group. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // The output domain where the source stream should be sent. Integrate the egress // domain with a downstream CDN (such as Amazon CloudFront) or playback device. // @@ -2985,6 +2989,12 @@ func (s *CreateChannelGroupOutput) SetDescription(v string) *CreateChannelGroupO return s } +// SetETag sets the ETag field's value. +func (s *CreateChannelGroupOutput) SetETag(v string) *CreateChannelGroupOutput { + s.ETag = &v + return s +} + // SetEgressDomain sets the EgressDomain field's value. func (s *CreateChannelGroupOutput) SetEgressDomain(v string) *CreateChannelGroupOutput { s.EgressDomain = &v @@ -3136,6 +3146,10 @@ type CreateChannelOutput struct { // The description for your channel. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // The list of ingest endpoints. IngestEndpoints []*IngestEndpoint `type:"list"` @@ -3196,6 +3210,12 @@ func (s *CreateChannelOutput) SetDescription(v string) *CreateChannelOutput { return s } +// SetETag sets the ETag field's value. +func (s *CreateChannelOutput) SetETag(v string) *CreateChannelOutput { + s.ETag = &v + return s +} + // SetIngestEndpoints sets the IngestEndpoints field's value. func (s *CreateChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *CreateChannelOutput { s.IngestEndpoints = v @@ -3715,6 +3735,10 @@ type CreateOriginEndpointOutput struct { // The description for your origin endpoint. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*GetHlsManifestConfiguration `type:"list"` @@ -3802,6 +3826,12 @@ func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpo return s } +// SetETag sets the ETag field's value. +func (s *CreateOriginEndpointOutput) SetETag(v string) *CreateOriginEndpointOutput { + s.ETag = &v + return s +} + // SetHlsManifests sets the HlsManifests field's value. func (s *CreateOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *CreateOriginEndpointOutput { s.HlsManifests = v @@ -4736,6 +4766,10 @@ type GetChannelGroupOutput struct { // The description for your channel group. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // The output domain where the source stream should be sent. Integrate the domain // with a downstream CDN (such as Amazon CloudFront) or playback device. // @@ -4793,6 +4827,12 @@ func (s *GetChannelGroupOutput) SetDescription(v string) *GetChannelGroupOutput return s } +// SetETag sets the ETag field's value. +func (s *GetChannelGroupOutput) SetETag(v string) *GetChannelGroupOutput { + s.ETag = &v + return s +} + // SetEgressDomain sets the EgressDomain field's value. func (s *GetChannelGroupOutput) SetEgressDomain(v string) *GetChannelGroupOutput { s.EgressDomain = &v @@ -4909,6 +4949,10 @@ type GetChannelOutput struct { // The description for your channel. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // The list of ingest endpoints. IngestEndpoints []*IngestEndpoint `type:"list"` @@ -4969,6 +5013,12 @@ func (s *GetChannelOutput) SetDescription(v string) *GetChannelOutput { return s } +// SetETag sets the ETag field's value. +func (s *GetChannelOutput) SetETag(v string) *GetChannelOutput { + s.ETag = &v + return s +} + // SetIngestEndpoints sets the IngestEndpoints field's value. func (s *GetChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *GetChannelOutput { s.IngestEndpoints = v @@ -5454,6 +5504,10 @@ type GetOriginEndpointOutput struct { // The description for your origin endpoint. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*GetHlsManifestConfiguration `type:"list"` @@ -5541,6 +5595,12 @@ func (s *GetOriginEndpointOutput) SetDescription(v string) *GetOriginEndpointOut return s } +// SetETag sets the ETag field's value. +func (s *GetOriginEndpointOutput) SetETag(v string) *GetOriginEndpointOutput { + s.ETag = &v + return s +} + // SetHlsManifests sets the HlsManifests field's value. func (s *GetOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *GetOriginEndpointOutput { s.HlsManifests = v @@ -7466,6 +7526,11 @@ type UpdateChannelGroupInput struct { // Any descriptive information that you want to add to the channel group for // future identification purposes. Description *string `type:"string"` + + // The expected current Entity Tag (ETag) for the resource. If the specified + // ETag does not match the resource's current entity tag, the update request + // will be rejected. + ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"` } // String returns the string representation. @@ -7495,6 +7560,9 @@ func (s *UpdateChannelGroupInput) Validate() error { if s.ChannelGroupName != nil && len(*s.ChannelGroupName) < 1 { invalidParams.Add(request.NewErrParamMinLen("ChannelGroupName", 1)) } + if s.ETag != nil && len(*s.ETag) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ETag", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -7514,6 +7582,12 @@ func (s *UpdateChannelGroupInput) SetDescription(v string) *UpdateChannelGroupIn return s } +// SetETag sets the ETag field's value. +func (s *UpdateChannelGroupInput) SetETag(v string) *UpdateChannelGroupInput { + s.ETag = &v + return s +} + type UpdateChannelGroupOutput struct { _ struct{} `type:"structure"` @@ -7536,6 +7610,10 @@ type UpdateChannelGroupOutput struct { // The description for your channel group. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // The output domain where the source stream is sent. Integrate the domain with // a downstream CDN (such as Amazon CloudFront) or playback device. // @@ -7593,6 +7671,12 @@ func (s *UpdateChannelGroupOutput) SetDescription(v string) *UpdateChannelGroupO return s } +// SetETag sets the ETag field's value. +func (s *UpdateChannelGroupOutput) SetETag(v string) *UpdateChannelGroupOutput { + s.ETag = &v + return s +} + // SetEgressDomain sets the EgressDomain field's value. func (s *UpdateChannelGroupOutput) SetEgressDomain(v string) *UpdateChannelGroupOutput { s.EgressDomain = &v @@ -7630,6 +7714,11 @@ type UpdateChannelInput struct { // Any descriptive information that you want to add to the channel for future // identification purposes. Description *string `type:"string"` + + // The expected current Entity Tag (ETag) for the resource. If the specified + // ETag does not match the resource's current entity tag, the update request + // will be rejected. + ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"` } // String returns the string representation. @@ -7665,6 +7754,9 @@ func (s *UpdateChannelInput) Validate() error { if s.ChannelName != nil && len(*s.ChannelName) < 1 { invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1)) } + if s.ETag != nil && len(*s.ETag) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ETag", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -7690,6 +7782,12 @@ func (s *UpdateChannelInput) SetDescription(v string) *UpdateChannelInput { return s } +// SetETag sets the ETag field's value. +func (s *UpdateChannelInput) SetETag(v string) *UpdateChannelInput { + s.ETag = &v + return s +} + type UpdateChannelOutput struct { _ struct{} `type:"structure"` @@ -7719,6 +7817,10 @@ type UpdateChannelOutput struct { // The description for your channel. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // The list of ingest endpoints. IngestEndpoints []*IngestEndpoint `type:"list"` @@ -7779,6 +7881,12 @@ func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput { return s } +// SetETag sets the ETag field's value. +func (s *UpdateChannelOutput) SetETag(v string) *UpdateChannelOutput { + s.ETag = &v + return s +} + // SetIngestEndpoints sets the IngestEndpoints field's value. func (s *UpdateChannelOutput) SetIngestEndpoints(v []*IngestEndpoint) *UpdateChannelOutput { s.IngestEndpoints = v @@ -7824,6 +7932,11 @@ type UpdateOriginEndpointInput struct { // future identification purposes. Description *string `type:"string"` + // The expected current Entity Tag (ETag) for the resource. If the specified + // ETag does not match the resource's current entity tag, the update request + // will be rejected. + ETag *string `location:"header" locationName:"x-amzn-update-if-match" min:"1" type:"string"` + // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*CreateHlsManifestConfiguration `type:"list"` @@ -7884,6 +7997,9 @@ func (s *UpdateOriginEndpointInput) Validate() error { if s.ContainerType == nil { invalidParams.Add(request.NewErrParamRequired("ContainerType")) } + if s.ETag != nil && len(*s.ETag) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ETag", 1)) + } if s.OriginEndpointName == nil { invalidParams.Add(request.NewErrParamRequired("OriginEndpointName")) } @@ -7949,6 +8065,12 @@ func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpoi return s } +// SetETag sets the ETag field's value. +func (s *UpdateOriginEndpointInput) SetETag(v string) *UpdateOriginEndpointInput { + s.ETag = &v + return s +} + // SetHlsManifests sets the HlsManifests field's value. func (s *UpdateOriginEndpointInput) SetHlsManifests(v []*CreateHlsManifestConfiguration) *UpdateOriginEndpointInput { s.HlsManifests = v @@ -8013,6 +8135,10 @@ type UpdateOriginEndpointOutput struct { // The description of the origin endpoint. Description *string `type:"string"` + // The current Entity Tag (ETag) associated with this resource. The entity tag + // can be used to safely make concurrent updates to the resource. + ETag *string `min:"1" type:"string"` + // An HTTP live streaming (HLS) manifest configuration. HlsManifests []*GetHlsManifestConfiguration `type:"list"` @@ -8100,6 +8226,12 @@ func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpo return s } +// SetETag sets the ETag field's value. +func (s *UpdateOriginEndpointOutput) SetETag(v string) *UpdateOriginEndpointOutput { + s.ETag = &v + return s +} + // SetHlsManifests sets the HlsManifests field's value. func (s *UpdateOriginEndpointOutput) SetHlsManifests(v []*GetHlsManifestConfiguration) *UpdateOriginEndpointOutput { s.HlsManifests = v