aws-sdk-imagebuilder 1.92.0 → 1.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +178 -5
- data/lib/aws-sdk-imagebuilder/client_api.rb +97 -2
- data/lib/aws-sdk-imagebuilder/errors.rb +48 -0
- data/lib/aws-sdk-imagebuilder/types.rb +302 -32
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +44 -2
- data/sig/errors.rbs +9 -0
- data/sig/types.rbs +64 -0
- metadata +1 -1
|
@@ -14,6 +14,7 @@ module Aws::Imagebuilder
|
|
|
14
14
|
|
|
15
15
|
include Seahorse::Model
|
|
16
16
|
|
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
17
18
|
AccountAggregation = Shapes::StructureShape.new(name: 'AccountAggregation')
|
|
18
19
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
19
20
|
AccountList = Shapes::ListShape.new(name: 'AccountList')
|
|
@@ -112,6 +113,8 @@ module Aws::Imagebuilder
|
|
|
112
113
|
DeleteWorkflowRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowRequest')
|
|
113
114
|
DeleteWorkflowResponse = Shapes::StructureShape.new(name: 'DeleteWorkflowResponse')
|
|
114
115
|
DiskImageFormat = Shapes::StringShape.new(name: 'DiskImageFormat')
|
|
116
|
+
DistributeImageRequest = Shapes::StructureShape.new(name: 'DistributeImageRequest')
|
|
117
|
+
DistributeImageResponse = Shapes::StructureShape.new(name: 'DistributeImageResponse')
|
|
115
118
|
Distribution = Shapes::StructureShape.new(name: 'Distribution')
|
|
116
119
|
DistributionConfiguration = Shapes::StructureShape.new(name: 'DistributionConfiguration')
|
|
117
120
|
DistributionConfigurationArn = Shapes::StringShape.new(name: 'DistributionConfigurationArn')
|
|
@@ -120,6 +123,7 @@ module Aws::Imagebuilder
|
|
|
120
123
|
DistributionList = Shapes::ListShape.new(name: 'DistributionList')
|
|
121
124
|
DistributionTimeoutMinutes = Shapes::IntegerShape.new(name: 'DistributionTimeoutMinutes')
|
|
122
125
|
DockerFileTemplate = Shapes::StringShape.new(name: 'DockerFileTemplate')
|
|
126
|
+
DryRunOperationException = Shapes::StructureShape.new(name: 'DryRunOperationException')
|
|
123
127
|
EbsInstanceBlockDeviceSpecification = Shapes::StructureShape.new(name: 'EbsInstanceBlockDeviceSpecification')
|
|
124
128
|
EbsIopsInteger = Shapes::IntegerShape.new(name: 'EbsIopsInteger')
|
|
125
129
|
EbsVolumeSizeInteger = Shapes::IntegerShape.new(name: 'EbsVolumeSizeInteger')
|
|
@@ -240,6 +244,7 @@ module Aws::Imagebuilder
|
|
|
240
244
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
|
241
245
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
|
242
246
|
InvalidVersionNumberException = Shapes::StructureShape.new(name: 'InvalidVersionNumberException')
|
|
247
|
+
LatestVersionReferences = Shapes::StructureShape.new(name: 'LatestVersionReferences')
|
|
243
248
|
LaunchPermissionConfiguration = Shapes::StructureShape.new(name: 'LaunchPermissionConfiguration')
|
|
244
249
|
LaunchTemplateConfiguration = Shapes::StructureShape.new(name: 'LaunchTemplateConfiguration')
|
|
245
250
|
LaunchTemplateConfigurationList = Shapes::ListShape.new(name: 'LaunchTemplateConfigurationList')
|
|
@@ -382,6 +387,8 @@ module Aws::Imagebuilder
|
|
|
382
387
|
ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
|
|
383
388
|
ResourceTagMap = Shapes::MapShape.new(name: 'ResourceTagMap')
|
|
384
389
|
RestrictedInteger = Shapes::IntegerShape.new(name: 'RestrictedInteger')
|
|
390
|
+
RetryImageRequest = Shapes::StructureShape.new(name: 'RetryImageRequest')
|
|
391
|
+
RetryImageResponse = Shapes::StructureShape.new(name: 'RetryImageResponse')
|
|
385
392
|
RoleNameOrArn = Shapes::StringShape.new(name: 'RoleNameOrArn')
|
|
386
393
|
S3ExportConfiguration = Shapes::StructureShape.new(name: 'S3ExportConfiguration')
|
|
387
394
|
S3Logs = Shapes::StructureShape.new(name: 'S3Logs')
|
|
@@ -416,6 +423,7 @@ module Aws::Imagebuilder
|
|
|
416
423
|
TargetResourceCount = Shapes::IntegerShape.new(name: 'TargetResourceCount')
|
|
417
424
|
TenancyType = Shapes::StringShape.new(name: 'TenancyType')
|
|
418
425
|
Timezone = Shapes::StringShape.new(name: 'Timezone')
|
|
426
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
|
419
427
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
420
428
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
421
429
|
UpdateDistributionConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDistributionConfigurationRequest')
|
|
@@ -434,6 +442,7 @@ module Aws::Imagebuilder
|
|
|
434
442
|
VulnerabilityIdList = Shapes::ListShape.new(name: 'VulnerabilityIdList')
|
|
435
443
|
VulnerablePackage = Shapes::StructureShape.new(name: 'VulnerablePackage')
|
|
436
444
|
VulnerablePackageList = Shapes::ListShape.new(name: 'VulnerablePackageList')
|
|
445
|
+
WildcardVersionNumber = Shapes::StringShape.new(name: 'WildcardVersionNumber')
|
|
437
446
|
Workflow = Shapes::StructureShape.new(name: 'Workflow')
|
|
438
447
|
WorkflowBuildVersionArn = Shapes::StringShape.new(name: 'WorkflowBuildVersionArn')
|
|
439
448
|
WorkflowConfiguration = Shapes::StructureShape.new(name: 'WorkflowConfiguration')
|
|
@@ -481,6 +490,9 @@ module Aws::Imagebuilder
|
|
|
481
490
|
WorkflowVersionList = Shapes::ListShape.new(name: 'WorkflowVersionList')
|
|
482
491
|
WorkflowWildcardVersionArn = Shapes::StringShape.new(name: 'WorkflowWildcardVersionArn')
|
|
483
492
|
|
|
493
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
494
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
495
|
+
|
|
484
496
|
AccountAggregation.add_member(:account_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "accountId"))
|
|
485
497
|
AccountAggregation.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
|
|
486
498
|
AccountAggregation.struct_class = Types::AccountAggregation
|
|
@@ -668,17 +680,19 @@ module Aws::Imagebuilder
|
|
|
668
680
|
CreateComponentRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
|
669
681
|
CreateComponentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
670
682
|
CreateComponentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
683
|
+
CreateComponentRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
671
684
|
CreateComponentRequest.struct_class = Types::CreateComponentRequest
|
|
672
685
|
|
|
673
686
|
CreateComponentResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
674
687
|
CreateComponentResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
675
688
|
CreateComponentResponse.add_member(:component_build_version_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, location_name: "componentBuildVersionArn"))
|
|
689
|
+
CreateComponentResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
676
690
|
CreateComponentResponse.struct_class = Types::CreateComponentResponse
|
|
677
691
|
|
|
678
692
|
CreateContainerRecipeRequest.add_member(:container_type, Shapes::ShapeRef.new(shape: ContainerType, required: true, location_name: "containerType"))
|
|
679
693
|
CreateContainerRecipeRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
|
680
694
|
CreateContainerRecipeRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
|
681
|
-
CreateContainerRecipeRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape:
|
|
695
|
+
CreateContainerRecipeRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: WildcardVersionNumber, required: true, location_name: "semanticVersion"))
|
|
682
696
|
CreateContainerRecipeRequest.add_member(:components, Shapes::ShapeRef.new(shape: ComponentConfigurationList, location_name: "components"))
|
|
683
697
|
CreateContainerRecipeRequest.add_member(:instance_configuration, Shapes::ShapeRef.new(shape: InstanceConfiguration, location_name: "instanceConfiguration"))
|
|
684
698
|
CreateContainerRecipeRequest.add_member(:dockerfile_template_data, Shapes::ShapeRef.new(shape: InlineDockerFileTemplate, location_name: "dockerfileTemplateData"))
|
|
@@ -696,6 +710,7 @@ module Aws::Imagebuilder
|
|
|
696
710
|
CreateContainerRecipeResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
697
711
|
CreateContainerRecipeResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
698
712
|
CreateContainerRecipeResponse.add_member(:container_recipe_arn, Shapes::ShapeRef.new(shape: ContainerRecipeArn, location_name: "containerRecipeArn"))
|
|
713
|
+
CreateContainerRecipeResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
699
714
|
CreateContainerRecipeResponse.struct_class = Types::CreateContainerRecipeResponse
|
|
700
715
|
|
|
701
716
|
CreateDistributionConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
|
@@ -735,7 +750,7 @@ module Aws::Imagebuilder
|
|
|
735
750
|
|
|
736
751
|
CreateImageRecipeRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
|
737
752
|
CreateImageRecipeRequest.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
|
738
|
-
CreateImageRecipeRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape:
|
|
753
|
+
CreateImageRecipeRequest.add_member(:semantic_version, Shapes::ShapeRef.new(shape: WildcardVersionNumber, required: true, location_name: "semanticVersion"))
|
|
739
754
|
CreateImageRecipeRequest.add_member(:components, Shapes::ShapeRef.new(shape: ComponentConfigurationList, location_name: "components"))
|
|
740
755
|
CreateImageRecipeRequest.add_member(:parent_image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "parentImage"))
|
|
741
756
|
CreateImageRecipeRequest.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappings, location_name: "blockDeviceMappings"))
|
|
@@ -749,6 +764,7 @@ module Aws::Imagebuilder
|
|
|
749
764
|
CreateImageRecipeResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
750
765
|
CreateImageRecipeResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
751
766
|
CreateImageRecipeResponse.add_member(:image_recipe_arn, Shapes::ShapeRef.new(shape: ImageRecipeArn, location_name: "imageRecipeArn"))
|
|
767
|
+
CreateImageRecipeResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
752
768
|
CreateImageRecipeResponse.struct_class = Types::CreateImageRecipeResponse
|
|
753
769
|
|
|
754
770
|
CreateImageRequest.add_member(:image_recipe_arn, Shapes::ShapeRef.new(shape: ImageRecipeArn, location_name: "imageRecipeArn"))
|
|
@@ -768,6 +784,7 @@ module Aws::Imagebuilder
|
|
|
768
784
|
CreateImageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
769
785
|
CreateImageResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
770
786
|
CreateImageResponse.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, location_name: "imageBuildVersionArn"))
|
|
787
|
+
CreateImageResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
771
788
|
CreateImageResponse.struct_class = Types::CreateImageResponse
|
|
772
789
|
|
|
773
790
|
CreateInfrastructureConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
|
@@ -817,10 +834,12 @@ module Aws::Imagebuilder
|
|
|
817
834
|
CreateWorkflowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
818
835
|
CreateWorkflowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
819
836
|
CreateWorkflowRequest.add_member(:type, Shapes::ShapeRef.new(shape: WorkflowType, required: true, location_name: "type"))
|
|
837
|
+
CreateWorkflowRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
820
838
|
CreateWorkflowRequest.struct_class = Types::CreateWorkflowRequest
|
|
821
839
|
|
|
822
840
|
CreateWorkflowResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
823
841
|
CreateWorkflowResponse.add_member(:workflow_build_version_arn, Shapes::ShapeRef.new(shape: WorkflowBuildVersionArn, location_name: "workflowBuildVersionArn"))
|
|
842
|
+
CreateWorkflowResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
824
843
|
CreateWorkflowResponse.struct_class = Types::CreateWorkflowResponse
|
|
825
844
|
|
|
826
845
|
CvssScore.add_member(:base_score, Shapes::ShapeRef.new(shape: NonNegativeDouble, location_name: "baseScore"))
|
|
@@ -906,6 +925,18 @@ module Aws::Imagebuilder
|
|
|
906
925
|
DeleteWorkflowResponse.add_member(:workflow_build_version_arn, Shapes::ShapeRef.new(shape: WorkflowBuildVersionArn, location_name: "workflowBuildVersionArn"))
|
|
907
926
|
DeleteWorkflowResponse.struct_class = Types::DeleteWorkflowResponse
|
|
908
927
|
|
|
928
|
+
DistributeImageRequest.add_member(:source_image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "sourceImage"))
|
|
929
|
+
DistributeImageRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, required: true, location_name: "distributionConfigurationArn"))
|
|
930
|
+
DistributeImageRequest.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleNameOrArn, required: true, location_name: "executionRole"))
|
|
931
|
+
DistributeImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
932
|
+
DistributeImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
933
|
+
DistributeImageRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: ImageLoggingConfiguration, location_name: "loggingConfiguration"))
|
|
934
|
+
DistributeImageRequest.struct_class = Types::DistributeImageRequest
|
|
935
|
+
|
|
936
|
+
DistributeImageResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
937
|
+
DistributeImageResponse.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, location_name: "imageBuildVersionArn"))
|
|
938
|
+
DistributeImageResponse.struct_class = Types::DistributeImageResponse
|
|
939
|
+
|
|
909
940
|
Distribution.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "region"))
|
|
910
941
|
Distribution.add_member(:ami_distribution_configuration, Shapes::ShapeRef.new(shape: AmiDistributionConfiguration, location_name: "amiDistributionConfiguration"))
|
|
911
942
|
Distribution.add_member(:container_distribution_configuration, Shapes::ShapeRef.new(shape: ContainerDistributionConfiguration, location_name: "containerDistributionConfiguration"))
|
|
@@ -939,6 +970,9 @@ module Aws::Imagebuilder
|
|
|
939
970
|
|
|
940
971
|
DistributionList.member = Shapes::ShapeRef.new(shape: Distribution)
|
|
941
972
|
|
|
973
|
+
DryRunOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
974
|
+
DryRunOperationException.struct_class = Types::DryRunOperationException
|
|
975
|
+
|
|
942
976
|
EbsInstanceBlockDeviceSpecification.add_member(:encrypted, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "encrypted"))
|
|
943
977
|
EbsInstanceBlockDeviceSpecification.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "deleteOnTermination"))
|
|
944
978
|
EbsInstanceBlockDeviceSpecification.add_member(:iops, Shapes::ShapeRef.new(shape: EbsIopsInteger, location_name: "iops"))
|
|
@@ -993,6 +1027,7 @@ module Aws::Imagebuilder
|
|
|
993
1027
|
|
|
994
1028
|
GetComponentResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
995
1029
|
GetComponentResponse.add_member(:component, Shapes::ShapeRef.new(shape: Component, location_name: "component"))
|
|
1030
|
+
GetComponentResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
996
1031
|
GetComponentResponse.struct_class = Types::GetComponentResponse
|
|
997
1032
|
|
|
998
1033
|
GetContainerRecipePolicyRequest.add_member(:container_recipe_arn, Shapes::ShapeRef.new(shape: ContainerRecipeArn, required: true, location: "querystring", location_name: "containerRecipeArn"))
|
|
@@ -1007,6 +1042,7 @@ module Aws::Imagebuilder
|
|
|
1007
1042
|
|
|
1008
1043
|
GetContainerRecipeResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
1009
1044
|
GetContainerRecipeResponse.add_member(:container_recipe, Shapes::ShapeRef.new(shape: ContainerRecipe, location_name: "containerRecipe"))
|
|
1045
|
+
GetContainerRecipeResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
1010
1046
|
GetContainerRecipeResponse.struct_class = Types::GetContainerRecipeResponse
|
|
1011
1047
|
|
|
1012
1048
|
GetDistributionConfigurationRequest.add_member(:distribution_configuration_arn, Shapes::ShapeRef.new(shape: DistributionConfigurationArn, required: true, location: "querystring", location_name: "distributionConfigurationArn"))
|
|
@@ -1042,6 +1078,7 @@ module Aws::Imagebuilder
|
|
|
1042
1078
|
|
|
1043
1079
|
GetImageRecipeResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
1044
1080
|
GetImageRecipeResponse.add_member(:image_recipe, Shapes::ShapeRef.new(shape: ImageRecipe, location_name: "imageRecipe"))
|
|
1081
|
+
GetImageRecipeResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
1045
1082
|
GetImageRecipeResponse.struct_class = Types::GetImageRecipeResponse
|
|
1046
1083
|
|
|
1047
1084
|
GetImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageVersionArnOrBuildVersionArn, required: true, location: "querystring", location_name: "imageBuildVersionArn"))
|
|
@@ -1049,6 +1086,7 @@ module Aws::Imagebuilder
|
|
|
1049
1086
|
|
|
1050
1087
|
GetImageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
|
|
1051
1088
|
GetImageResponse.add_member(:image, Shapes::ShapeRef.new(shape: Image, location_name: "image"))
|
|
1089
|
+
GetImageResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
1052
1090
|
GetImageResponse.struct_class = Types::GetImageResponse
|
|
1053
1091
|
|
|
1054
1092
|
GetInfrastructureConfigurationRequest.add_member(:infrastructure_configuration_arn, Shapes::ShapeRef.new(shape: InfrastructureConfigurationArn, required: true, location: "querystring", location_name: "infrastructureConfigurationArn"))
|
|
@@ -1103,6 +1141,7 @@ module Aws::Imagebuilder
|
|
|
1103
1141
|
GetWorkflowRequest.struct_class = Types::GetWorkflowRequest
|
|
1104
1142
|
|
|
1105
1143
|
GetWorkflowResponse.add_member(:workflow, Shapes::ShapeRef.new(shape: Workflow, location_name: "workflow"))
|
|
1144
|
+
GetWorkflowResponse.add_member(:latest_version_references, Shapes::ShapeRef.new(shape: LatestVersionReferences, location_name: "latestVersionReferences"))
|
|
1106
1145
|
GetWorkflowResponse.struct_class = Types::GetWorkflowResponse
|
|
1107
1146
|
|
|
1108
1147
|
GetWorkflowStepExecutionRequest.add_member(:step_execution_id, Shapes::ShapeRef.new(shape: WorkflowStepExecutionId, required: true, location: "querystring", location_name: "stepExecutionId"))
|
|
@@ -1439,6 +1478,12 @@ module Aws::Imagebuilder
|
|
|
1439
1478
|
InvalidVersionNumberException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
1440
1479
|
InvalidVersionNumberException.struct_class = Types::InvalidVersionNumberException
|
|
1441
1480
|
|
|
1481
|
+
LatestVersionReferences.add_member(:latest_version_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "latestVersionArn"))
|
|
1482
|
+
LatestVersionReferences.add_member(:latest_major_version_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "latestMajorVersionArn"))
|
|
1483
|
+
LatestVersionReferences.add_member(:latest_minor_version_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "latestMinorVersionArn"))
|
|
1484
|
+
LatestVersionReferences.add_member(:latest_patch_version_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "latestPatchVersionArn"))
|
|
1485
|
+
LatestVersionReferences.struct_class = Types::LatestVersionReferences
|
|
1486
|
+
|
|
1442
1487
|
LaunchPermissionConfiguration.add_member(:user_ids, Shapes::ShapeRef.new(shape: AccountList, location_name: "userIds"))
|
|
1443
1488
|
LaunchPermissionConfiguration.add_member(:user_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "userGroups"))
|
|
1444
1489
|
LaunchPermissionConfiguration.add_member(:organization_arns, Shapes::ShapeRef.new(shape: OrganizationArnList, location_name: "organizationArns"))
|
|
@@ -1912,6 +1957,14 @@ module Aws::Imagebuilder
|
|
|
1912
1957
|
ResourceTagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
|
1913
1958
|
ResourceTagMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
|
1914
1959
|
|
|
1960
|
+
RetryImageRequest.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, required: true, location_name: "imageBuildVersionArn"))
|
|
1961
|
+
RetryImageRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1962
|
+
RetryImageRequest.struct_class = Types::RetryImageRequest
|
|
1963
|
+
|
|
1964
|
+
RetryImageResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
|
1965
|
+
RetryImageResponse.add_member(:image_build_version_arn, Shapes::ShapeRef.new(shape: ImageBuildVersionArn, location_name: "imageBuildVersionArn"))
|
|
1966
|
+
RetryImageResponse.struct_class = Types::RetryImageResponse
|
|
1967
|
+
|
|
1915
1968
|
S3ExportConfiguration.add_member(:role_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "roleName"))
|
|
1916
1969
|
S3ExportConfiguration.add_member(:disk_image_format, Shapes::ShapeRef.new(shape: DiskImageFormat, required: true, location_name: "diskImageFormat"))
|
|
1917
1970
|
S3ExportConfiguration.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "s3Bucket"))
|
|
@@ -2007,6 +2060,9 @@ module Aws::Imagebuilder
|
|
|
2007
2060
|
TargetContainerRepository.add_member(:repository_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "repositoryName"))
|
|
2008
2061
|
TargetContainerRepository.struct_class = Types::TargetContainerRepository
|
|
2009
2062
|
|
|
2063
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
2064
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
|
2065
|
+
|
|
2010
2066
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, required: true, location: "uri", location_name: "resourceArn"))
|
|
2011
2067
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
|
2012
2068
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
@@ -2135,6 +2191,7 @@ module Aws::Imagebuilder
|
|
|
2135
2191
|
WorkflowExecutionMetadata.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
|
|
2136
2192
|
WorkflowExecutionMetadata.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
|
|
2137
2193
|
WorkflowExecutionMetadata.add_member(:parallel_group, Shapes::ShapeRef.new(shape: ParallelGroup, location_name: "parallelGroup"))
|
|
2194
|
+
WorkflowExecutionMetadata.add_member(:retried, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "retried"))
|
|
2138
2195
|
WorkflowExecutionMetadata.struct_class = Types::WorkflowExecutionMetadata
|
|
2139
2196
|
|
|
2140
2197
|
WorkflowExecutionsList.member = Shapes::ShapeRef.new(shape: WorkflowExecutionMetadata)
|
|
@@ -2280,6 +2337,7 @@ module Aws::Imagebuilder
|
|
|
2280
2337
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
2281
2338
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
|
2282
2339
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
2340
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
|
2283
2341
|
end)
|
|
2284
2342
|
|
|
2285
2343
|
api.add_operation(:create_container_recipe, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2427,6 +2485,7 @@ module Aws::Imagebuilder
|
|
|
2427
2485
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
2428
2486
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
|
2429
2487
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
2488
|
+
o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
|
|
2430
2489
|
end)
|
|
2431
2490
|
|
|
2432
2491
|
api.add_operation(:delete_component, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2564,6 +2623,26 @@ module Aws::Imagebuilder
|
|
|
2564
2623
|
o.errors << Shapes::ShapeRef.new(shape: ResourceDependencyException)
|
|
2565
2624
|
end)
|
|
2566
2625
|
|
|
2626
|
+
api.add_operation(:distribute_image, Seahorse::Model::Operation.new.tap do |o|
|
|
2627
|
+
o.name = "DistributeImage"
|
|
2628
|
+
o.http_method = "PUT"
|
|
2629
|
+
o.http_request_uri = "/DistributeImage"
|
|
2630
|
+
o.input = Shapes::ShapeRef.new(shape: DistributeImageRequest)
|
|
2631
|
+
o.output = Shapes::ShapeRef.new(shape: DistributeImageResponse)
|
|
2632
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
2633
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
|
2634
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2635
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
2636
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
|
2637
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
2638
|
+
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
|
2639
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
2640
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
2641
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2642
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
2643
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2644
|
+
end)
|
|
2645
|
+
|
|
2567
2646
|
api.add_operation(:get_component, Seahorse::Model::Operation.new.tap do |o|
|
|
2568
2647
|
o.name = "GetComponent"
|
|
2569
2648
|
o.http_method = "GET"
|
|
@@ -3359,6 +3438,22 @@ module Aws::Imagebuilder
|
|
|
3359
3438
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
|
3360
3439
|
end)
|
|
3361
3440
|
|
|
3441
|
+
api.add_operation(:retry_image, Seahorse::Model::Operation.new.tap do |o|
|
|
3442
|
+
o.name = "RetryImage"
|
|
3443
|
+
o.http_method = "PUT"
|
|
3444
|
+
o.http_request_uri = "/RetryImage"
|
|
3445
|
+
o.input = Shapes::ShapeRef.new(shape: RetryImageRequest)
|
|
3446
|
+
o.output = Shapes::ShapeRef.new(shape: RetryImageResponse)
|
|
3447
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
3448
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
|
3449
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
3450
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
3451
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
|
3452
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
3453
|
+
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
|
3454
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
|
3455
|
+
end)
|
|
3456
|
+
|
|
3362
3457
|
api.add_operation(:send_workflow_step_action, Seahorse::Model::Operation.new.tap do |o|
|
|
3363
3458
|
o.name = "SendWorkflowStepAction"
|
|
3364
3459
|
o.http_method = "PUT"
|
|
@@ -27,8 +27,10 @@ module Aws::Imagebuilder
|
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
|
28
28
|
#
|
|
29
29
|
# ## Error Classes
|
|
30
|
+
# * {AccessDeniedException}
|
|
30
31
|
# * {CallRateLimitExceededException}
|
|
31
32
|
# * {ClientException}
|
|
33
|
+
# * {DryRunOperationException}
|
|
32
34
|
# * {ForbiddenException}
|
|
33
35
|
# * {IdempotentParameterMismatchException}
|
|
34
36
|
# * {InvalidPaginationTokenException}
|
|
@@ -44,6 +46,7 @@ module Aws::Imagebuilder
|
|
|
44
46
|
# * {ServiceException}
|
|
45
47
|
# * {ServiceQuotaExceededException}
|
|
46
48
|
# * {ServiceUnavailableException}
|
|
49
|
+
# * {TooManyRequestsException}
|
|
47
50
|
#
|
|
48
51
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
49
52
|
# if they are not defined above.
|
|
@@ -51,6 +54,21 @@ module Aws::Imagebuilder
|
|
|
51
54
|
|
|
52
55
|
extend Aws::Errors::DynamicErrors
|
|
53
56
|
|
|
57
|
+
class AccessDeniedException < ServiceError
|
|
58
|
+
|
|
59
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
60
|
+
# @param [String] message
|
|
61
|
+
# @param [Aws::Imagebuilder::Types::AccessDeniedException] data
|
|
62
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
63
|
+
super(context, message, data)
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# @return [String]
|
|
67
|
+
def message
|
|
68
|
+
@message || @data[:message]
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
54
72
|
class CallRateLimitExceededException < ServiceError
|
|
55
73
|
|
|
56
74
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -81,6 +99,21 @@ module Aws::Imagebuilder
|
|
|
81
99
|
end
|
|
82
100
|
end
|
|
83
101
|
|
|
102
|
+
class DryRunOperationException < ServiceError
|
|
103
|
+
|
|
104
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
105
|
+
# @param [String] message
|
|
106
|
+
# @param [Aws::Imagebuilder::Types::DryRunOperationException] data
|
|
107
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
108
|
+
super(context, message, data)
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# @return [String]
|
|
112
|
+
def message
|
|
113
|
+
@message || @data[:message]
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
84
117
|
class ForbiddenException < ServiceError
|
|
85
118
|
|
|
86
119
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -306,5 +339,20 @@ module Aws::Imagebuilder
|
|
|
306
339
|
end
|
|
307
340
|
end
|
|
308
341
|
|
|
342
|
+
class TooManyRequestsException < ServiceError
|
|
343
|
+
|
|
344
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
345
|
+
# @param [String] message
|
|
346
|
+
# @param [Aws::Imagebuilder::Types::TooManyRequestsException] data
|
|
347
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
348
|
+
super(context, message, data)
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# @return [String]
|
|
352
|
+
def message
|
|
353
|
+
@message || @data[:message]
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
|
|
309
357
|
end
|
|
310
358
|
end
|