![]() |
![]()
| ![]() |
![]()
NAMEPaws::ImageBuilder::ImportComponent - Arguments for method ImportComponent on Paws::ImageBuilder DESCRIPTIONThis class represents the parameters used for calling the method ImportComponent on the EC2 Image Builder service. Use the attributes of this class as arguments to method ImportComponent. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ImportComponent. SYNOPSISmy $imagebuilder = Paws->service('ImageBuilder'); my $ImportComponentResponse = $imagebuilder->ImportComponent( ClientToken => 'MyClientToken', Format => 'SHELL', Name => 'MyResourceName', Platform => 'Windows', SemanticVersion => 'MyVersionNumber', Type => 'BUILD', ChangeDescription => 'MyNonEmptyString', # OPTIONAL Data => 'MyNonEmptyString', # OPTIONAL Description => 'MyNonEmptyString', # OPTIONAL KmsKeyId => 'MyNonEmptyString', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL Uri => 'MyUri', # OPTIONAL ); # Results: my $ClientToken = $ImportComponentResponse->ClientToken; my $ComponentBuildVersionArn = $ImportComponentResponse->ComponentBuildVersionArn; my $RequestId = $ImportComponentResponse->RequestId; # Returns a L<Paws::ImageBuilder::ImportComponentResponse> 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/ImportComponent> ATTRIBUTESChangeDescription => StrThe change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component. REQUIRED ClientToken => StrThe idempotency token of the component. Data => StrThe data of the component. Used to specify the data inline. Either "data" or "uri" can be used to specify the data within the component. Description => StrThe description of the component. Describes the contents of the component. REQUIRED Format => StrThe format of the resource that you want to import as a component. Valid values are: "SHELL" KmsKeyId => StrThe ID of the KMS key that should be used to encrypt this component. REQUIRED Name => StrThe name of the component. REQUIRED Platform => StrThe platform of the component. Valid values are: "Windows", "Linux" REQUIRED SemanticVersion => StrThe semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01). Tags => Paws::ImageBuilder::TagMapThe tags of the component. REQUIRED Type => StrThe type of the component denotes whether the component is used to build the image or only to test it. Valid values are: "BUILD", "TEST" Uri => StrThe uri of the component. Must be an Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon S3, you can specify component content up to your service quota. Either "data" or "uri" can be used to specify the data within the component. SEE ALSOThis class forms part of Paws, documenting arguments for method ImportComponent 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>
|