aws-sdk-imagebuilder 1.111.0 → 1.112.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.
@@ -42,6 +42,7 @@ module Aws::Imagebuilder
42
42
  ComponentConfiguration = Shapes::StructureShape.new(name: 'ComponentConfiguration')
43
43
  ComponentConfigurationList = Shapes::ListShape.new(name: 'ComponentConfigurationList')
44
44
  ComponentData = Shapes::StringShape.new(name: 'ComponentData')
45
+ ComponentFailureContext = Shapes::StructureShape.new(name: 'ComponentFailureContext')
45
46
  ComponentFormat = Shapes::StringShape.new(name: 'ComponentFormat')
46
47
  ComponentParameter = Shapes::StructureShape.new(name: 'ComponentParameter')
47
48
  ComponentParameterDescription = Shapes::StringShape.new(name: 'ComponentParameterDescription')
@@ -122,6 +123,7 @@ module Aws::Imagebuilder
122
123
  DistributionConfigurationArn = Shapes::StringShape.new(name: 'DistributionConfigurationArn')
123
124
  DistributionConfigurationSummary = Shapes::StructureShape.new(name: 'DistributionConfigurationSummary')
124
125
  DistributionConfigurationSummaryList = Shapes::ListShape.new(name: 'DistributionConfigurationSummaryList')
126
+ DistributionFailureContext = Shapes::StructureShape.new(name: 'DistributionFailureContext')
125
127
  DistributionList = Shapes::ListShape.new(name: 'DistributionList')
126
128
  DistributionTimeoutMinutes = Shapes::IntegerShape.new(name: 'DistributionTimeoutMinutes')
127
129
  DockerFileTemplate = Shapes::StringShape.new(name: 'DockerFileTemplate')
@@ -186,6 +188,8 @@ module Aws::Imagebuilder
186
188
  ImageBuildMessage = Shapes::StringShape.new(name: 'ImageBuildMessage')
187
189
  ImageBuildVersionArn = Shapes::StringShape.new(name: 'ImageBuildVersionArn')
188
190
  ImageBuilderArn = Shapes::StringShape.new(name: 'ImageBuilderArn')
191
+ ImageConfigurationStep = Shapes::StringShape.new(name: 'ImageConfigurationStep')
192
+ ImageFailureContext = Shapes::StructureShape.new(name: 'ImageFailureContext')
189
193
  ImageLoggingConfiguration = Shapes::StructureShape.new(name: 'ImageLoggingConfiguration')
190
194
  ImagePackage = Shapes::StructureShape.new(name: 'ImagePackage')
191
195
  ImagePackageList = Shapes::ListShape.new(name: 'ImagePackageList')
@@ -339,6 +343,7 @@ module Aws::Imagebuilder
339
343
  MarketplaceResourceLocation = Shapes::StringShape.new(name: 'MarketplaceResourceLocation')
340
344
  MarketplaceResourceType = Shapes::StringShape.new(name: 'MarketplaceResourceType')
341
345
  MaxParallelLaunches = Shapes::IntegerShape.new(name: 'MaxParallelLaunches')
346
+ NonEmptyMaxLengthString = Shapes::StringShape.new(name: 'NonEmptyMaxLengthString')
342
347
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
343
348
  NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
344
349
  NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
@@ -374,6 +379,9 @@ module Aws::Imagebuilder
374
379
  PutImagePolicyResponse = Shapes::StructureShape.new(name: 'PutImagePolicyResponse')
375
380
  PutImageRecipePolicyRequest = Shapes::StructureShape.new(name: 'PutImageRecipePolicyRequest')
376
381
  PutImageRecipePolicyResponse = Shapes::StructureShape.new(name: 'PutImageRecipePolicyResponse')
382
+ RegionFailure = Shapes::StructureShape.new(name: 'RegionFailure')
383
+ RegionFailureList = Shapes::ListShape.new(name: 'RegionFailureList')
384
+ RegionFailureStatus = Shapes::StringShape.new(name: 'RegionFailureStatus')
377
385
  RegionList = Shapes::ListShape.new(name: 'RegionList')
378
386
  RegisterImageOptions = Shapes::StructureShape.new(name: 'RegisterImageOptions')
379
387
  Remediation = Shapes::StructureShape.new(name: 'Remediation')
@@ -473,6 +481,7 @@ module Aws::Imagebuilder
473
481
  WorkflowStatus = Shapes::StringShape.new(name: 'WorkflowStatus')
474
482
  WorkflowStepAction = Shapes::StringShape.new(name: 'WorkflowStepAction')
475
483
  WorkflowStepActionType = Shapes::StringShape.new(name: 'WorkflowStepActionType')
484
+ WorkflowStepAttemptCount = Shapes::IntegerShape.new(name: 'WorkflowStepAttemptCount')
476
485
  WorkflowStepCount = Shapes::IntegerShape.new(name: 'WorkflowStepCount')
477
486
  WorkflowStepDescription = Shapes::StringShape.new(name: 'WorkflowStepDescription')
478
487
  WorkflowStepExecution = Shapes::StructureShape.new(name: 'WorkflowStepExecution')
@@ -581,6 +590,13 @@ module Aws::Imagebuilder
581
590
 
582
591
  ComponentConfigurationList.member = Shapes::ShapeRef.new(shape: ComponentConfiguration)
583
592
 
593
+ ComponentFailureContext.add_member(:component_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, location_name: "componentArn"))
594
+ ComponentFailureContext.add_member(:phase_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "phaseName"))
595
+ ComponentFailureContext.add_member(:step_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "stepName"))
596
+ ComponentFailureContext.add_member(:action, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "action"))
597
+ ComponentFailureContext.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyMaxLengthString, location_name: "errorMessage"))
598
+ ComponentFailureContext.struct_class = Types::ComponentFailureContext
599
+
584
600
  ComponentParameter.add_member(:name, Shapes::ShapeRef.new(shape: ComponentParameterName, required: true, location_name: "name"))
585
601
  ComponentParameter.add_member(:value, Shapes::ShapeRef.new(shape: ComponentParameterValueList, required: true, location_name: "value"))
586
602
  ComponentParameter.struct_class = Types::ComponentParameter
@@ -713,6 +729,7 @@ module Aws::Imagebuilder
713
729
  CreateContainerRecipeRequest.add_member(:target_repository, Shapes::ShapeRef.new(shape: TargetContainerRepository, required: true, location_name: "targetRepository"))
714
730
  CreateContainerRecipeRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
715
731
  CreateContainerRecipeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
732
+ CreateContainerRecipeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
716
733
  CreateContainerRecipeRequest.struct_class = Types::CreateContainerRecipeRequest
717
734
 
718
735
  CreateContainerRecipeResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
@@ -726,6 +743,7 @@ module Aws::Imagebuilder
726
743
  CreateDistributionConfigurationRequest.add_member(:distributions, Shapes::ShapeRef.new(shape: DistributionList, required: true, location_name: "distributions"))
727
744
  CreateDistributionConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
728
745
  CreateDistributionConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
746
+ CreateDistributionConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
729
747
  CreateDistributionConfigurationRequest.struct_class = Types::CreateDistributionConfigurationRequest
730
748
 
731
749
  CreateDistributionConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
@@ -750,6 +768,7 @@ module Aws::Imagebuilder
750
768
  CreateImagePipelineRequest.add_member(:workflows, Shapes::ShapeRef.new(shape: WorkflowConfigurationList, location_name: "workflows"))
751
769
  CreateImagePipelineRequest.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleNameOrArn, location_name: "executionRole"))
752
770
  CreateImagePipelineRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: PipelineLoggingConfiguration, location_name: "loggingConfiguration"))
771
+ CreateImagePipelineRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
753
772
  CreateImagePipelineRequest.struct_class = Types::CreateImagePipelineRequest
754
773
 
755
774
  CreateImagePipelineResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
@@ -769,6 +788,7 @@ module Aws::Imagebuilder
769
788
  CreateImageRecipeRequest.add_member(:ami_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "amiTags"))
770
789
  CreateImageRecipeRequest.add_member(:ami_watermarks, Shapes::ShapeRef.new(shape: AmiWatermarksList, location_name: "amiWatermarks"))
771
790
  CreateImageRecipeRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
791
+ CreateImageRecipeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
772
792
  CreateImageRecipeRequest.struct_class = Types::CreateImageRecipeRequest
773
793
 
774
794
  CreateImageRecipeResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
@@ -812,6 +832,7 @@ module Aws::Imagebuilder
812
832
  CreateInfrastructureConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
813
833
  CreateInfrastructureConfigurationRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "placement"))
814
834
  CreateInfrastructureConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
835
+ CreateInfrastructureConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
815
836
  CreateInfrastructureConfigurationRequest.struct_class = Types::CreateInfrastructureConfigurationRequest
816
837
 
817
838
  CreateInfrastructureConfigurationResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "requestId"))
@@ -828,6 +849,7 @@ module Aws::Imagebuilder
828
849
  CreateLifecyclePolicyRequest.add_member(:resource_selection, Shapes::ShapeRef.new(shape: LifecyclePolicyResourceSelection, required: true, location_name: "resourceSelection"))
829
850
  CreateLifecyclePolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
830
851
  CreateLifecyclePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
852
+ CreateLifecyclePolicyRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
831
853
  CreateLifecyclePolicyRequest.struct_class = Types::CreateLifecyclePolicyRequest
832
854
 
833
855
  CreateLifecyclePolicyResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
@@ -978,6 +1000,10 @@ module Aws::Imagebuilder
978
1000
 
979
1001
  DistributionConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: DistributionConfigurationSummary)
980
1002
 
1003
+ DistributionFailureContext.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyMaxLengthString, location_name: "errorMessage"))
1004
+ DistributionFailureContext.add_member(:region_failures, Shapes::ShapeRef.new(shape: RegionFailureList, location_name: "regionFailures"))
1005
+ DistributionFailureContext.struct_class = Types::DistributionFailureContext
1006
+
981
1007
  DistributionList.member = Shapes::ShapeRef.new(shape: Distribution)
982
1008
 
983
1009
  DryRunOperationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -1174,6 +1200,8 @@ module Aws::Imagebuilder
1174
1200
  GetWorkflowStepExecutionResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
1175
1201
  GetWorkflowStepExecutionResponse.add_member(:on_failure, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "onFailure"))
1176
1202
  GetWorkflowStepExecutionResponse.add_member(:timeout_seconds, Shapes::ShapeRef.new(shape: WorkflowStepTimeoutSecondsInteger, location_name: "timeoutSeconds"))
1203
+ GetWorkflowStepExecutionResponse.add_member(:attempt_number, Shapes::ShapeRef.new(shape: WorkflowStepAttemptCount, location_name: "attemptNumber"))
1204
+ GetWorkflowStepExecutionResponse.add_member(:max_attempts, Shapes::ShapeRef.new(shape: WorkflowStepAttemptCount, location_name: "maxAttempts"))
1177
1205
  GetWorkflowStepExecutionResponse.struct_class = Types::GetWorkflowStepExecutionResponse
1178
1206
 
1179
1207
  IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -1212,6 +1240,15 @@ module Aws::Imagebuilder
1212
1240
  ImageAggregation.add_member(:severity_counts, Shapes::ShapeRef.new(shape: SeverityCounts, location_name: "severityCounts"))
1213
1241
  ImageAggregation.struct_class = Types::ImageAggregation
1214
1242
 
1243
+ ImageFailureContext.add_member(:image_status, Shapes::ShapeRef.new(shape: ImageStatus, location_name: "imageStatus"))
1244
+ ImageFailureContext.add_member(:workflow_execution_id, Shapes::ShapeRef.new(shape: WorkflowExecutionId, location_name: "workflowExecutionId"))
1245
+ ImageFailureContext.add_member(:workflow_arn, Shapes::ShapeRef.new(shape: WorkflowBuildVersionArn, location_name: "workflowArn"))
1246
+ ImageFailureContext.add_member(:step_execution_id, Shapes::ShapeRef.new(shape: WorkflowStepExecutionId, location_name: "stepExecutionId"))
1247
+ ImageFailureContext.add_member(:failed_step, Shapes::ShapeRef.new(shape: WorkflowStepName, location_name: "failedStep"))
1248
+ ImageFailureContext.add_member(:component_failure, Shapes::ShapeRef.new(shape: ComponentFailureContext, location_name: "componentFailure"))
1249
+ ImageFailureContext.add_member(:distribution_failure, Shapes::ShapeRef.new(shape: DistributionFailureContext, location_name: "distributionFailure"))
1250
+ ImageFailureContext.struct_class = Types::ImageFailureContext
1251
+
1215
1252
  ImageLoggingConfiguration.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, location_name: "logGroupName"))
1216
1253
  ImageLoggingConfiguration.struct_class = Types::ImageLoggingConfiguration
1217
1254
 
@@ -1326,6 +1363,7 @@ module Aws::Imagebuilder
1326
1363
 
1327
1364
  ImageState.add_member(:status, Shapes::ShapeRef.new(shape: ImageStatus, location_name: "status"))
1328
1365
  ImageState.add_member(:reason, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "reason"))
1366
+ ImageState.add_member(:failure_context, Shapes::ShapeRef.new(shape: ImageFailureContext, location_name: "failureContext"))
1329
1367
  ImageState.struct_class = Types::ImageState
1330
1368
 
1331
1369
  ImageSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "arn"))
@@ -1936,6 +1974,15 @@ module Aws::Imagebuilder
1936
1974
  PutImageRecipePolicyResponse.add_member(:image_recipe_arn, Shapes::ShapeRef.new(shape: ImageRecipeArn, location_name: "imageRecipeArn"))
1937
1975
  PutImageRecipePolicyResponse.struct_class = Types::PutImageRecipePolicyResponse
1938
1976
 
1977
+ RegionFailure.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "region"))
1978
+ RegionFailure.add_member(:status, Shapes::ShapeRef.new(shape: RegionFailureStatus, location_name: "status"))
1979
+ RegionFailure.add_member(:image_configuration_step, Shapes::ShapeRef.new(shape: ImageConfigurationStep, location_name: "imageConfigurationStep"))
1980
+ RegionFailure.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyMaxLengthString, location_name: "errorMessage"))
1981
+ RegionFailure.add_member(:target_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "targetAccountId"))
1982
+ RegionFailure.struct_class = Types::RegionFailure
1983
+
1984
+ RegionFailureList.member = Shapes::ShapeRef.new(shape: RegionFailure)
1985
+
1939
1986
  RegionList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1940
1987
 
1941
1988
  RegisterImageOptions.add_member(:secure_boot_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "secureBootEnabled"))
@@ -2262,6 +2309,8 @@ module Aws::Imagebuilder
2262
2309
  WorkflowStepMetadata.add_member(:outputs, Shapes::ShapeRef.new(shape: WorkflowStepOutputs, location_name: "outputs"))
2263
2310
  WorkflowStepMetadata.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
2264
2311
  WorkflowStepMetadata.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
2312
+ WorkflowStepMetadata.add_member(:attempt_number, Shapes::ShapeRef.new(shape: WorkflowStepAttemptCount, location_name: "attemptNumber"))
2313
+ WorkflowStepMetadata.add_member(:max_attempts, Shapes::ShapeRef.new(shape: WorkflowStepAttemptCount, location_name: "maxAttempts"))
2265
2314
  WorkflowStepMetadata.struct_class = Types::WorkflowStepMetadata
2266
2315
 
2267
2316
  WorkflowSummary.add_member(:arn, Shapes::ShapeRef.new(shape: WorkflowNameArn, location_name: "arn"))
@@ -2379,6 +2428,7 @@ module Aws::Imagebuilder
2379
2428
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2380
2429
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2381
2430
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2431
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
2382
2432
  end)
2383
2433
 
2384
2434
  api.add_operation(:create_distribution_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -2398,6 +2448,7 @@ module Aws::Imagebuilder
2398
2448
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2399
2449
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
2400
2450
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2451
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
2401
2452
  end)
2402
2453
 
2403
2454
  api.add_operation(:create_image, Seahorse::Model::Operation.new.tap do |o|
@@ -2433,6 +2484,7 @@ module Aws::Imagebuilder
2433
2484
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2434
2485
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2435
2486
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2487
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
2436
2488
  end)
2437
2489
 
2438
2490
  api.add_operation(:create_image_recipe, Seahorse::Model::Operation.new.tap do |o|
@@ -2452,6 +2504,7 @@ module Aws::Imagebuilder
2452
2504
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2453
2505
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2454
2506
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2507
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
2455
2508
  end)
2456
2509
 
2457
2510
  api.add_operation(:create_infrastructure_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -2470,6 +2523,7 @@ module Aws::Imagebuilder
2470
2523
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2471
2524
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2472
2525
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2526
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
2473
2527
  end)
2474
2528
 
2475
2529
  api.add_operation(:create_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -2488,6 +2542,7 @@ module Aws::Imagebuilder
2488
2542
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2489
2543
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2490
2544
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2545
+ o.errors << Shapes::ShapeRef.new(shape: DryRunOperationException)
2491
2546
  end)
2492
2547
 
2493
2548
  api.add_operation(:create_workflow, Seahorse::Model::Operation.new.tap do |o|