From 23e996a57757e6b586048809309e3945557c4edb Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Tue, 29 Oct 2019 18:23:23 +0000 Subject: [PATCH] Release v1.25.22 (2019-10-29) === ### Service Client Updates * `service/appstream`: Updates service API and documentation * Adds support for providing domain names that can embed streaming sessions * `service/cloud9`: Updates service API, documentation, and examples * Added CREATING and CREATE_FAILED environment lifecycle statuses. --- CHANGELOG.md | 9 + aws/version.go | 2 +- models/apis/appstream/2016-12-01/api-2.json | 24 +- models/apis/appstream/2016-12-01/docs-2.json | 30 ++- models/apis/cloud9/2017-09-23/api-2.json | 4 +- models/apis/cloud9/2017-09-23/docs-2.json | 2 +- models/apis/cloud9/2017-09-23/examples-1.json | 7 + service/appstream/api.go | 211 +++++++++++++++++- service/cloud9/api.go | 12 +- 9 files changed, 277 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf43e8e475..0eeb6ccf3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.25.22 (2019-10-29) +=== + +### Service Client Updates +* `service/appstream`: Updates service API and documentation + * Adds support for providing domain names that can embed streaming sessions +* `service/cloud9`: Updates service API, documentation, and examples + * Added CREATING and CREATE_FAILED environment lifecycle statuses. + Release v1.25.21 (2019-10-28) === diff --git a/aws/version.go b/aws/version.go index 633784fe14..8d4da6459a 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.21" +const SDKVersion = "1.25.22" diff --git a/models/apis/appstream/2016-12-01/api-2.json b/models/apis/appstream/2016-12-01/api-2.json index 31be3110c5..937c7413f4 100644 --- a/models/apis/appstream/2016-12-01/api-2.json +++ b/models/apis/appstream/2016-12-01/api-2.json @@ -964,7 +964,8 @@ "UserSettings":{"shape":"UserSettingList"}, "ApplicationSettings":{"shape":"ApplicationSettings"}, "Tags":{"shape":"Tags"}, - "AccessEndpoints":{"shape":"AccessEndpointList"} + "AccessEndpoints":{"shape":"AccessEndpointList"}, + "EmbedHostDomains":{"shape":"EmbedHostDomains"} } }, "CreateStackResult":{ @@ -1360,7 +1361,8 @@ }, "Domain":{ "type":"string", - "max":64 + "max":64, + "min":1 }, "DomainJoinInfo":{ "type":"structure", @@ -1374,6 +1376,17 @@ "member":{"shape":"Domain"}, "max":10 }, + "EmbedHostDomain":{ + "type":"string", + "max":128, + "pattern":"(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9]" + }, + "EmbedHostDomains":{ + "type":"list", + "member":{"shape":"EmbedHostDomain"}, + "max":20, + "min":1 + }, "EnableUserRequest":{ "type":"structure", "required":[ @@ -1923,7 +1936,8 @@ "StackErrors":{"shape":"StackErrors"}, "UserSettings":{"shape":"UserSettingList"}, "ApplicationSettings":{"shape":"ApplicationSettingsResponse"}, - "AccessEndpoints":{"shape":"AccessEndpointList"} + "AccessEndpoints":{"shape":"AccessEndpointList"}, + "EmbedHostDomains":{"shape":"EmbedHostDomains"} } }, "StackAttribute":{ @@ -1937,6 +1951,7 @@ "FEEDBACK_URL", "THEME_NAME", "USER_SETTINGS", + "EMBED_HOST_DOMAINS", "IAM_ROLE_ARN", "ACCESS_ENDPOINTS" ] @@ -2195,7 +2210,8 @@ "AttributesToDelete":{"shape":"StackAttributes"}, "UserSettings":{"shape":"UserSettingList"}, "ApplicationSettings":{"shape":"ApplicationSettings"}, - "AccessEndpoints":{"shape":"AccessEndpointList"} + "AccessEndpoints":{"shape":"AccessEndpointList"}, + "EmbedHostDomains":{"shape":"EmbedHostDomains"} } }, "UpdateStackResult":{ diff --git a/models/apis/appstream/2016-12-01/docs-2.json b/models/apis/appstream/2016-12-01/docs-2.json index 9f5b983c0e..c562e0a904 100644 --- a/models/apis/appstream/2016-12-01/docs-2.json +++ b/models/apis/appstream/2016-12-01/docs-2.json @@ -130,23 +130,23 @@ "refs": { "ArnList$member": null, "CreateFleetRequest$ImageArn": "

The ARN of the public, private, or shared image to use.

", - "CreateFleetRequest$IamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials.

", + "CreateFleetRequest$IamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance.

For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.

", "CreateImageBuilderRequest$ImageArn": "

The ARN of the public, private, or shared image to use.

", - "CreateImageBuilderRequest$IamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role to apply to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials.

", + "CreateImageBuilderRequest$IamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role to apply to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance.

For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.

", "Fleet$Arn": "

The Amazon Resource Name (ARN) for the fleet.

", "Fleet$ImageArn": "

The ARN for the public, private, or shared image.

", - "Fleet$IamRoleArn": "

The ARN of the IAM role that is applied to the fleet. To assume a role, the fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials.

", + "Fleet$IamRoleArn": "

The ARN of the IAM role that is applied to the fleet. To assume a role, the fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance.

For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.

", "Image$Arn": "

The ARN of the image.

", "Image$BaseImageArn": "

The ARN of the image from which this image was created.

", "ImageBuilder$Arn": "

The ARN for the image builder.

", "ImageBuilder$ImageArn": "

The ARN of the image from which this builder was created.

", - "ImageBuilder$IamRoleArn": "

The ARN of the IAM role that is applied to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials.

", + "ImageBuilder$IamRoleArn": "

The ARN of the IAM role that is applied to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance.

For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.

", "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

", "Stack$Arn": "

The ARN of the stack.

", "TagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

", "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

", "UpdateFleetRequest$ImageArn": "

The ARN of the public, private, or shared image to use.

", - "UpdateFleetRequest$IamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials.

", + "UpdateFleetRequest$IamRoleArn": "

The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To assume a role, a fleet instance calls the AWS Security Token Service (STS) AssumeRole API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the AppStream_Machine_Role credential profile on the instance.

For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.

", "User$Arn": "

The ARN of the user.

" } }, @@ -629,6 +629,20 @@ "StorageConnector$Domains": "

The names of the domains for the account.

" } }, + "EmbedHostDomain": { + "base": "Specifies a valid domain that can embed AppStream. Valid examples include: [\"testorigin.tt--com\", \"testingorigin.com.us\", \"test.com.us\"] Invalid examples include: [\"test,com\", \".com\", \"h*llo.com\". \"\"]", + "refs": { + "EmbedHostDomains$member": null + } + }, + "EmbedHostDomains": { + "base": null, + "refs": { + "CreateStackRequest$EmbedHostDomains": "

The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.

", + "Stack$EmbedHostDomains": "

The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.

", + "UpdateStackRequest$EmbedHostDomains": "

The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.

" + } + }, "EnableUserRequest": { "base": null, "refs": { @@ -1212,7 +1226,7 @@ "CreateFleetRequest$ImageName": "

The name of the image used to create the fleet.

", "CreateFleetRequest$InstanceType": "

The instance type to use when launching fleet instances. The following instance types are available:

", "CreateImageBuilderRequest$ImageName": "

The name of the image used to create the image builder.

", - "CreateImageBuilderRequest$InstanceType": "

The instance type to use when launching the image builder.

", + "CreateImageBuilderRequest$InstanceType": "

The instance type to use when launching the image builder. The following instance types are available:

", "CreateImageBuilderStreamingURLRequest$Name": "

The name of the image builder.

", "CreateImageBuilderStreamingURLResult$StreamingURL": "

The URL to start the AppStream 2.0 streaming session.

", "CreateStreamingURLRequest$StackName": "

The name of the stack.

", @@ -1253,7 +1267,7 @@ "Fleet$DisplayName": "

The fleet name to display.

", "Fleet$Description": "

The description to display.

", "Fleet$ImageName": "

The name of the image used to create the fleet.

", - "Fleet$InstanceType": "

The instance type to use when launching fleet instances.

", + "Fleet$InstanceType": "

The instance type to use when launching fleet instances. The following instance types are available:

", "FleetError$ErrorMessage": "

The error message.

", "Image$Name": "

The name of the image.

", "Image$DisplayName": "

The image name to display.

", @@ -1262,7 +1276,7 @@ "ImageBuilder$Name": "

The name of the image builder.

", "ImageBuilder$Description": "

The description to display.

", "ImageBuilder$DisplayName": "

The image builder name to display.

", - "ImageBuilder$InstanceType": "

The instance type for the image builder.

", + "ImageBuilder$InstanceType": "

The instance type for the image builder. The following instance types are available:

", "ImageBuilderStateChangeReason$Message": "

The state change reason message.

", "ImageStateChangeReason$Message": "

The state change reason message.

", "LastReportGenerationExecutionError$ErrorMessage": "

The error message for the error that is returned when a usage report can't be generated.

", diff --git a/models/apis/cloud9/2017-09-23/api-2.json b/models/apis/cloud9/2017-09-23/api-2.json index 5746991622..c7a552540e 100644 --- a/models/apis/cloud9/2017-09-23/api-2.json +++ b/models/apis/cloud9/2017-09-23/api-2.json @@ -376,7 +376,9 @@ "EnvironmentLifecycleStatus":{ "type":"string", "enum":[ + "CREATING", "CREATED", + "CREATE_FAILED", "DELETING", "DELETE_FAILED" ] @@ -541,7 +543,7 @@ }, "UserArn":{ "type":"string", - "pattern":"arn:aws:(iam|sts)::\\d+:(root|user|federated-user|assumed-role)\\/?\\S*" + "pattern":"^arn:aws:(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=/:,.@-]{1,64}\\/[\\w+=/:,.@-]{1,64}))$" } } } diff --git a/models/apis/cloud9/2017-09-23/docs-2.json b/models/apis/cloud9/2017-09-23/docs-2.json index ea40f3c1b1..910f75bce3 100644 --- a/models/apis/cloud9/2017-09-23/docs-2.json +++ b/models/apis/cloud9/2017-09-23/docs-2.json @@ -158,7 +158,7 @@ "EnvironmentLifecycleStatus": { "base": null, "refs": { - "EnvironmentLifecycle$status": "

The current creation or deletion lifecycle state of the environment.

" + "EnvironmentLifecycle$status": "

The current creation or deletion lifecycle state of the environment.

" } }, "EnvironmentList": { diff --git a/models/apis/cloud9/2017-09-23/examples-1.json b/models/apis/cloud9/2017-09-23/examples-1.json index 0074f498f2..3b3ca020e8 100644 --- a/models/apis/cloud9/2017-09-23/examples-1.json +++ b/models/apis/cloud9/2017-09-23/examples-1.json @@ -215,13 +215,20 @@ "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:8d9967e2f0624182b74e7690ad69ebEX", "description": "This is my demonstration environment.", "id": "8d9967e2f0624182b74e7690ad69ebEX", + "lifecycle": { + "status": "CREATED" + }, "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser" }, { "name": "another-demo-environment", "type": "ssh", "arn": "arn:aws:cloud9:us-east-2:123456789012:environment:349c86d4579e4e7298d500ff57a6b2EX", + "description": "", "id": "349c86d4579e4e7298d500ff57a6b2EX", + "lifecycle": { + "status": "CREATED" + }, "ownerArn": "arn:aws:sts::123456789012:assumed-role/AnotherDemoUser/AnotherDemoUser" } ] diff --git a/service/appstream/api.go b/service/appstream/api.go index 8a325ba01b..a04d00dd34 100644 --- a/service/appstream/api.go +++ b/service/appstream/api.go @@ -5014,7 +5014,13 @@ type CreateFleetInput struct { // The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To // assume a role, a fleet instance calls the AWS Security Token Service (STS) // AssumeRole API operation and passes the ARN of the role to use. The operation - // creates a new session with temporary credentials. + // creates a new session with temporary credentials. AppStream 2.0 retrieves + // the temporary credentials and creates the AppStream_Machine_Role credential + // profile on the instance. + // + // For more information, see Using an IAM Role to Grant Permissions to Applications + // and Scripts Running on AppStream 2.0 Streaming Instances (https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html) + // in the Amazon AppStream 2.0 Administration Guide. IamRoleArn *string `type:"string"` // The amount of time that users can be idle (inactive) before they are disconnected @@ -5315,7 +5321,13 @@ type CreateImageBuilderInput struct { // The Amazon Resource Name (ARN) of the IAM role to apply to the image builder. // To assume a role, the image builder calls the AWS Security Token Service // (STS) AssumeRole API operation and passes the ARN of the role to use. The - // operation creates a new session with temporary credentials. + // operation creates a new session with temporary credentials. AppStream 2.0 + // retrieves the temporary credentials and creates the AppStream_Machine_Role + // credential profile on the instance. + // + // For more information, see Using an IAM Role to Grant Permissions to Applications + // and Scripts Running on AppStream 2.0 Streaming Instances (https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html) + // in the Amazon AppStream 2.0 Administration Guide. IamRoleArn *string `type:"string"` // The ARN of the public, private, or shared image to use. @@ -5324,7 +5336,48 @@ type CreateImageBuilderInput struct { // The name of the image used to create the image builder. ImageName *string `min:"1" type:"string"` - // The instance type to use when launching the image builder. + // The instance type to use when launching the image builder. The following + // instance types are available: + // + // * stream.standard.medium + // + // * stream.standard.large + // + // * stream.compute.large + // + // * stream.compute.xlarge + // + // * stream.compute.2xlarge + // + // * stream.compute.4xlarge + // + // * stream.compute.8xlarge + // + // * stream.memory.large + // + // * stream.memory.xlarge + // + // * stream.memory.2xlarge + // + // * stream.memory.4xlarge + // + // * stream.memory.8xlarge + // + // * stream.graphics-design.large + // + // * stream.graphics-design.xlarge + // + // * stream.graphics-design.2xlarge + // + // * stream.graphics-design.4xlarge + // + // * stream.graphics-desktop.2xlarge + // + // * stream.graphics-pro.4xlarge + // + // * stream.graphics-pro.8xlarge + // + // * stream.graphics-pro.16xlarge // // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` @@ -5606,6 +5659,11 @@ type CreateStackInput struct { // The stack name to display. DisplayName *string `type:"string"` + // The domains where AppStream 2.0 streaming sessions can be embedded in an + // iframe. You must approve the domains that you want to host embedded AppStream + // 2.0 streaming sessions. + EmbedHostDomains []*string `min:"1" type:"list"` + // The URL that users are redirected to after they click the Send Feedback link. // If no URL is specified, no Send Feedback link is displayed. FeedbackURL *string `type:"string"` @@ -5657,6 +5715,9 @@ func (s *CreateStackInput) Validate() error { if s.AccessEndpoints != nil && len(s.AccessEndpoints) < 1 { invalidParams.Add(request.NewErrParamMinLen("AccessEndpoints", 1)) } + if s.EmbedHostDomains != nil && len(s.EmbedHostDomains) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EmbedHostDomains", 1)) + } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } @@ -5732,6 +5793,12 @@ func (s *CreateStackInput) SetDisplayName(v string) *CreateStackInput { return s } +// SetEmbedHostDomains sets the EmbedHostDomains field's value. +func (s *CreateStackInput) SetEmbedHostDomains(v []*string) *CreateStackInput { + s.EmbedHostDomains = v + return s +} + // SetFeedbackURL sets the FeedbackURL field's value. func (s *CreateStackInput) SetFeedbackURL(v string) *CreateStackInput { s.FeedbackURL = &v @@ -7947,7 +8014,13 @@ type Fleet struct { // The ARN of the IAM role that is applied to the fleet. To assume a role, the // fleet instance calls the AWS Security Token Service (STS) AssumeRole API // operation and passes the ARN of the role to use. The operation creates a - // new session with temporary credentials. + // new session with temporary credentials. AppStream 2.0 retrieves the temporary + // credentials and creates the AppStream_Machine_Role credential profile on + // the instance. + // + // For more information, see Using an IAM Role to Grant Permissions to Applications + // and Scripts Running on AppStream 2.0 Streaming Instances (https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html) + // in the Amazon AppStream 2.0 Administration Guide. IamRoleArn *string `type:"string"` // The amount of time that users can be idle (inactive) before they are disconnected @@ -7980,7 +8053,48 @@ type Fleet struct { // The name of the image used to create the fleet. ImageName *string `min:"1" type:"string"` - // The instance type to use when launching fleet instances. + // The instance type to use when launching fleet instances. The following instance + // types are available: + // + // * stream.standard.medium + // + // * stream.standard.large + // + // * stream.compute.large + // + // * stream.compute.xlarge + // + // * stream.compute.2xlarge + // + // * stream.compute.4xlarge + // + // * stream.compute.8xlarge + // + // * stream.memory.large + // + // * stream.memory.xlarge + // + // * stream.memory.2xlarge + // + // * stream.memory.4xlarge + // + // * stream.memory.8xlarge + // + // * stream.graphics-design.large + // + // * stream.graphics-design.xlarge + // + // * stream.graphics-design.2xlarge + // + // * stream.graphics-design.4xlarge + // + // * stream.graphics-desktop.2xlarge + // + // * stream.graphics-pro.4xlarge + // + // * stream.graphics-pro.8xlarge + // + // * stream.graphics-pro.16xlarge // // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` @@ -8365,7 +8479,13 @@ type ImageBuilder struct { // The ARN of the IAM role that is applied to the image builder. To assume a // role, the image builder calls the AWS Security Token Service (STS) AssumeRole // API operation and passes the ARN of the role to use. The operation creates - // a new session with temporary credentials. + // a new session with temporary credentials. AppStream 2.0 retrieves the temporary + // credentials and creates the AppStream_Machine_Role credential profile on + // the instance. + // + // For more information, see Using an IAM Role to Grant Permissions to Applications + // and Scripts Running on AppStream 2.0 Streaming Instances (https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html) + // in the Amazon AppStream 2.0 Administration Guide. IamRoleArn *string `type:"string"` // The ARN of the image from which this builder was created. @@ -8374,7 +8494,48 @@ type ImageBuilder struct { // The image builder errors. ImageBuilderErrors []*ResourceError `type:"list"` - // The instance type for the image builder. + // The instance type for the image builder. The following instance types are + // available: + // + // * stream.standard.medium + // + // * stream.standard.large + // + // * stream.compute.large + // + // * stream.compute.xlarge + // + // * stream.compute.2xlarge + // + // * stream.compute.4xlarge + // + // * stream.compute.8xlarge + // + // * stream.memory.large + // + // * stream.memory.xlarge + // + // * stream.memory.2xlarge + // + // * stream.memory.4xlarge + // + // * stream.memory.8xlarge + // + // * stream.graphics-design.large + // + // * stream.graphics-design.xlarge + // + // * stream.graphics-design.2xlarge + // + // * stream.graphics-design.4xlarge + // + // * stream.graphics-desktop.2xlarge + // + // * stream.graphics-pro.4xlarge + // + // * stream.graphics-pro.8xlarge + // + // * stream.graphics-pro.16xlarge InstanceType *string `min:"1" type:"string"` // The name of the image builder. @@ -9208,6 +9369,11 @@ type Stack struct { // The stack name to display. DisplayName *string `min:"1" type:"string"` + // The domains where AppStream 2.0 streaming sessions can be embedded in an + // iframe. You must approve the domains that you want to host embedded AppStream + // 2.0 streaming sessions. + EmbedHostDomains []*string `min:"1" type:"list"` + // The URL that users are redirected to after they click the Send Feedback link. // If no URL is specified, no Send Feedback link is displayed. FeedbackURL *string `type:"string"` @@ -9277,6 +9443,12 @@ func (s *Stack) SetDisplayName(v string) *Stack { return s } +// SetEmbedHostDomains sets the EmbedHostDomains field's value. +func (s *Stack) SetEmbedHostDomains(v []*string) *Stack { + s.EmbedHostDomains = v + return s +} + // SetFeedbackURL sets the FeedbackURL field's value. func (s *Stack) SetFeedbackURL(v string) *Stack { s.FeedbackURL = &v @@ -9927,7 +10099,13 @@ type UpdateFleetInput struct { // The Amazon Resource Name (ARN) of the IAM role to apply to the fleet. To // assume a role, a fleet instance calls the AWS Security Token Service (STS) // AssumeRole API operation and passes the ARN of the role to use. The operation - // creates a new session with temporary credentials. + // creates a new session with temporary credentials. AppStream 2.0 retrieves + // the temporary credentials and creates the AppStream_Machine_Role credential + // profile on the instance. + // + // For more information, see Using an IAM Role to Grant Permissions to Applications + // and Scripts Running on AppStream 2.0 Streaming Instances (https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html) + // in the Amazon AppStream 2.0 Administration Guide. IamRoleArn *string `type:"string"` // The amount of time that users can be idle (inactive) before they are disconnected @@ -10280,6 +10458,11 @@ type UpdateStackInput struct { // The stack name to display. DisplayName *string `type:"string"` + // The domains where AppStream 2.0 streaming sessions can be embedded in an + // iframe. You must approve the domains that you want to host embedded AppStream + // 2.0 streaming sessions. + EmbedHostDomains []*string `min:"1" type:"list"` + // The URL that users are redirected to after they choose the Send Feedback // link. If no URL is specified, no Send Feedback link is displayed. FeedbackURL *string `type:"string"` @@ -10316,6 +10499,9 @@ func (s *UpdateStackInput) Validate() error { if s.AccessEndpoints != nil && len(s.AccessEndpoints) < 1 { invalidParams.Add(request.NewErrParamMinLen("AccessEndpoints", 1)) } + if s.EmbedHostDomains != nil && len(s.EmbedHostDomains) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EmbedHostDomains", 1)) + } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } @@ -10403,6 +10589,12 @@ func (s *UpdateStackInput) SetDisplayName(v string) *UpdateStackInput { return s } +// SetEmbedHostDomains sets the EmbedHostDomains field's value. +func (s *UpdateStackInput) SetEmbedHostDomains(v []*string) *UpdateStackInput { + s.EmbedHostDomains = v + return s +} + // SetFeedbackURL sets the FeedbackURL field's value. func (s *UpdateStackInput) SetFeedbackURL(v string) *UpdateStackInput { s.FeedbackURL = &v @@ -11128,6 +11320,9 @@ const ( // StackAttributeUserSettings is a StackAttribute enum value StackAttributeUserSettings = "USER_SETTINGS" + // StackAttributeEmbedHostDomains is a StackAttribute enum value + StackAttributeEmbedHostDomains = "EMBED_HOST_DOMAINS" + // StackAttributeIamRoleArn is a StackAttribute enum value StackAttributeIamRoleArn = "IAM_ROLE_ARN" diff --git a/service/cloud9/api.go b/service/cloud9/api.go index 0710f08444..e6eda869ff 100644 --- a/service/cloud9/api.go +++ b/service/cloud9/api.go @@ -1810,11 +1810,15 @@ type EnvironmentLifecycle struct { // The current creation or deletion lifecycle state of the environment. // + // * CREATING: The environment is in the process of being created. + // // * CREATED: The environment was successfully created. // - // * DELETE_FAILED: The environment failed to delete. + // * CREATE_FAILED: The environment failed to be created. // // * DELETING: The environment is in the process of being deleted. + // + // * DELETE_FAILED: The environment failed to delete. Status *string `locationName:"status" type:"string" enum:"EnvironmentLifecycleStatus"` } @@ -2157,9 +2161,15 @@ func (s UpdateEnvironmentOutput) GoString() string { } const ( + // EnvironmentLifecycleStatusCreating is a EnvironmentLifecycleStatus enum value + EnvironmentLifecycleStatusCreating = "CREATING" + // EnvironmentLifecycleStatusCreated is a EnvironmentLifecycleStatus enum value EnvironmentLifecycleStatusCreated = "CREATED" + // EnvironmentLifecycleStatusCreateFailed is a EnvironmentLifecycleStatus enum value + EnvironmentLifecycleStatusCreateFailed = "CREATE_FAILED" + // EnvironmentLifecycleStatusDeleting is a EnvironmentLifecycleStatus enum value EnvironmentLifecycleStatusDeleting = "DELETING"