|
NAMEPaws::ImageBuilder::UpdateDistributionConfiguration - Arguments for method UpdateDistributionConfiguration on Paws::ImageBuilder DESCRIPTIONThis class represents the parameters used for calling the method UpdateDistributionConfiguration on the EC2 Image Builder service. Use the attributes of this class as arguments to method UpdateDistributionConfiguration. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDistributionConfiguration. SYNOPSIS my $imagebuilder = Paws->service('ImageBuilder');
my $UpdateDistributionConfigurationResponse =
$imagebuilder->UpdateDistributionConfiguration(
ClientToken => 'MyClientToken',
DistributionConfigurationArn => 'MyDistributionConfigurationArn',
Distributions => [
{
Region => 'MyNonEmptyString', # min: 1, max: 1024
AmiDistributionConfiguration => {
AmiTags => {
'MyTagKey' =>
'MyTagValue', # key: min: 1, max: 128, value: max: 256
}, # min: 1, max: 50; OPTIONAL
Description => 'MyNonEmptyString', # min: 1, max: 1024
KmsKeyId => 'MyNonEmptyString', # min: 1, max: 1024
LaunchPermission => {
UserGroups => [
'MyNonEmptyString', ... # min: 1, max: 1024
], # OPTIONAL
UserIds => [ 'MyAccountId', ... ], # min: 1, max: 1536; OPTIONAL
}, # OPTIONAL
Name => 'MyAmiNameString', # min: 1, max: 127; OPTIONAL
TargetAccountIds => [ 'MyAccountId', ... ]
, # min: 1, max: 1536; OPTIONAL
}, # OPTIONAL
ContainerDistributionConfiguration => {
TargetRepository => {
RepositoryName => 'MyNonEmptyString', # min: 1, max: 1024
Service => 'ECR', # values: ECR
},
ContainerTags => [
'MyNonEmptyString', ... # min: 1, max: 1024
], # OPTIONAL
Description => 'MyNonEmptyString', # min: 1, max: 1024
}, # OPTIONAL
LaunchTemplateConfigurations => [
{
LaunchTemplateId => 'MyLaunchTemplateId',
AccountId => 'MyAccountId',
SetDefaultVersion => 1, # OPTIONAL
},
...
], # min: 1, max: 100; OPTIONAL
LicenseConfigurationArns => [ 'MyLicenseConfigurationArn', ... ]
, # min: 1, max: 50; OPTIONAL
},
...
],
Description => 'MyNonEmptyString', # OPTIONAL
);
# Results:
my $ClientToken = $UpdateDistributionConfigurationResponse->ClientToken;
my $DistributionConfigurationArn =
$UpdateDistributionConfigurationResponse->DistributionConfigurationArn;
my $RequestId = $UpdateDistributionConfigurationResponse->RequestId;
# Returns a Paws::ImageBuilder::UpdateDistributionConfigurationResponse object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/imagebuilder/UpdateDistributionConfiguration> ATTRIBUTESREQUIRED ClientToken => StrThe idempotency token of the distribution configuration. Description => StrThe description of the distribution configuration. REQUIRED DistributionConfigurationArn => StrThe Amazon Resource Name (ARN) of the distribution configuration that you want to update. REQUIRED Distributions => ArrayRef[Paws::ImageBuilder::Distribution]The distributions of the distribution configuration. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateDistributionConfiguration in Paws::ImageBuilder BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|