From 0252a754bc7a1e0641fbb78636ec6d80d2f7187d Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 22 Mar 2023 18:14:03 +0000 Subject: [PATCH] Regenerated Clients --- .../1d6e8227d1084b59bf8d246fc9e5177d.json | 8 + .../4a4bd75062d242c2ac9c85d4fc520226.json | 8 + .../5b25f9077aa449aeb37ad46601e8f2c1.json | 8 + .../743fc5c06bd147c3a36fea2e1cee4071.json | 8 + .../8dfbe1df09a24c0e8c8bc6a3867f2be8.json | 8 + .../ec4eb7b266c0449e92b69d9b5d09496e.json | 8 + .../internal/endpoints/endpoints.go | 18 ++ .../api_op_DeleteRolePermissionsBoundary.go | 8 +- service/iam/types/errors.go | 9 +- service/iottwinmaker/api_op_CreateScene.go | 3 + service/iottwinmaker/api_op_CreateSyncJob.go | 8 +- service/iottwinmaker/api_op_DeleteSyncJob.go | 4 +- .../iottwinmaker/api_op_GetComponentType.go | 2 +- service/iottwinmaker/api_op_GetScene.go | 6 + service/iottwinmaker/api_op_GetSyncJob.go | 6 +- .../iottwinmaker/api_op_ListSyncResources.go | 12 +- .../api_op_UpdateComponentType.go | 2 +- service/iottwinmaker/api_op_UpdateScene.go | 3 + service/iottwinmaker/deserializers.go | 82 +++++++ service/iottwinmaker/doc.go | 4 +- service/iottwinmaker/serializers.go | 25 +++ service/iottwinmaker/types/types.go | 17 +- ...reateTransitGatewayRouteTableAttachment.go | 4 +- service/resiliencehub/api_op_CreateApp.go | 8 +- .../api_op_CreateAppVersionAppComponent.go | 10 +- .../api_op_CreateAppVersionResource.go | 14 +- .../api_op_CreateRecommendationTemplate.go | 2 +- service/resiliencehub/api_op_DeleteApp.go | 6 +- .../api_op_DeleteAppAssessment.go | 4 +- .../api_op_DeleteAppInputSource.go | 14 +- .../api_op_DeleteAppVersionAppComponent.go | 16 +- .../api_op_DeleteAppVersionResource.go | 18 +- service/resiliencehub/api_op_DescribeApp.go | 2 +- .../api_op_DescribeAppAssessment.go | 8 +- .../api_op_DescribeAppVersion.go | 2 +- .../api_op_DescribeAppVersionAppComponent.go | 4 +- .../api_op_DescribeAppVersionResource.go | 4 +- .../api_op_DescribeAppVersionTemplate.go | 21 +- .../api_op_DescribeResiliencyPolicy.go | 6 +- ...api_op_ImportResourcesToDraftAppVersion.go | 22 +- .../api_op_ListAlarmRecommendations.go | 4 +- .../api_op_ListAppAssessments.go | 2 +- .../api_op_ListAppComponentCompliances.go | 4 +- .../api_op_ListAppComponentRecommendations.go | 6 +- .../api_op_ListAppInputSources.go | 14 +- .../api_op_ListAppVersionAppComponents.go | 2 +- .../api_op_ListAppVersionResources.go | 2 +- .../resiliencehub/api_op_ListAppVersions.go | 2 +- service/resiliencehub/api_op_ListApps.go | 6 +- .../api_op_ListRecommendationTemplates.go | 4 +- .../api_op_ListResiliencyPolicies.go | 4 +- .../api_op_ListSopRecommendations.go | 8 +- .../api_op_ListSuggestedResiliencyPolicies.go | 4 +- .../api_op_ListTagsForResource.go | 6 +- .../api_op_ListTestRecommendations.go | 4 +- ...i_op_ListUnsupportedAppVersionResources.go | 4 +- .../resiliencehub/api_op_PublishAppVersion.go | 2 +- .../api_op_PutDraftAppVersionTemplate.go | 21 +- ...p_RemoveDraftAppVersionResourceMappings.go | 5 + .../resiliencehub/api_op_UpdateAppVersion.go | 8 +- .../api_op_UpdateAppVersionAppComponent.go | 10 +- .../api_op_UpdateAppVersionResource.go | 18 +- service/resiliencehub/deserializers.go | 201 ++++++++++++++++++ service/resiliencehub/doc.go | 12 +- service/resiliencehub/serializers.go | 91 ++++++++ service/resiliencehub/types/enums.go | 2 + service/resiliencehub/types/errors.go | 4 +- service/resiliencehub/types/types.go | 81 ++++++- service/resiliencehub/validators.go | 63 ++++++ .../internal/endpoints/endpoints.go | 9 + .../internal/endpoints/endpoints.go | 9 + service/ssm/api_op_ResetServiceSetting.go | 3 + service/ssm/api_op_UpdateServiceSetting.go | 14 +- service/ssm/types/enums.go | 4 + 74 files changed, 873 insertions(+), 182 deletions(-) create mode 100644 .changelog/1d6e8227d1084b59bf8d246fc9e5177d.json create mode 100644 .changelog/4a4bd75062d242c2ac9c85d4fc520226.json create mode 100644 .changelog/5b25f9077aa449aeb37ad46601e8f2c1.json create mode 100644 .changelog/743fc5c06bd147c3a36fea2e1cee4071.json create mode 100644 .changelog/8dfbe1df09a24c0e8c8bc6a3867f2be8.json create mode 100644 .changelog/ec4eb7b266c0449e92b69d9b5d09496e.json diff --git a/.changelog/1d6e8227d1084b59bf8d246fc9e5177d.json b/.changelog/1d6e8227d1084b59bf8d246fc9e5177d.json new file mode 100644 index 00000000000..519e653c16d --- /dev/null +++ b/.changelog/1d6e8227d1084b59bf8d246fc9e5177d.json @@ -0,0 +1,8 @@ +{ + "id": "1d6e8227-d108-4b59-bf8d-246fc9e5177d", + "type": "feature", + "description": "This Patch Manager release supports creating, updating, and deleting Patch Baselines for AmazonLinux2023, AlmaLinux.", + "modules": [ + "service/ssm" + ] +} \ No newline at end of file diff --git a/.changelog/4a4bd75062d242c2ac9c85d4fc520226.json b/.changelog/4a4bd75062d242c2ac9c85d4fc520226.json new file mode 100644 index 00000000000..96bcebf9367 --- /dev/null +++ b/.changelog/4a4bd75062d242c2ac9c85d4fc520226.json @@ -0,0 +1,8 @@ +{ + "id": "4a4bd750-62d2-42c2-ac9c-85d4fc520226", + "type": "documentation", + "description": "Documentation updates for AWS Identity and Access Management (IAM).", + "modules": [ + "service/iam" + ] +} \ No newline at end of file diff --git a/.changelog/5b25f9077aa449aeb37ad46601e8f2c1.json b/.changelog/5b25f9077aa449aeb37ad46601e8f2c1.json new file mode 100644 index 00000000000..30500782cee --- /dev/null +++ b/.changelog/5b25f9077aa449aeb37ad46601e8f2c1.json @@ -0,0 +1,8 @@ +{ + "id": "5b25f907-7aa4-49ae-b37a-d46601e8f2c1", + "type": "feature", + "description": "This release adds support of adding metadata when creating a new scene or updating an existing scene.", + "modules": [ + "service/iottwinmaker" + ] +} \ No newline at end of file diff --git a/.changelog/743fc5c06bd147c3a36fea2e1cee4071.json b/.changelog/743fc5c06bd147c3a36fea2e1cee4071.json new file mode 100644 index 00000000000..4d9338ef862 --- /dev/null +++ b/.changelog/743fc5c06bd147c3a36fea2e1cee4071.json @@ -0,0 +1,8 @@ +{ + "id": "743fc5c0-6bd1-47c3-a36f-ea2e1cee4071", + "type": "feature", + "description": "This release provides customers with the ability to import resources from within an EKS cluster and assess the resiliency of EKS cluster workloads.", + "modules": [ + "service/resiliencehub" + ] +} \ No newline at end of file diff --git a/.changelog/8dfbe1df09a24c0e8c8bc6a3867f2be8.json b/.changelog/8dfbe1df09a24c0e8c8bc6a3867f2be8.json new file mode 100644 index 00000000000..f74857a4851 --- /dev/null +++ b/.changelog/8dfbe1df09a24c0e8c8bc6a3867f2be8.json @@ -0,0 +1,8 @@ +{ + "id": "8dfbe1df-09a2-4c0e-8c8b-c6a3867f2be8", + "type": "documentation", + "description": "This release includes an update to create-transit-gateway-route-table-attachment, showing example usage for TransitGatewayRouteTableArn.", + "modules": [ + "service/networkmanager" + ] +} \ No newline at end of file diff --git a/.changelog/ec4eb7b266c0449e92b69d9b5d09496e.json b/.changelog/ec4eb7b266c0449e92b69d9b5d09496e.json new file mode 100644 index 00000000000..a47ff0e07d8 --- /dev/null +++ b/.changelog/ec4eb7b266c0449e92b69d9b5d09496e.json @@ -0,0 +1,8 @@ +{ + "id": "ec4eb7b2-66c0-449e-92b6-9d9b5d09496e", + "type": "feature", + "description": "This release improves validation on the ARNs in the API model", + "modules": [ + "service/pipes" + ] +} \ No newline at end of file diff --git a/service/appconfigdata/internal/endpoints/endpoints.go b/service/appconfigdata/internal/endpoints/endpoints.go index 2677094849e..af702d3636b 100644 --- a/service/appconfigdata/internal/endpoints/endpoints.go +++ b/service/appconfigdata/internal/endpoints/endpoints.go @@ -153,24 +153,39 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-3", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-4", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ca-central-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, @@ -180,6 +195,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-west-3", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "me-central-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "me-south-1", }: endpoints.Endpoint{}, diff --git a/service/iam/api_op_DeleteRolePermissionsBoundary.go b/service/iam/api_op_DeleteRolePermissionsBoundary.go index 8db0b2c3f29..5a28ed452f2 100644 --- a/service/iam/api_op_DeleteRolePermissionsBoundary.go +++ b/service/iam/api_op_DeleteRolePermissionsBoundary.go @@ -10,10 +10,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes the permissions boundary for the specified IAM role. Deleting the -// permissions boundary for a role might increase its permissions. For example, it -// might allow anyone who assumes the role to perform all the actions granted in -// its permissions policies. +// Deletes the permissions boundary for the specified IAM role. You cannot set the +// boundary for a service-linked role. Deleting the permissions boundary for a role +// might increase its permissions. For example, it might allow anyone who assumes +// the role to perform all the actions granted in its permissions policies. func (c *Client) DeleteRolePermissionsBoundary(ctx context.Context, params *DeleteRolePermissionsBoundaryInput, optFns ...func(*Options)) (*DeleteRolePermissionsBoundaryOutput, error) { if params == nil { params = &DeleteRolePermissionsBoundaryInput{} diff --git a/service/iam/types/errors.go b/service/iam/types/errors.go index 6c837e2ff44..32419c098ef 100644 --- a/service/iam/types/errors.go +++ b/service/iam/types/errors.go @@ -693,10 +693,11 @@ func (e *ServiceNotSupportedException) ErrorCode() string { } func (e *ServiceNotSupportedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// The request was rejected because only the service that depends on the -// service-linked role can modify or delete the role on your behalf. The error -// message includes the name of the service that depends on this service-linked -// role. You must request the change through that service. +// The request was rejected because service-linked roles are protected Amazon Web +// Services resources. Only the service that depends on the service-linked role can +// modify or delete the role on your behalf. The error message includes the name of +// the service that depends on this service-linked role. You must request the +// change through that service. type UnmodifiableEntityException struct { Message *string diff --git a/service/iottwinmaker/api_op_CreateScene.go b/service/iottwinmaker/api_op_CreateScene.go index 02609e8f159..52cf70b3569 100644 --- a/service/iottwinmaker/api_op_CreateScene.go +++ b/service/iottwinmaker/api_op_CreateScene.go @@ -51,6 +51,9 @@ type CreateSceneInput struct { // The description for this scene. Description *string + // The request metadata. + SceneMetadata map[string]string + // Metadata that you can use to manage the scene. Tags map[string]string diff --git a/service/iottwinmaker/api_op_CreateSyncJob.go b/service/iottwinmaker/api_op_CreateSyncJob.go index 7a6aa9a07c7..01d4fa6cfcf 100644 --- a/service/iottwinmaker/api_op_CreateSyncJob.go +++ b/service/iottwinmaker/api_op_CreateSyncJob.go @@ -31,18 +31,18 @@ func (c *Client) CreateSyncJob(ctx context.Context, params *CreateSyncJobInput, type CreateSyncJobInput struct { - // The SyncJob IAM role. This IAM role is used by the sync job to read from the - // syncSource, and create, update or delete the corresponding resources. + // The SyncJob IAM role. This IAM role is used by the SyncJob to read from the + // syncSource, and create, update, or delete the corresponding resources. // // This member is required. SyncRole *string - // The sync source. Currently the only supported syncSoucre is SITEWISE . + // The sync source. Currently the only supported syncSoource is SITEWISE . // // This member is required. SyncSource *string - // The workspace Id. + // The workspace ID. // // This member is required. WorkspaceId *string diff --git a/service/iottwinmaker/api_op_DeleteSyncJob.go b/service/iottwinmaker/api_op_DeleteSyncJob.go index f4e9bc33b45..c154b4405f9 100644 --- a/service/iottwinmaker/api_op_DeleteSyncJob.go +++ b/service/iottwinmaker/api_op_DeleteSyncJob.go @@ -30,12 +30,12 @@ func (c *Client) DeleteSyncJob(ctx context.Context, params *DeleteSyncJobInput, type DeleteSyncJobInput struct { - // The sync source. Currently the only supported syncSoucre is SITEWISE . + // The sync source. Currently the only supported syncSource is SITEWISE . // // This member is required. SyncSource *string - // The workspace Id. + // The workspace ID. // // This member is required. WorkspaceId *string diff --git a/service/iottwinmaker/api_op_GetComponentType.go b/service/iottwinmaker/api_op_GetComponentType.go index 0581103466b..9f858d4f2c0 100644 --- a/service/iottwinmaker/api_op_GetComponentType.go +++ b/service/iottwinmaker/api_op_GetComponentType.go @@ -106,7 +106,7 @@ type GetComponentTypeOutput struct { // The current status of the component type. Status *types.Status - // The syncSource of the sync job, if this entity was created by a sync job. + // The syncSource of the SyncJob, if this entity was created by a SyncJob. SyncSource *string // Metadata pertaining to the operation's result. diff --git a/service/iottwinmaker/api_op_GetScene.go b/service/iottwinmaker/api_op_GetScene.go index 26c44162917..9f73348d71f 100644 --- a/service/iottwinmaker/api_op_GetScene.go +++ b/service/iottwinmaker/api_op_GetScene.go @@ -81,6 +81,12 @@ type GetSceneOutput struct { // The description of the scene. Description *string + // The generated scene metadata. + GeneratedSceneMetadata map[string]string + + // The response metadata. + SceneMetadata map[string]string + // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/iottwinmaker/api_op_GetSyncJob.go b/service/iottwinmaker/api_op_GetSyncJob.go index 095dab4bbfe..1ec2aacc59f 100644 --- a/service/iottwinmaker/api_op_GetSyncJob.go +++ b/service/iottwinmaker/api_op_GetSyncJob.go @@ -31,12 +31,12 @@ func (c *Client) GetSyncJob(ctx context.Context, params *GetSyncJobInput, optFns type GetSyncJobInput struct { - // The sync soucre. Currently the only supported syncSoucre is SITEWISE . + // The sync source. Currently the only supported syncSource is SITEWISE . // // This member is required. SyncSource *string - // The workspace Id. + // The workspace ID. WorkspaceId *string noSmithyDocumentSerde @@ -64,7 +64,7 @@ type GetSyncJobOutput struct { // This member is required. SyncRole *string - // The sync soucre. Currently the only supported syncSoucre is SITEWISE . + // The sync soucre. Currently the only supported syncSource is SITEWISE . // // This member is required. SyncSource *string diff --git a/service/iottwinmaker/api_op_ListSyncResources.go b/service/iottwinmaker/api_op_ListSyncResources.go index a61cc272bb7..b87e205afd9 100644 --- a/service/iottwinmaker/api_op_ListSyncResources.go +++ b/service/iottwinmaker/api_op_ListSyncResources.go @@ -30,7 +30,7 @@ func (c *Client) ListSyncResources(ctx context.Context, params *ListSyncResource type ListSyncResourcesInput struct { - // The sync soucre. Currently the only supported syncSoucre is SITEWISE . + // The sync source. Currently the only supported syncSource is SITEWISE . // // This member is required. SyncSource *string @@ -40,7 +40,15 @@ type ListSyncResourcesInput struct { // This member is required. WorkspaceId *string - // A list of objects that filter the request. + // A list of objects that filter the request. The following filter combinations are + // supported: + // + // * Filter with state + // + // * Filter with ResourceType and ResourceId + // + // * + // Filter with ResourceType and ExternalId Filters []types.SyncResourceFilter // The maximum number of results to return at one time. The default is 50. Valid diff --git a/service/iottwinmaker/api_op_UpdateComponentType.go b/service/iottwinmaker/api_op_UpdateComponentType.go index 04b87798aa2..f798a8f5a11 100644 --- a/service/iottwinmaker/api_op_UpdateComponentType.go +++ b/service/iottwinmaker/api_op_UpdateComponentType.go @@ -61,7 +61,7 @@ type UpdateComponentTypeInput struct { // Each string in the mapping must be unique to this object. PropertyDefinitions map[string]types.PropertyDefinitionRequest - // The property groups + // The property groups. PropertyGroups map[string]types.PropertyGroupRequest noSmithyDocumentSerde diff --git a/service/iottwinmaker/api_op_UpdateScene.go b/service/iottwinmaker/api_op_UpdateScene.go index f0881c4e77c..2c01fdcbedc 100644 --- a/service/iottwinmaker/api_op_UpdateScene.go +++ b/service/iottwinmaker/api_op_UpdateScene.go @@ -49,6 +49,9 @@ type UpdateSceneInput struct { // The description of this scene. Description *string + // The scene metadata. + SceneMetadata map[string]string + noSmithyDocumentSerde } diff --git a/service/iottwinmaker/deserializers.go b/service/iottwinmaker/deserializers.go index 8d98f6e8c22..ed200af308e 100644 --- a/service/iottwinmaker/deserializers.go +++ b/service/iottwinmaker/deserializers.go @@ -3249,6 +3249,11 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value sv.Description = ptr.String(jtv) } + case "generatedSceneMetadata": + if err := awsRestjson1_deserializeDocumentGeneratedSceneMetadataMap(&sv.GeneratedSceneMetadata, value); err != nil { + return err + } + case "sceneId": if value != nil { jtv, ok := value.(string) @@ -3258,6 +3263,11 @@ func awsRestjson1_deserializeOpDocumentGetSceneOutput(v **GetSceneOutput, value sv.SceneId = ptr.String(jtv) } + case "sceneMetadata": + if err := awsRestjson1_deserializeDocumentSceneMetadataMap(&sv.SceneMetadata, value); err != nil { + return err + } + case "updateDateTime": if value != nil { switch jtv := value.(type) { @@ -7963,6 +7973,42 @@ func awsRestjson1_deserializeDocumentFunctionsResponse(v *map[string]types.Funct return nil } +func awsRestjson1_deserializeDocumentGeneratedSceneMetadataMap(v *map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]string + if *v == nil { + mv = map[string]string{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SceneMetadataValue to be of type string, got %T instead", value) + } + parsedVal = jtv + } + mv[key] = parsedVal + + } + *v = mv + return nil +} + func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalServerException, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -9214,6 +9260,42 @@ func awsRestjson1_deserializeDocumentSceneCapabilities(v *[]string, value interf return nil } +func awsRestjson1_deserializeDocumentSceneMetadataMap(v *map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]string + if *v == nil { + mv = map[string]string{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected SceneMetadataValue to be of type string, got %T instead", value) + } + parsedVal = jtv + } + mv[key] = parsedVal + + } + *v = mv + return nil +} + func awsRestjson1_deserializeDocumentSceneSummaries(v *[]types.SceneSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/iottwinmaker/doc.go b/service/iottwinmaker/doc.go index dafba2f7778..7ae14d0bba0 100644 --- a/service/iottwinmaker/doc.go +++ b/service/iottwinmaker/doc.go @@ -3,8 +3,8 @@ // Package iottwinmaker provides the API client, operations, and parameter types // for AWS IoT TwinMaker. // -// IoT TwinMaker is a service that enables you to build operational digital twins -// of physical systems. IoT TwinMaker overlays measurements and analysis from +// IoT TwinMaker is a service with which you can build operational digital twins of +// physical systems. IoT TwinMaker overlays measurements and analysis from // real-world sensors, cameras, and enterprise applications so you can create data // visualizations to monitor your physical factory, building, or industrial plant. // You can use this real-world data to monitor operations and diagnose and repair diff --git a/service/iottwinmaker/serializers.go b/service/iottwinmaker/serializers.go index 780b1a65af9..1885e296304 100644 --- a/service/iottwinmaker/serializers.go +++ b/service/iottwinmaker/serializers.go @@ -439,6 +439,13 @@ func awsRestjson1_serializeOpDocumentCreateSceneInput(v *CreateSceneInput, value ok.String(*v.SceneId) } + if v.SceneMetadata != nil { + ok := object.Key("sceneMetadata") + if err := awsRestjson1_serializeDocumentSceneMetadataMap(v.SceneMetadata, ok); err != nil { + return err + } + } + if v.Tags != nil { ok := object.Key("tags") if err := awsRestjson1_serializeDocumentTagMap(v.Tags, ok); err != nil { @@ -2846,6 +2853,13 @@ func awsRestjson1_serializeOpDocumentUpdateSceneInput(v *UpdateSceneInput, value ok.String(*v.Description) } + if v.SceneMetadata != nil { + ok := object.Key("sceneMetadata") + if err := awsRestjson1_serializeDocumentSceneMetadataMap(v.SceneMetadata, ok); err != nil { + return err + } + } + return nil } @@ -3807,6 +3821,17 @@ func awsRestjson1_serializeDocumentSceneCapabilities(v []string, value smithyjso return nil } +func awsRestjson1_serializeDocumentSceneMetadataMap(v map[string]string, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + for key := range v { + om := object.Key(key) + om.String(v[key]) + } + return nil +} + func awsRestjson1_serializeDocumentSelectedPropertyList(v []string, value smithyjson.Value) error { array := value.Array() defer array.Close() diff --git a/service/iottwinmaker/types/types.go b/service/iottwinmaker/types/types.go index 0ac9b640047..d8346f98833 100644 --- a/service/iottwinmaker/types/types.go +++ b/service/iottwinmaker/types/types.go @@ -43,7 +43,7 @@ type BatchPutPropertyErrorEntry struct { noSmithyDocumentSerde } -// Information about pricing bundle. +// Information about the pricing bundle. type BundleInformation struct { // The bundle names. @@ -69,6 +69,7 @@ type ColumnDescription struct { noSmithyDocumentSerde } +// The component property group request. type ComponentPropertyGroupRequest struct { // The group type. @@ -542,7 +543,7 @@ type PricingPlan struct { // This member is required. UpdateDateTime *time.Time - // The update reason, for changing a pricing plan. + // The update reason for changing a pricing plan. // // This member is required. UpdateReason UpdateReason @@ -699,7 +700,7 @@ type PropertyGroupResponse struct { // The latest value of the property. type PropertyLatestValue struct { - // An object that specifies information about a property.> + // An object that specifies information about a property. // // This member is required. PropertyReference *EntityPropertyReference @@ -944,7 +945,7 @@ type SyncResourceFilter interface { isSyncResourceFilter() } -// The external Id. +// The external ID. type SyncResourceFilterMemberExternalId struct { Value string @@ -953,7 +954,7 @@ type SyncResourceFilterMemberExternalId struct { func (*SyncResourceFilterMemberExternalId) isSyncResourceFilter() {} -// The sync resource filter resource Id. +// The sync resource filter resource ID. type SyncResourceFilterMemberResourceId struct { Value string @@ -962,7 +963,7 @@ type SyncResourceFilterMemberResourceId struct { func (*SyncResourceFilterMemberResourceId) isSyncResourceFilter() {} -// The sync resource filter resoucre type +// The sync resource filter resource type type SyncResourceFilterMemberResourceType struct { Value SyncResourceType @@ -995,10 +996,10 @@ type SyncResourceStatus struct { // The sync resource summary. type SyncResourceSummary struct { - // The external Id. + // The external ID. ExternalId *string - // The resource Id. + // The resource ID. ResourceId *string // The resource type. diff --git a/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go b/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go index ec957d49ffc..13317718da0 100644 --- a/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go +++ b/service/networkmanager/api_op_CreateTransitGatewayRouteTableAttachment.go @@ -35,7 +35,9 @@ type CreateTransitGatewayRouteTableAttachmentInput struct { // This member is required. PeeringId *string - // The ARN of the transit gateway route table for the attachment request. + // The ARN of the transit gateway route table for the attachment request. For + // example, "TransitGatewayRouteTableArn": + // "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456". // // This member is required. TransitGatewayRouteTableArn *string diff --git a/service/resiliencehub/api_op_CreateApp.go b/service/resiliencehub/api_op_CreateApp.go index 3610771158d..06af387e830 100644 --- a/service/resiliencehub/api_op_CreateApp.go +++ b/service/resiliencehub/api_op_CreateApp.go @@ -12,12 +12,12 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates an AWS Resilience Hub application. An AWS Resilience Hub application is -// a collection of Amazon Web Services resources structured to prevent and recover -// Amazon Web Services application disruptions. To describe a AWS Resilience Hub +// Creates an Resilience Hub application. An Resilience Hub application is a +// collection of Amazon Web Services resources structured to prevent and recover +// Amazon Web Services application disruptions. To describe a Resilience Hub // application, you provide an application name, resources from one or more–up to // five–CloudFormation stacks, and an appropriate resiliency policy. After you -// create an AWS Resilience Hub application, you publish it so that you can run a +// create an Resilience Hub application, you publish it so that you can run a // resiliency assessment on it. You can then use recommendations from the // assessment to improve resiliency by running another assessment, comparing // results, and then iterating the process until you achieve your goals for diff --git a/service/resiliencehub/api_op_CreateAppVersionAppComponent.go b/service/resiliencehub/api_op_CreateAppVersionAppComponent.go index b559218b121..0c66307a2b5 100644 --- a/service/resiliencehub/api_op_CreateAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_CreateAppVersionAppComponent.go @@ -12,10 +12,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a new Application Component in the AWS Resilience Hub application. This -// API updates the AWS Resilience Hub application draft version. To use this -// Application Component for running assessments, you must publish the AWS -// Resilience Hub application using the PublishAppVersion API. +// Creates a new Application Component in the Resilience Hub application. This API +// updates the Resilience Hub application draft version. To use this Application +// Component for running assessments, you must publish the Resilience Hub +// application using the PublishAppVersion API. func (c *Client) CreateAppVersionAppComponent(ctx context.Context, params *CreateAppVersionAppComponentInput, optFns ...func(*Options)) (*CreateAppVersionAppComponentOutput, error) { if params == nil { params = &CreateAppVersionAppComponentInput{} @@ -85,7 +85,7 @@ type CreateAppVersionAppComponentOutput struct { // This member is required. AppVersion *string - // Defines an Application Component. + // The list of Application Components that belong to this resource. AppComponent *types.AppComponent // Metadata pertaining to the operation's result. diff --git a/service/resiliencehub/api_op_CreateAppVersionResource.go b/service/resiliencehub/api_op_CreateAppVersionResource.go index 7058e062f40..eab1b0ae1fe 100644 --- a/service/resiliencehub/api_op_CreateAppVersionResource.go +++ b/service/resiliencehub/api_op_CreateAppVersionResource.go @@ -12,17 +12,17 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Adds a resource to the AWS Resilience Hub applicationand assigns it to the +// Adds a resource to the Resilience Hub application and assigns it to the // specified Application Components. If you specify a new Application Component, -// AWS Resilience Hub will automatically create the Application Component. +// Resilience Hub will automatically create the Application Component. // // * This -// action has no effect outside AWS Resilience Hub. +// action has no effect outside Resilience Hub. // -// * This API updates the AWS -// Resilience Hub application draft version. To use this resource for running -// resiliency assessments, you must publish the AWS Resilience Hub application -// using the PublishAppVersion API. +// * This API updates the Resilience +// Hub application draft version. To use this resource for running resiliency +// assessments, you must publish the Resilience Hub application using the +// PublishAppVersion API. // // * To update application version with new // physicalResourceID, you must call ResolveAppVersionResources API. diff --git a/service/resiliencehub/api_op_CreateRecommendationTemplate.go b/service/resiliencehub/api_op_CreateRecommendationTemplate.go index 6ebd997427e..ec293ea1e3e 100644 --- a/service/resiliencehub/api_op_CreateRecommendationTemplate.go +++ b/service/resiliencehub/api_op_CreateRecommendationTemplate.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Creates a new recommendation template for the AWS Resilience Hub application. +// Creates a new recommendation template for the Resilience Hub application. func (c *Client) CreateRecommendationTemplate(ctx context.Context, params *CreateRecommendationTemplateInput, optFns ...func(*Options)) (*CreateRecommendationTemplateOutput, error) { if params == nil { params = &CreateRecommendationTemplateInput{} diff --git a/service/resiliencehub/api_op_DeleteApp.go b/service/resiliencehub/api_op_DeleteApp.go index 46908769112..8d130d0b1ee 100644 --- a/service/resiliencehub/api_op_DeleteApp.go +++ b/service/resiliencehub/api_op_DeleteApp.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes an AWS Resilience Hub application. This is a destructive action that -// can't be undone. +// Deletes an Resilience Hub application. This is a destructive action that can't +// be undone. func (c *Client) DeleteApp(ctx context.Context, params *DeleteAppInput, optFns ...func(*Options)) (*DeleteAppOutput, error) { if params == nil { params = &DeleteAppInput{} @@ -44,7 +44,7 @@ type DeleteAppInput struct { // other API requests. ClientToken *string - // A boolean option to force the deletion of an AWS Resilience Hub application. + // A boolean option to force the deletion of an Resilience Hub application. ForceDelete *bool noSmithyDocumentSerde diff --git a/service/resiliencehub/api_op_DeleteAppAssessment.go b/service/resiliencehub/api_op_DeleteAppAssessment.go index c7357f93e83..5c1a031e534 100644 --- a/service/resiliencehub/api_op_DeleteAppAssessment.go +++ b/service/resiliencehub/api_op_DeleteAppAssessment.go @@ -12,8 +12,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes an AWS Resilience Hub application assessment. This is a destructive -// action that can't be undone. +// Deletes an Resilience Hub application assessment. This is a destructive action +// that can't be undone. func (c *Client) DeleteAppAssessment(ctx context.Context, params *DeleteAppAssessmentInput, optFns ...func(*Options)) (*DeleteAppAssessmentOutput, error) { if params == nil { params = &DeleteAppAssessmentInput{} diff --git a/service/resiliencehub/api_op_DeleteAppInputSource.go b/service/resiliencehub/api_op_DeleteAppInputSource.go index 3788e0ccc85..429a97b279b 100644 --- a/service/resiliencehub/api_op_DeleteAppInputSource.go +++ b/service/resiliencehub/api_op_DeleteAppInputSource.go @@ -12,8 +12,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes the input source and all of its imported resources from the AWS -// Resilience Hub application. +// Deletes the input source and all of its imported resources from the Resilience +// Hub application. func (c *Client) DeleteAppInputSource(ctx context.Context, params *DeleteAppInputSourceInput, optFns ...func(*Options)) (*DeleteAppInputSourceOutput, error) { if params == nil { params = &DeleteAppInputSourceInput{} @@ -45,15 +45,19 @@ type DeleteAppInputSourceInput struct { // other API requests. ClientToken *string + // The namespace on your Amazon Elastic Kubernetes Service cluster that you want to + // delete from the Resilience Hub application. + EksSourceClusterNamespace *types.EksSourceClusterNamespace + // The Amazon Resource Name (ARN) of the imported resource you want to remove from - // the AWS Resilience Hub application. For more information about ARNs, see Amazon + // the Resilience Hub application. For more information about ARNs, see Amazon // Resource Names (ARNs) // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in // the AWS General Reference guide. SourceArn *string - // The imported Terraform s3 state file you want to remove from the AWS Resilience - // Hub application. + // The imported Terraform s3 state file you want to remove from the Resilience Hub + // application. TerraformSource *types.TerraformSource noSmithyDocumentSerde diff --git a/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go b/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go index 43b3cbfd77f..b7599877852 100644 --- a/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_DeleteAppVersionAppComponent.go @@ -12,15 +12,15 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes an Application Component from the AWS Resilience Hub application. +// Deletes an Application Component from the Resilience Hub application. // -// * -// This API updates the AWS Resilience Hub application draft version. To use this -// Application Component for running assessments, you must publish the AWS -// Resilience Hub application using the PublishAppVersion API. +// * This +// API updates the Resilience Hub application draft version. To use this +// Application Component for running assessments, you must publish the Resilience +// Hub application using the PublishAppVersion API. // -// * You will not be -// able to delete an Application Component if it has resources associated with it. +// * You will not be able to +// delete an Application Component if it has resources associated with it. func (c *Client) DeleteAppVersionAppComponent(ctx context.Context, params *DeleteAppVersionAppComponentInput, optFns ...func(*Options)) (*DeleteAppVersionAppComponentOutput, error) { if params == nil { params = &DeleteAppVersionAppComponentInput{} @@ -76,7 +76,7 @@ type DeleteAppVersionAppComponentOutput struct { // This member is required. AppVersion *string - // Defines an Application Component. + // The list of Application Components that belong to this resource. AppComponent *types.AppComponent // Metadata pertaining to the operation's result. diff --git a/service/resiliencehub/api_op_DeleteAppVersionResource.go b/service/resiliencehub/api_op_DeleteAppVersionResource.go index 10f12dfdb9b..f4d090ee260 100644 --- a/service/resiliencehub/api_op_DeleteAppVersionResource.go +++ b/service/resiliencehub/api_op_DeleteAppVersionResource.go @@ -12,18 +12,18 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Deletes a resource from the AWS Resilience Hub application. +// Deletes a resource from the Resilience Hub application. // -// * You can only -// delete a manually added resource. To exclude non-manually added resources, use -// the UpdateAppVersionResource API. +// * You can only delete a +// manually added resource. To exclude non-manually added resources, use the +// UpdateAppVersionResource API. // -// * This action has no effect outside AWS -// Resilience Hub. +// * This action has no effect outside Resilience +// Hub. // -// * This API updates the AWS Resilience Hub application draft -// version. To use this resource for running resiliency assessments, you must -// publish the AWS Resilience Hub application using the PublishAppVersion API. +// * This API updates the Resilience Hub application draft version. To use +// this resource for running resiliency assessments, you must publish the +// Resilience Hub application using the PublishAppVersion API. func (c *Client) DeleteAppVersionResource(ctx context.Context, params *DeleteAppVersionResourceInput, optFns ...func(*Options)) (*DeleteAppVersionResourceOutput, error) { if params == nil { params = &DeleteAppVersionResourceInput{} diff --git a/service/resiliencehub/api_op_DescribeApp.go b/service/resiliencehub/api_op_DescribeApp.go index 430c7fc14b4..9d9ff7a1cd9 100644 --- a/service/resiliencehub/api_op_DescribeApp.go +++ b/service/resiliencehub/api_op_DescribeApp.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes an AWS Resilience Hub application. +// Describes an Resilience Hub application. func (c *Client) DescribeApp(ctx context.Context, params *DescribeAppInput, optFns ...func(*Options)) (*DescribeAppOutput, error) { if params == nil { params = &DescribeAppInput{} diff --git a/service/resiliencehub/api_op_DescribeAppAssessment.go b/service/resiliencehub/api_op_DescribeAppAssessment.go index 4c1030d48d7..94a3217694b 100644 --- a/service/resiliencehub/api_op_DescribeAppAssessment.go +++ b/service/resiliencehub/api_op_DescribeAppAssessment.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes an assessment for an AWS Resilience Hub application. +// Describes an assessment for an Resilience Hub application. func (c *Client) DescribeAppAssessment(ctx context.Context, params *DescribeAppAssessmentInput, optFns ...func(*Options)) (*DescribeAppAssessmentOutput, error) { if params == nil { params = &DescribeAppAssessmentInput{} @@ -43,9 +43,9 @@ type DescribeAppAssessmentInput struct { type DescribeAppAssessmentOutput struct { - // The assessment for an AWS Resilience Hub application, returned as an object. - // This object includes Amazon Resource Names (ARNs), compliance information, - // compliance status, cost, messages, resiliency scores, and more. + // The assessment for an Resilience Hub application, returned as an object. This + // object includes Amazon Resource Names (ARNs), compliance information, compliance + // status, cost, messages, resiliency scores, and more. // // This member is required. Assessment *types.AppAssessment diff --git a/service/resiliencehub/api_op_DescribeAppVersion.go b/service/resiliencehub/api_op_DescribeAppVersion.go index 4cbc08a3290..f55d68a51dd 100644 --- a/service/resiliencehub/api_op_DescribeAppVersion.go +++ b/service/resiliencehub/api_op_DescribeAppVersion.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes the AWS Resilience Hub application version. +// Describes the Resilience Hub application version. func (c *Client) DescribeAppVersion(ctx context.Context, params *DescribeAppVersionInput, optFns ...func(*Options)) (*DescribeAppVersionOutput, error) { if params == nil { params = &DescribeAppVersionInput{} diff --git a/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go b/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go index 23e26cb68b6..beb92272350 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_DescribeAppVersionAppComponent.go @@ -11,7 +11,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes an Application Component in the AWS Resilience Hub application. +// Describes an Application Component in the Resilience Hub application. func (c *Client) DescribeAppVersionAppComponent(ctx context.Context, params *DescribeAppVersionAppComponentInput, optFns ...func(*Options)) (*DescribeAppVersionAppComponentOutput, error) { if params == nil { params = &DescribeAppVersionAppComponentInput{} @@ -67,7 +67,7 @@ type DescribeAppVersionAppComponentOutput struct { // This member is required. AppVersion *string - // Defines an Application Component. + // The list of Application Components that belong to this resource. AppComponent *types.AppComponent // Metadata pertaining to the operation's result. diff --git a/service/resiliencehub/api_op_DescribeAppVersionResource.go b/service/resiliencehub/api_op_DescribeAppVersionResource.go index 2ab30f1c1bc..d349a397f8f 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionResource.go +++ b/service/resiliencehub/api_op_DescribeAppVersionResource.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes a resource of the AWS Resilience Hub application. This API accepts -// only one of the following parameters to descibe the resource: +// Describes a resource of the Resilience Hub application. This API accepts only +// one of the following parameters to descibe the resource: // // * resourceName // diff --git a/service/resiliencehub/api_op_DescribeAppVersionTemplate.go b/service/resiliencehub/api_op_DescribeAppVersionTemplate.go index e70edd20524..d2f12d353c5 100644 --- a/service/resiliencehub/api_op_DescribeAppVersionTemplate.go +++ b/service/resiliencehub/api_op_DescribeAppVersionTemplate.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes details about an AWS Resilience Hub application. +// Describes details about an Resilience Hub application. func (c *Client) DescribeAppVersionTemplate(ctx context.Context, params *DescribeAppVersionTemplateInput, optFns ...func(*Options)) (*DescribeAppVersionTemplateOutput, error) { if params == nil { params = &DescribeAppVersionTemplateInput{} @@ -62,8 +62,8 @@ type DescribeAppVersionTemplateOutput struct { // structure: // // * resources The list of logical resources that needs to be included - // in the application. Type: Array Don't add the resources that you want to - // exclude. Each resources array item includes the following fields: + // in the Resilience Hub application. Type: Array Don't add the resources that you + // want to exclude. Each resources array item includes the following fields: // // * // logicalResourceId The logical identifier of the resource. Type: Object Each @@ -87,6 +87,12 @@ type DescribeAppVersionTemplateOutput struct { // * name The // name of the resource. Type: String // + // * additionalInfo Additional configuration + // parameters for an AWS Resilience Hub application. Currently, this parameter + // accepts a key-value mapping (in a string format) of only one failover region and + // one associated account. Key: "failover-regions" Value: "[{"region":"", + // "accounts":[{"id":""}]}]" + // // * appComponents The list of Application // Components that this resource belongs to. If an Application Component is not // part of the AWS Resilience Hub application, it will be added. Type: Array Each @@ -141,6 +147,15 @@ type DescribeAppVersionTemplateOutput struct { // * terraformSourceName The name of // the Terraform S3 state file this resource belongs to. Type: String // + // * version + // The AWS Resilience Hub application version. + // + // * additionalInfo Additional + // configuration parameters for an AWS Resilience Hub application. Currently, this + // parameter accepts a key-value mapping (in a string format) of only one failover + // region and one associated account. Key: "failover-regions" Value: + // "[{"region":"", "accounts":[{"id":""}]}]" + // // This member is required. AppTemplateBody *string diff --git a/service/resiliencehub/api_op_DescribeResiliencyPolicy.go b/service/resiliencehub/api_op_DescribeResiliencyPolicy.go index 780326546d8..bfb8b072c84 100644 --- a/service/resiliencehub/api_op_DescribeResiliencyPolicy.go +++ b/service/resiliencehub/api_op_DescribeResiliencyPolicy.go @@ -11,9 +11,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Describes a specified resiliency policy for an AWS Resilience Hub application. -// The returned policy object includes creation time, data location constraints, -// the Amazon Resource Name (ARN) for the policy, tags, tier, and more. +// Describes a specified resiliency policy for an Resilience Hub application. The +// returned policy object includes creation time, data location constraints, the +// Amazon Resource Name (ARN) for the policy, tags, tier, and more. func (c *Client) DescribeResiliencyPolicy(ctx context.Context, params *DescribeResiliencyPolicyInput, optFns ...func(*Options)) (*DescribeResiliencyPolicyOutput, error) { if params == nil { params = &DescribeResiliencyPolicyInput{} diff --git a/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go b/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go index 936a78196ac..3b52d08c457 100644 --- a/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go +++ b/service/resiliencehub/api_op_ImportResourcesToDraftAppVersion.go @@ -11,8 +11,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Imports resources to AWS Resilience Hub application draft version from different -// input sources. For more information about the input sources supported by AWS +// Imports resources to Resilience Hub application draft version from different +// input sources. For more information about the input sources supported by // Resilience Hub, see Discover the structure and describe your Resilience Hub // application // (https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html). @@ -42,11 +42,15 @@ type ImportResourcesToDraftAppVersionInput struct { // This member is required. AppArn *string - // The import strategy you would like to set to import resources into AWS - // Resilience Hub application. + // The input sources of the Amazon Elastic Kubernetes Service resources you need to + // import. + EksSources []types.EksSource + + // The import strategy you would like to set to import resources into Resilience + // Hub application. ImportStrategy types.ResourceImportStrategyType - // The Amazon Resource Names (ARNs) for the resources that you want to import. + // The Amazon Resource Names (ARNs) for the resources. SourceArns []string // A list of terraform file s3 URLs you need to import. @@ -76,10 +80,14 @@ type ImportResourcesToDraftAppVersionOutput struct { // This member is required. Status types.ResourceImportStatusType - // The Amazon Resource Names (ARNs) for the resources that you imported. + // The input sources of the Amazon Elastic Kubernetes Service resources you have + // imported. + EksSources []types.EksSource + + // The Amazon Resource Names (ARNs) for the resources you have imported. SourceArns []string - // A list of terraform file s3 URLs you need to import. + // A list of terraform file s3 URLs you have imported. TerraformSources []types.TerraformSource // Metadata pertaining to the operation's result. diff --git a/service/resiliencehub/api_op_ListAlarmRecommendations.go b/service/resiliencehub/api_op_ListAlarmRecommendations.go index 49f9cc86160..97c45636f28 100644 --- a/service/resiliencehub/api_op_ListAlarmRecommendations.go +++ b/service/resiliencehub/api_op_ListAlarmRecommendations.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the alarm recommendations for an AWS Resilience Hub application. +// Lists the alarm recommendations for an Resilience Hub application. func (c *Client) ListAlarmRecommendations(ctx context.Context, params *ListAlarmRecommendationsInput, optFns ...func(*Options)) (*ListAlarmRecommendationsOutput, error) { if params == nil { params = &ListAlarmRecommendationsInput{} @@ -52,7 +52,7 @@ type ListAlarmRecommendationsInput struct { type ListAlarmRecommendationsOutput struct { - // The alarm recommendations for an AWS Resilience Hub application, returned as an + // The alarm recommendations for an Resilience Hub application, returned as an // object. This object includes Application Component names, descriptions, // information about whether a recommendation has already been implemented or not, // prerequisites, and more. diff --git a/service/resiliencehub/api_op_ListAppAssessments.go b/service/resiliencehub/api_op_ListAppAssessments.go index 9204c60eb23..7f110ee6fe4 100644 --- a/service/resiliencehub/api_op_ListAppAssessments.go +++ b/service/resiliencehub/api_op_ListAppAssessments.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the assessments for an AWS Resilience Hub application. You can use request +// Lists the assessments for an Resilience Hub application. You can use request // parameters to refine the results for the response object. func (c *Client) ListAppAssessments(ctx context.Context, params *ListAppAssessmentsInput, optFns ...func(*Options)) (*ListAppAssessmentsOutput, error) { if params == nil { diff --git a/service/resiliencehub/api_op_ListAppComponentCompliances.go b/service/resiliencehub/api_op_ListAppComponentCompliances.go index 31077306391..0f581b05df6 100644 --- a/service/resiliencehub/api_op_ListAppComponentCompliances.go +++ b/service/resiliencehub/api_op_ListAppComponentCompliances.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the compliances for an AWS Resilience Hub Application Component. +// Lists the compliances for an Resilience Hub Application Component. func (c *Client) ListAppComponentCompliances(ctx context.Context, params *ListAppComponentCompliancesInput, optFns ...func(*Options)) (*ListAppComponentCompliancesOutput, error) { if params == nil { params = &ListAppComponentCompliancesInput{} @@ -52,7 +52,7 @@ type ListAppComponentCompliancesInput struct { type ListAppComponentCompliancesOutput struct { - // The compliances for an AWS Resilience Hub Application Component, returned as an + // The compliances for an Resilience Hub Application Component, returned as an // object. This object contains the names of the Application Components, // compliances, costs, resiliency scores, outage scores, and more. // diff --git a/service/resiliencehub/api_op_ListAppComponentRecommendations.go b/service/resiliencehub/api_op_ListAppComponentRecommendations.go index 1736fc5f1cf..9eb2eb810ea 100644 --- a/service/resiliencehub/api_op_ListAppComponentRecommendations.go +++ b/service/resiliencehub/api_op_ListAppComponentRecommendations.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the recommendations for an AWS Resilience Hub Application Component. +// Lists the recommendations for an Resilience Hub Application Component. func (c *Client) ListAppComponentRecommendations(ctx context.Context, params *ListAppComponentRecommendationsInput, optFns ...func(*Options)) (*ListAppComponentRecommendationsOutput, error) { if params == nil { params = &ListAppComponentRecommendationsInput{} @@ -52,8 +52,8 @@ type ListAppComponentRecommendationsInput struct { type ListAppComponentRecommendationsOutput struct { - // The recommendations for an AWS Resilience Hub Application Component, returned as - // an object. This object contains the names of the Application Components, + // The recommendations for an Resilience Hub Application Component, returned as an + // object. This object contains the names of the Application Components, // configuration recommendations, and recommendation statuses. // // This member is required. diff --git a/service/resiliencehub/api_op_ListAppInputSources.go b/service/resiliencehub/api_op_ListAppInputSources.go index 83b5b0bb00a..af8858fefd3 100644 --- a/service/resiliencehub/api_op_ListAppInputSources.go +++ b/service/resiliencehub/api_op_ListAppInputSources.go @@ -12,9 +12,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists all the input sources of the AWS Resilience Hub application. For more -// information about the input sources supported by AWS Resilience Hub, see -// Discover the structure and describe your Resilience Hub application +// Lists all the input sources of the Resilience Hub application. For more +// information about the input sources supported by Resilience Hub, see Discover +// the structure and describe your Resilience Hub application // (https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html). func (c *Client) ListAppInputSources(ctx context.Context, params *ListAppInputSourcesInput, optFns ...func(*Options)) (*ListAppInputSourcesOutput, error) { if params == nil { @@ -47,8 +47,7 @@ type ListAppInputSourcesInput struct { // This member is required. AppVersion *string - // Maximum number of input sources to be displayed per AWS Resilience Hub - // application. + // Maximum number of input sources to be displayed per Resilience Hub application. MaxResults *int32 // Null, or the token from a previous call to get the next set of results. @@ -59,7 +58,7 @@ type ListAppInputSourcesInput struct { type ListAppInputSourcesOutput struct { - // The list of AWS Resilience Hub application input sources. + // The list of Resilience Hub application input sources. // // This member is required. AppInputSources []types.AppInputSource @@ -147,8 +146,7 @@ var _ ListAppInputSourcesAPIClient = (*Client)(nil) // ListAppInputSourcesPaginatorOptions is the paginator options for // ListAppInputSources type ListAppInputSourcesPaginatorOptions struct { - // Maximum number of input sources to be displayed per AWS Resilience Hub - // application. + // Maximum number of input sources to be displayed per Resilience Hub application. Limit int32 // Set to true if pagination should stop if the service returns a pagination token diff --git a/service/resiliencehub/api_op_ListAppVersionAppComponents.go b/service/resiliencehub/api_op_ListAppVersionAppComponents.go index feb169dc0e9..52ea20937aa 100644 --- a/service/resiliencehub/api_op_ListAppVersionAppComponents.go +++ b/service/resiliencehub/api_op_ListAppVersionAppComponents.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists all the Application Components in the AWS Resilience Hub application. +// Lists all the Application Components in the Resilience Hub application. func (c *Client) ListAppVersionAppComponents(ctx context.Context, params *ListAppVersionAppComponentsInput, optFns ...func(*Options)) (*ListAppVersionAppComponentsOutput, error) { if params == nil { params = &ListAppVersionAppComponentsInput{} diff --git a/service/resiliencehub/api_op_ListAppVersionResources.go b/service/resiliencehub/api_op_ListAppVersionResources.go index bfe19e93520..b0d7eddc885 100644 --- a/service/resiliencehub/api_op_ListAppVersionResources.go +++ b/service/resiliencehub/api_op_ListAppVersionResources.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists all the resources in an AWS Resilience Hub application. +// Lists all the resources in an Resilience Hub application. func (c *Client) ListAppVersionResources(ctx context.Context, params *ListAppVersionResourcesInput, optFns ...func(*Options)) (*ListAppVersionResourcesOutput, error) { if params == nil { params = &ListAppVersionResourcesInput{} diff --git a/service/resiliencehub/api_op_ListAppVersions.go b/service/resiliencehub/api_op_ListAppVersions.go index d4026c1d2be..48aa684d470 100644 --- a/service/resiliencehub/api_op_ListAppVersions.go +++ b/service/resiliencehub/api_op_ListAppVersions.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the different versions for the AWS Resilience Hub applications. +// Lists the different versions for the Resilience Hub applications. func (c *Client) ListAppVersions(ctx context.Context, params *ListAppVersionsInput, optFns ...func(*Options)) (*ListAppVersionsOutput, error) { if params == nil { params = &ListAppVersionsInput{} diff --git a/service/resiliencehub/api_op_ListApps.go b/service/resiliencehub/api_op_ListApps.go index 7cd022a342a..7f681140c6e 100644 --- a/service/resiliencehub/api_op_ListApps.go +++ b/service/resiliencehub/api_op_ListApps.go @@ -12,8 +12,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists your AWS Resilience Hub applications. You can filter applications using -// only one filter at a time or without using any filter. If you try to filter +// Lists your Resilience Hub applications. You can filter applications using only +// one filter at a time or without using any filter. If you try to filter // applications using multiple filters, you will get the following error: An error // occurred (ValidationException) when calling the ListApps operation: Only one // filter is supported for this operation. @@ -57,7 +57,7 @@ type ListAppsInput struct { type ListAppsOutput struct { - // Summaries for the AWS Resilience Hub application. + // Summaries for the Resilience Hub application. // // This member is required. AppSummaries []types.AppSummary diff --git a/service/resiliencehub/api_op_ListRecommendationTemplates.go b/service/resiliencehub/api_op_ListRecommendationTemplates.go index c170cf0f95f..bbf9cee884c 100644 --- a/service/resiliencehub/api_op_ListRecommendationTemplates.go +++ b/service/resiliencehub/api_op_ListRecommendationTemplates.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the recommendation templates for the AWS Resilience Hub applications. +// Lists the recommendation templates for the Resilience Hub applications. func (c *Client) ListRecommendationTemplates(ctx context.Context, params *ListRecommendationTemplatesInput, optFns ...func(*Options)) (*ListRecommendationTemplatesOutput, error) { if params == nil { params = &ListRecommendationTemplatesInput{} @@ -68,7 +68,7 @@ type ListRecommendationTemplatesOutput struct { // The token for the next set of results, or null if there are no more results. NextToken *string - // The recommendation templates for the AWS Resilience Hub applications. + // The recommendation templates for the Resilience Hub applications. RecommendationTemplates []types.RecommendationTemplate // Metadata pertaining to the operation's result. diff --git a/service/resiliencehub/api_op_ListResiliencyPolicies.go b/service/resiliencehub/api_op_ListResiliencyPolicies.go index b6fceaf06e2..a55be8d7c07 100644 --- a/service/resiliencehub/api_op_ListResiliencyPolicies.go +++ b/service/resiliencehub/api_op_ListResiliencyPolicies.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the resiliency policies for the AWS Resilience Hub applications. +// Lists the resiliency policies for the Resilience Hub applications. func (c *Client) ListResiliencyPolicies(ctx context.Context, params *ListResiliencyPoliciesInput, optFns ...func(*Options)) (*ListResiliencyPoliciesOutput, error) { if params == nil { params = &ListResiliencyPoliciesInput{} @@ -46,7 +46,7 @@ type ListResiliencyPoliciesInput struct { type ListResiliencyPoliciesOutput struct { - // The resiliency policies for the AWS Resilience Hub applications. + // The resiliency policies for the Resilience Hub applications. // // This member is required. ResiliencyPolicies []types.ResiliencyPolicy diff --git a/service/resiliencehub/api_op_ListSopRecommendations.go b/service/resiliencehub/api_op_ListSopRecommendations.go index 6c191a71625..19fcbbdf845 100644 --- a/service/resiliencehub/api_op_ListSopRecommendations.go +++ b/service/resiliencehub/api_op_ListSopRecommendations.go @@ -12,8 +12,8 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the standard operating procedure (SOP) recommendations for the AWS -// Resilience Hub applications. +// Lists the standard operating procedure (SOP) recommendations for the Resilience +// Hub applications. func (c *Client) ListSopRecommendations(ctx context.Context, params *ListSopRecommendationsInput, optFns ...func(*Options)) (*ListSopRecommendationsOutput, error) { if params == nil { params = &ListSopRecommendationsInput{} @@ -53,8 +53,8 @@ type ListSopRecommendationsInput struct { type ListSopRecommendationsOutput struct { - // The standard operating procedure (SOP) recommendations for the AWS Resilience - // Hub applications. + // The standard operating procedure (SOP) recommendations for the Resilience Hub + // applications. // // This member is required. SopRecommendations []types.SopRecommendation diff --git a/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go b/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go index 848d4d0c169..e3b3e268860 100644 --- a/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go +++ b/service/resiliencehub/api_op_ListSuggestedResiliencyPolicies.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the suggested resiliency policies for the AWS Resilience Hub applications. +// Lists the suggested resiliency policies for the Resilience Hub applications. func (c *Client) ListSuggestedResiliencyPolicies(ctx context.Context, params *ListSuggestedResiliencyPoliciesInput, optFns ...func(*Options)) (*ListSuggestedResiliencyPoliciesOutput, error) { if params == nil { params = &ListSuggestedResiliencyPoliciesInput{} @@ -43,7 +43,7 @@ type ListSuggestedResiliencyPoliciesInput struct { type ListSuggestedResiliencyPoliciesOutput struct { - // The suggested resiliency policies for the AWS Resilience Hub applications. + // The suggested resiliency policies for the Resilience Hub applications. // // This member is required. ResiliencyPolicies []types.ResiliencyPolicy diff --git a/service/resiliencehub/api_op_ListTagsForResource.go b/service/resiliencehub/api_op_ListTagsForResource.go index ece1b473c7f..62fb43212ba 100644 --- a/service/resiliencehub/api_op_ListTagsForResource.go +++ b/service/resiliencehub/api_op_ListTagsForResource.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the tags for your resources in your AWS Resilience Hub applications. +// Lists the tags for your resources in your Resilience Hub applications. func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error) { if params == nil { params = &ListTagsForResourceInput{} @@ -28,8 +28,8 @@ func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForRes type ListTagsForResourceInput struct { - // The Amazon Resource Name (ARN) for a specific resource in your AWS Resilience - // Hub application. + // The Amazon Resource Name (ARN) for a specific resource in your Resilience Hub + // application. // // This member is required. ResourceArn *string diff --git a/service/resiliencehub/api_op_ListTestRecommendations.go b/service/resiliencehub/api_op_ListTestRecommendations.go index ac1bebf0a1c..e1a74c35053 100644 --- a/service/resiliencehub/api_op_ListTestRecommendations.go +++ b/service/resiliencehub/api_op_ListTestRecommendations.go @@ -12,7 +12,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the test recommendations for the AWS Resilience Hub application. +// Lists the test recommendations for the Resilience Hub application. func (c *Client) ListTestRecommendations(ctx context.Context, params *ListTestRecommendationsInput, optFns ...func(*Options)) (*ListTestRecommendationsOutput, error) { if params == nil { params = &ListTestRecommendationsInput{} @@ -52,7 +52,7 @@ type ListTestRecommendationsInput struct { type ListTestRecommendationsOutput struct { - // The test recommendations for the AWS Resilience Hub application. + // The test recommendations for the Resilience Hub application. // // This member is required. TestRecommendations []types.TestRecommendation diff --git a/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go b/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go index dd4878ee76f..57004ce7d55 100644 --- a/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go +++ b/service/resiliencehub/api_op_ListUnsupportedAppVersionResources.go @@ -12,9 +12,9 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Lists the resources that are not currently supported in AWS Resilience Hub. An +// Lists the resources that are not currently supported in Resilience Hub. An // unsupported resource is a resource that exists in the object that was used to -// create an app, but is not supported by AWS Resilience Hub. +// create an app, but is not supported by Resilience Hub. func (c *Client) ListUnsupportedAppVersionResources(ctx context.Context, params *ListUnsupportedAppVersionResourcesInput, optFns ...func(*Options)) (*ListUnsupportedAppVersionResourcesOutput, error) { if params == nil { params = &ListUnsupportedAppVersionResourcesInput{} diff --git a/service/resiliencehub/api_op_PublishAppVersion.go b/service/resiliencehub/api_op_PublishAppVersion.go index 95c6f354e8f..f08a8322d27 100644 --- a/service/resiliencehub/api_op_PublishAppVersion.go +++ b/service/resiliencehub/api_op_PublishAppVersion.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Publishes a new version of a specific AWS Resilience Hub application. +// Publishes a new version of a specific Resilience Hub application. func (c *Client) PublishAppVersion(ctx context.Context, params *PublishAppVersionInput, optFns ...func(*Options)) (*PublishAppVersionOutput, error) { if params == nil { params = &PublishAppVersionInput{} diff --git a/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go b/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go index 82d0fbf5f60..dab80d719c9 100644 --- a/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go +++ b/service/resiliencehub/api_op_PutDraftAppVersionTemplate.go @@ -10,7 +10,7 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Adds or updates the app template for an AWS Resilience Hub application draft +// Adds or updates the app template for an Resilience Hub application draft // version. func (c *Client) PutDraftAppVersionTemplate(ctx context.Context, params *PutDraftAppVersionTemplateInput, optFns ...func(*Options)) (*PutDraftAppVersionTemplateOutput, error) { if params == nil { @@ -44,8 +44,8 @@ type PutDraftAppVersionTemplateInput struct { // structure: // // * resources The list of logical resources that needs to be included - // in the application. Type: Array Don't add the resources that you want to - // exclude. Each resources array item includes the following fields: + // in the Resilience Hub application. Type: Array Don't add the resources that you + // want to exclude. Each resources array item includes the following fields: // // * // logicalResourceId The logical identifier of the resource. Type: Object Each @@ -69,6 +69,12 @@ type PutDraftAppVersionTemplateInput struct { // * name The // name of the resource. Type: String // + // * additionalInfo Additional configuration + // parameters for an AWS Resilience Hub application. Currently, this parameter + // accepts a key-value mapping (in a string format) of only one failover region and + // one associated account. Key: "failover-regions" Value: "[{"region":"", + // "accounts":[{"id":""}]}]" + // // * appComponents The list of Application // Components that this resource belongs to. If an Application Component is not // part of the AWS Resilience Hub application, it will be added. Type: Array Each @@ -123,6 +129,15 @@ type PutDraftAppVersionTemplateInput struct { // * terraformSourceName The name of // the Terraform S3 state file this resource belongs to. Type: String // + // * version + // The AWS Resilience Hub application version. + // + // * additionalInfo Additional + // configuration parameters for an AWS Resilience Hub application. Currently, this + // parameter accepts a key-value mapping (in a string format) of only one failover + // region and one associated account. Key: "failover-regions" Value: + // "[{"region":"", "accounts":[{"id":""}]}]" + // // This member is required. AppTemplateBody *string diff --git a/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go b/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go index fd6de98dc72..7c6156c8ada 100644 --- a/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go +++ b/service/resiliencehub/api_op_RemoveDraftAppVersionResourceMappings.go @@ -41,6 +41,11 @@ type RemoveDraftAppVersionResourceMappingsInput struct { // mappings. AppRegistryAppNames []string + // The names of the Amazon Elastic Kubernetes Service clusters and namespaces you + // want to remove from the resource mappings. This parameter accepts values in + // "eks-cluster/namespace" format. + EksSourceNames []string + // The names of the CloudFormation stacks you want to remove from the resource // mappings. LogicalStackNames []string diff --git a/service/resiliencehub/api_op_UpdateAppVersion.go b/service/resiliencehub/api_op_UpdateAppVersion.go index 7014dc12c8c..77a2a7cccaf 100644 --- a/service/resiliencehub/api_op_UpdateAppVersion.go +++ b/service/resiliencehub/api_op_UpdateAppVersion.go @@ -10,10 +10,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates the AWS Resilience Hub application version. This API updates the AWS -// Resilience Hub application draft version. To use this information for running -// resiliency assessments, you must publish the AWS Resilience Hub application -// using the PublishAppVersion API. +// Updates the Resilience Hub application version. This API updates the Resilience +// Hub application draft version. To use this information for running resiliency +// assessments, you must publish the Resilience Hub application using the +// PublishAppVersion API. func (c *Client) UpdateAppVersion(ctx context.Context, params *UpdateAppVersionInput, optFns ...func(*Options)) (*UpdateAppVersionOutput, error) { if params == nil { params = &UpdateAppVersionInput{} diff --git a/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go b/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go index e86261afb6f..9d019c36947 100644 --- a/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go +++ b/service/resiliencehub/api_op_UpdateAppVersionAppComponent.go @@ -11,10 +11,10 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates an existing Application Component in the AWS Resilience Hub application. -// This API updates the AWS Resilience Hub application draft version. To use this -// Application Component for running assessments, you must publish the AWS -// Resilience Hub application using the PublishAppVersion API. +// Updates an existing Application Component in the Resilience Hub application. +// This API updates the Resilience Hub application draft version. To use this +// Application Component for running assessments, you must publish the Resilience +// Hub application using the PublishAppVersion API. func (c *Client) UpdateAppVersionAppComponent(ctx context.Context, params *UpdateAppVersionAppComponentInput, optFns ...func(*Options)) (*UpdateAppVersionAppComponentOutput, error) { if params == nil { params = &UpdateAppVersionAppComponentInput{} @@ -77,7 +77,7 @@ type UpdateAppVersionAppComponentOutput struct { // This member is required. AppVersion *string - // Defines an Application Component. + // The list of Application Components that belong to this resource. AppComponent *types.AppComponent // Metadata pertaining to the operation's result. diff --git a/service/resiliencehub/api_op_UpdateAppVersionResource.go b/service/resiliencehub/api_op_UpdateAppVersionResource.go index 9ac546e1d0d..aedcb27d181 100644 --- a/service/resiliencehub/api_op_UpdateAppVersionResource.go +++ b/service/resiliencehub/api_op_UpdateAppVersionResource.go @@ -11,15 +11,15 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// Updates the resource details in the AWS Resilience Hub application. +// Updates the resource details in the Resilience Hub application. // -// * This -// action has no effect outside AWS Resilience Hub. +// * This action +// has no effect outside Resilience Hub. // -// * This API updates the AWS -// Resilience Hub application draft version. To use this resource for running -// resiliency assessments, you must publish the AWS Resilience Hub application -// using the PublishAppVersion API. +// * This API updates the Resilience Hub +// application draft version. To use this resource for running resiliency +// assessments, you must publish the Resilience Hub application using the +// PublishAppVersion API. // // * To update application version with new // physicalResourceID, you must call ResolveAppVersionResources API. @@ -63,8 +63,8 @@ type UpdateAppVersionResourceInput struct { // The Amazon Web Services region that owns the physical resource. AwsRegion *string - // Indicates if a resource is excluded from an AWS Resilience Hub application. You - // can exclude only imported resources from an AWS Resilience Hub application. + // Indicates if a resource is excluded from an Resilience Hub application. You can + // exclude only imported resources from an Resilience Hub application. Excluded *bool // The logical identifier of the resource. diff --git a/service/resiliencehub/deserializers.go b/service/resiliencehub/deserializers.go index 885416046a8..f863e8d5ca0 100644 --- a/service/resiliencehub/deserializers.go +++ b/service/resiliencehub/deserializers.go @@ -4031,6 +4031,11 @@ func awsRestjson1_deserializeOpDocumentImportResourcesToDraftAppVersionOutput(v sv.AppVersion = ptr.String(jtv) } + case "eksSources": + if err := awsRestjson1_deserializeDocumentEksSourceList(&sv.EksSources, value); err != nil { + return err + } + case "sourceArns": if err := awsRestjson1_deserializeDocumentArnList(&sv.SourceArns, value); err != nil { return err @@ -10165,6 +10170,11 @@ func awsRestjson1_deserializeDocumentAppInputSource(v **types.AppInputSource, va for key, value := range shape { switch key { + case "eksSourceClusterNamespace": + if err := awsRestjson1_deserializeDocumentEksSourceClusterNamespace(&sv.EksSourceClusterNamespace, value); err != nil { + return err + } + case "importType": if value != nil { jtv, ok := value.(string) @@ -11202,6 +11212,170 @@ func awsRestjson1_deserializeDocumentDisruptionResiliencyScore(v *map[string]flo return nil } +func awsRestjson1_deserializeDocumentEksNamespaceList(v *[]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []string + if *v == nil { + cv = []string{} + } else { + cv = *v + } + + for _, value := range shape { + var col string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EksNamespace to be of type string, got %T instead", value) + } + col = jtv + } + cv = append(cv, col) + + } + *v = cv + return nil +} + +func awsRestjson1_deserializeDocumentEksSource(v **types.EksSource, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.EksSource + if *v == nil { + sv = &types.EksSource{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "eksClusterArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.EksClusterArn = ptr.String(jtv) + } + + case "namespaces": + if err := awsRestjson1_deserializeDocumentEksNamespaceList(&sv.Namespaces, value); err != nil { + return err + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentEksSourceClusterNamespace(v **types.EksSourceClusterNamespace, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.EksSourceClusterNamespace + if *v == nil { + sv = &types.EksSourceClusterNamespace{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "eksClusterArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Arn to be of type string, got %T instead", value) + } + sv.EksClusterArn = ptr.String(jtv) + } + + case "namespace": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected EksNamespace to be of type string, got %T instead", value) + } + sv.Namespace = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentEksSourceList(v *[]types.EksSource, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.EksSource + if *v == nil { + cv = []types.EksSource{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.EksSource + destAddr := &col + if err := awsRestjson1_deserializeDocumentEksSource(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentFailurePolicy(v **types.FailurePolicy, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -11321,6 +11495,15 @@ func awsRestjson1_deserializeDocumentLogicalResourceId(v **types.LogicalResource for key, value := range shape { switch key { + case "eksSourceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String255 to be of type string, got %T instead", value) + } + sv.EksSourceName = ptr.String(jtv) + } + case "identifier": if value != nil { jtv, ok := value.(string) @@ -12409,6 +12592,15 @@ func awsRestjson1_deserializeDocumentResourceMapping(v **types.ResourceMapping, sv.AppRegistryAppName = ptr.String(jtv) } + case "eksSourceName": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String255 to be of type string, got %T instead", value) + } + sv.EksSourceName = ptr.String(jtv) + } + case "logicalStackName": if value != nil { jtv, ok := value.(string) @@ -13178,6 +13370,15 @@ func awsRestjson1_deserializeDocumentUnsupportedResource(v **types.UnsupportedRe sv.ResourceType = ptr.String(jtv) } + case "unsupportedResourceStatus": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String255 to be of type string, got %T instead", value) + } + sv.UnsupportedResourceStatus = ptr.String(jtv) + } + default: _, _ = key, value diff --git a/service/resiliencehub/doc.go b/service/resiliencehub/doc.go index 6019d925afe..463fa1ec6b0 100644 --- a/service/resiliencehub/doc.go +++ b/service/resiliencehub/doc.go @@ -3,11 +3,11 @@ // Package resiliencehub provides the API client, operations, and parameter types // for AWS Resilience Hub. // -// AWS Resilience Hub helps you proactively prepare and protect your Amazon Web -// Services applications from disruptions. Resilience Hub offers continuous -// resiliency assessment and validation that integrates into your software -// development lifecycle. This enables you to uncover resiliency weaknesses, ensure -// recovery time objective (RTO) and recovery point objective (RPO) targets for -// your applications are met, and resolve issues before they are released into +// Resilience Hub helps you proactively prepare and protect your Amazon Web +// Services applications from disruptions. It offers continual resiliency +// assessment and validation that integrates into your software development +// lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery +// time objective (RTO) and recovery point objective (RPO) targets for your +// applications are met, and resolve issues before they are released into // production. package resiliencehub diff --git a/service/resiliencehub/serializers.go b/service/resiliencehub/serializers.go index edf5cccf7d5..8c5576e41df 100644 --- a/service/resiliencehub/serializers.go +++ b/service/resiliencehub/serializers.go @@ -830,6 +830,13 @@ func awsRestjson1_serializeOpDocumentDeleteAppInputSourceInput(v *DeleteAppInput ok.String(*v.ClientToken) } + if v.EksSourceClusterNamespace != nil { + ok := object.Key("eksSourceClusterNamespace") + if err := awsRestjson1_serializeDocumentEksSourceClusterNamespace(v.EksSourceClusterNamespace, ok); err != nil { + return err + } + } + if v.SourceArn != nil { ok := object.Key("sourceArn") ok.String(*v.SourceArn) @@ -1908,6 +1915,13 @@ func awsRestjson1_serializeOpDocumentImportResourcesToDraftAppVersionInput(v *Im ok.String(*v.AppArn) } + if v.EksSources != nil { + ok := object.Key("eksSources") + if err := awsRestjson1_serializeDocumentEksSourceList(v.EksSources, ok); err != nil { + return err + } + } + if len(v.ImportStrategy) > 0 { ok := object.Key("importStrategy") ok.String(string(v.ImportStrategy)) @@ -3439,6 +3453,13 @@ func awsRestjson1_serializeOpDocumentRemoveDraftAppVersionResourceMappingsInput( } } + if v.EksSourceNames != nil { + ok := object.Key("eksSourceNames") + if err := awsRestjson1_serializeDocumentString255List(v.EksSourceNames, ok); err != nil { + return err + } + } + if v.LogicalStackNames != nil { ok := object.Key("logicalStackNames") if err := awsRestjson1_serializeDocumentString255List(v.LogicalStackNames, ok); err != nil { @@ -4310,6 +4331,66 @@ func awsRestjson1_serializeDocumentDisruptionPolicy(v map[string]types.FailurePo return nil } +func awsRestjson1_serializeDocumentEksNamespaceList(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsRestjson1_serializeDocumentEksSource(v *types.EksSource, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EksClusterArn != nil { + ok := object.Key("eksClusterArn") + ok.String(*v.EksClusterArn) + } + + if v.Namespaces != nil { + ok := object.Key("namespaces") + if err := awsRestjson1_serializeDocumentEksNamespaceList(v.Namespaces, ok); err != nil { + return err + } + } + + return nil +} + +func awsRestjson1_serializeDocumentEksSourceClusterNamespace(v *types.EksSourceClusterNamespace, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + if v.EksClusterArn != nil { + ok := object.Key("eksClusterArn") + ok.String(*v.EksClusterArn) + } + + if v.Namespace != nil { + ok := object.Key("namespace") + ok.String(*v.Namespace) + } + + return nil +} + +func awsRestjson1_serializeDocumentEksSourceList(v []types.EksSource, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + if err := awsRestjson1_serializeDocumentEksSource(&v[i], av); err != nil { + return err + } + } + return nil +} + func awsRestjson1_serializeDocumentEntityNameList(v []string, value smithyjson.Value) error { array := value.Array() defer array.Close() @@ -4342,6 +4423,11 @@ func awsRestjson1_serializeDocumentLogicalResourceId(v *types.LogicalResourceId, object := value.Object() defer object.Close() + if v.EksSourceName != nil { + ok := object.Key("eksSourceName") + ok.String(*v.EksSourceName) + } + if v.Identifier != nil { ok := object.Key("identifier") ok.String(*v.Identifier) @@ -4423,6 +4509,11 @@ func awsRestjson1_serializeDocumentResourceMapping(v *types.ResourceMapping, val ok.String(*v.AppRegistryAppName) } + if v.EksSourceName != nil { + ok := object.Key("eksSourceName") + ok.String(*v.EksSourceName) + } + if v.LogicalStackName != nil { ok := object.Key("logicalStackName") ok.String(*v.LogicalStackName) diff --git a/service/resiliencehub/types/enums.go b/service/resiliencehub/types/enums.go index 4247bfbbf5a..a17e16a999a 100644 --- a/service/resiliencehub/types/enums.go +++ b/service/resiliencehub/types/enums.go @@ -433,6 +433,7 @@ const ( ResourceMappingTypeAppRegistryApp ResourceMappingType = "AppRegistryApp" ResourceMappingTypeResourceGroup ResourceMappingType = "ResourceGroup" ResourceMappingTypeTerraform ResourceMappingType = "Terraform" + ResourceMappingTypeEks ResourceMappingType = "EKS" ) // Values returns all known values for ResourceMappingType. Note that this can be @@ -445,6 +446,7 @@ func (ResourceMappingType) Values() []ResourceMappingType { "AppRegistryApp", "ResourceGroup", "Terraform", + "EKS", } } diff --git a/service/resiliencehub/types/errors.go b/service/resiliencehub/types/errors.go index c8a86e55b26..0fbb1ee73f7 100644 --- a/service/resiliencehub/types/errors.go +++ b/service/resiliencehub/types/errors.go @@ -67,8 +67,8 @@ func (e *ConflictException) ErrorCode() string { } func (e *ConflictException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. +// This exception occurs when there is an internal failure in the Resilience Hub +// service. type InternalServerException struct { Message *string diff --git a/service/resiliencehub/types/types.go b/service/resiliencehub/types/types.go index 48fb2ea1ab7..e2400d8761e 100644 --- a/service/resiliencehub/types/types.go +++ b/service/resiliencehub/types/types.go @@ -45,7 +45,7 @@ type AlarmRecommendation struct { noSmithyDocumentSerde } -// Defines an AWS Resilience Hub application. +// Defines an Resilience Hub application. type App struct { // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format @@ -276,7 +276,7 @@ type AppComponentCompliance struct { noSmithyDocumentSerde } -// The list of AWS Resilience Hub application input sources. +// The list of Resilience Hub application input sources. type AppInputSource struct { // The resource type of the input source. @@ -284,7 +284,10 @@ type AppInputSource struct { // This member is required. ImportType ResourceMappingType - // The number of resources that were imported. + // The namespace on your Amazon Elastic Kubernetes Service cluster. + EksSourceClusterNamespace *EksSourceClusterNamespace + + // The number of resources. ResourceCount int32 // The Amazon Resource Name (ARN) of the input source. For more information about @@ -353,9 +356,9 @@ type AppVersionSummary struct { noSmithyDocumentSerde } -// Defines recommendations for an AWS Resilience Hub Application Component, -// returned as an object. This object contains component names, configuration -// recommendations, and recommendation statuses. +// Defines recommendations for an Resilience Hub Application Component, returned as +// an object. This object contains component names, configuration recommendations, +// and recommendation statuses. type ComponentRecommendation struct { // The name of the Application Component. @@ -479,6 +482,49 @@ type DisruptionCompliance struct { noSmithyDocumentSerde } +// The input source of the Amazon Elastic Kubernetes Service cluster. +type EksSource struct { + + // The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. + // The format for this ARN is: arn:aws:eks:region:account-id:cluster/cluster-name. + // For more information about ARNs, see Amazon Resource Names (ARNs) + // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in + // the AWS General Reference guide. + // + // This member is required. + EksClusterArn *string + + // The list of namespaces located on your Amazon Elastic Kubernetes Service + // cluster. + // + // This member is required. + Namespaces []string + + noSmithyDocumentSerde +} + +// The input source of the namespace that is located on your Amazon Elastic +// Kubernetes Service cluster. +type EksSourceClusterNamespace struct { + + // The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. + // The format for this ARN is: arn:aws:eks:region:account-id:cluster/cluster-name. + // For more information about ARNs, see Amazon Resource Names (ARNs) + // (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in + // the AWS General Reference guide. + // + // This member is required. + EksClusterArn *string + + // Name of the namespace that is located on your Amazon Elastic Kubernetes Service + // cluster. + // + // This member is required. + Namespace *string + + noSmithyDocumentSerde +} + // Defines a failure policy. type FailurePolicy struct { @@ -503,6 +549,11 @@ type LogicalResourceId struct { // This member is required. Identifier *string + // The name of the Amazon Elastic Kubernetes Service cluster and namespace this + // resource belongs to. This parameter accepts values in "eks-cluster/namespace" + // format. + EksSourceName *string + // The name of the CloudFormation stack this resource belongs to. LogicalStackName *string @@ -516,7 +567,7 @@ type LogicalResourceId struct { } // Defines a physical resource. A physical resource is a resource that exists in -// your account. It can be identified using an Amazon Resource Name (ARN) or an AWS +// your account. It can be identified using an Amazon Resource Name (ARN) or an // Resilience Hub-native identifier. type PhysicalResource struct { @@ -562,7 +613,7 @@ type PhysicalResourceId struct { Identifier *string // Specifies the type of physical resource identifier. Arn The resource identifier - // is an Amazon Resource Name (ARN) . Native The resource identifier is an AWS + // is an Amazon Resource Name (ARN) . Native The resource identifier is an // Resilience Hub-native identifier. // // This member is required. @@ -787,7 +838,7 @@ type ResourceMapping struct { // stack. The name of the CloudFormation stack is contained in the logicalStackName // property. Resource The resource is mapped to another resource. The name of the // resource is contained in the resourceName property. ResourceGroup The resource - // is mapped to a resource group. The name of the resource group is contained in + // is mapped to an Resource Groups. The name of the resource group is contained in // the resourceGroupName property. // // This member is required. @@ -801,6 +852,11 @@ type ResourceMapping struct { // The name of the application this resource is mapped to. AppRegistryAppName *string + // The name of the Amazon Elastic Kubernetes Service cluster and namespace this + // resource belongs to. This parameter accepts values in "eks-cluster/namespace" + // format. + EksSourceName *string + // The name of the CloudFormation stack this resource is mapped to. LogicalStackName *string @@ -867,7 +923,7 @@ type SopRecommendation struct { // The Terraform s3 state file you need to import. type TerraformSource struct { - // The Terraform s3 state file you need to import. + // The URL of the Terraform s3 state file you need to import. // // This member is required. S3StateFileUrl *string @@ -917,7 +973,7 @@ type TestRecommendation struct { noSmithyDocumentSerde } -// Defines a resource that is not supported by AWS Resilience Hub. +// Defines a resource that is not supported by Resilience Hub. type UnsupportedResource struct { // The logical resource identifier for the unsupported resource. @@ -935,6 +991,9 @@ type UnsupportedResource struct { // This member is required. ResourceType *string + // The status of unsupported resource. + UnsupportedResourceStatus *string + noSmithyDocumentSerde } diff --git a/service/resiliencehub/validators.go b/service/resiliencehub/validators.go index 2c897709430..04356b8dff8 100644 --- a/service/resiliencehub/validators.go +++ b/service/resiliencehub/validators.go @@ -1180,6 +1180,59 @@ func validateDisruptionPolicy(v map[string]types.FailurePolicy) error { } } +func validateEksSource(v *types.EksSource) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "EksSource"} + if v.EksClusterArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("EksClusterArn")) + } + if v.Namespaces == nil { + invalidParams.Add(smithy.NewErrParamRequired("Namespaces")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateEksSourceClusterNamespace(v *types.EksSourceClusterNamespace) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "EksSourceClusterNamespace"} + if v.EksClusterArn == nil { + invalidParams.Add(smithy.NewErrParamRequired("EksClusterArn")) + } + if v.Namespace == nil { + invalidParams.Add(smithy.NewErrParamRequired("Namespace")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + +func validateEksSourceList(v []types.EksSource) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "EksSourceList"} + for i := range v { + if err := validateEksSource(&v[i]); err != nil { + invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError)) + } + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateFailurePolicy(v *types.FailurePolicy) error { if v == nil { return nil @@ -1474,6 +1527,11 @@ func validateOpDeleteAppInputSourceInput(v *DeleteAppInputSourceInput) error { invalidParams.AddNested("TerraformSource", err.(smithy.InvalidParamsError)) } } + if v.EksSourceClusterNamespace != nil { + if err := validateEksSourceClusterNamespace(v.EksSourceClusterNamespace); err != nil { + invalidParams.AddNested("EksSourceClusterNamespace", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1720,6 +1778,11 @@ func validateOpImportResourcesToDraftAppVersionInput(v *ImportResourcesToDraftAp invalidParams.AddNested("TerraformSources", err.(smithy.InvalidParamsError)) } } + if v.EksSources != nil { + if err := validateEksSourceList(v.EksSources); err != nil { + invalidParams.AddNested("EksSources", err.(smithy.InvalidParamsError)) + } + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/securityhub/internal/endpoints/endpoints.go b/service/securityhub/internal/endpoints/endpoints.go index 554faaffa77..6f71a9d761c 100644 --- a/service/securityhub/internal/endpoints/endpoints.go +++ b/service/securityhub/internal/endpoints/endpoints.go @@ -153,6 +153,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-1", }: endpoints.Endpoint{}, @@ -168,12 +171,18 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-central-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-central-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-north-1", }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-south-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-south-2", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, diff --git a/service/securitylake/internal/endpoints/endpoints.go b/service/securitylake/internal/endpoints/endpoints.go index 6b659262d24..6a9b7dcb341 100644 --- a/service/securitylake/internal/endpoints/endpoints.go +++ b/service/securitylake/internal/endpoints/endpoints.go @@ -138,6 +138,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-northeast-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, @@ -147,6 +150,12 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "eu-west-1", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "eu-west-2", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "sa-east-1", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "us-east-1", }: endpoints.Endpoint{}, diff --git a/service/ssm/api_op_ResetServiceSetting.go b/service/ssm/api_op_ResetServiceSetting.go index 2246fa3c840..361f32d2d09 100644 --- a/service/ssm/api_op_ResetServiceSetting.go +++ b/service/ssm/api_op_ResetServiceSetting.go @@ -47,6 +47,9 @@ type ResetServiceSettingInput struct { // can be one of the following. // // * + // /ssm/managed-instance/default-ec2-instance-management-role + // + // * // /ssm/automation/customer-script-log-destination // // * diff --git a/service/ssm/api_op_UpdateServiceSetting.go b/service/ssm/api_op_UpdateServiceSetting.go index c40bd09a7af..4f57698e388 100644 --- a/service/ssm/api_op_UpdateServiceSetting.go +++ b/service/ssm/api_op_UpdateServiceSetting.go @@ -41,7 +41,7 @@ func (c *Client) UpdateServiceSetting(ctx context.Context, params *UpdateService // The request body of the UpdateServiceSetting API operation. type UpdateServiceSettingInput struct { - // The Amazon Resource Name (ARN) of the service setting to reset. For example, + // The Amazon Resource Name (ARN) of the service setting to update. For example, // arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. // The setting ID can be one of the following. // @@ -68,6 +68,11 @@ type UpdateServiceSettingInput struct { // * // /ssm/parameter-store/high-throughput-enabled // + // Permissions to update the + // /ssm/managed-instance/default-ec2-instance-management-role setting should only + // be provided to administrators. Implement least privilege access when allowing + // individuals to configure or modify the Default Host Management Configuration. + // // This member is required. SettingId *string @@ -75,10 +80,13 @@ type UpdateServiceSettingInput struct { // the available values for each setting. // // * - // /ssm/automation/customer-script-log-destination: CloudWatch + // /ssm/managed-instance/default-ec2-instance-management-role: The name of an IAM + // role + // + // * /ssm/automation/customer-script-log-destination: CloudWatch // // * - // /ssm/automation/customer-script-log-group-name: the name of an Amazon CloudWatch + // /ssm/automation/customer-script-log-group-name: The name of an Amazon CloudWatch // Logs log group // // * /ssm/documents/console/public-sharing-permission: Enable or diff --git a/service/ssm/types/enums.go b/service/ssm/types/enums.go index 041225615a9..d4c5822a9ca 100644 --- a/service/ssm/types/enums.go +++ b/service/ssm/types/enums.go @@ -1144,6 +1144,8 @@ const ( OperatingSystemMacOS OperatingSystem = "MACOS" OperatingSystemRaspbian OperatingSystem = "RASPBIAN" OperatingSystemRockyLinux OperatingSystem = "ROCKY_LINUX" + OperatingSystemAlmaLinux OperatingSystem = "ALMA_LINUX" + OperatingSystemAmazonLinux2023 OperatingSystem = "AMAZON_LINUX_2023" ) // Values returns all known values for OperatingSystem. Note that this can be @@ -1164,6 +1166,8 @@ func (OperatingSystem) Values() []OperatingSystem { "MACOS", "RASPBIAN", "ROCKY_LINUX", + "ALMA_LINUX", + "AMAZON_LINUX_2023", } }