- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
PutConfigurationCommand
Associates a TagKey
configuration to an account.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { ServiceCatalogAppRegistryClient, PutConfigurationCommand } from "@aws-sdk/client-service-catalog-appregistry"; // ES Modules import
// const { ServiceCatalogAppRegistryClient, PutConfigurationCommand } = require("@aws-sdk/client-service-catalog-appregistry"); // CommonJS import
const client = new ServiceCatalogAppRegistryClient(config);
const input = { // PutConfigurationRequest
configuration: { // AppRegistryConfiguration
tagQueryConfiguration: { // TagQueryConfiguration
tagKey: "STRING_VALUE",
},
},
};
const command = new PutConfigurationCommand(input);
const response = await client.send(command);
// {};
PutConfigurationCommand Input
See PutConfigurationCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
configuration Required | AppRegistryConfiguration | undefined | Associates a |
PutConfigurationCommand Output
See PutConfigurationCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
ConflictException | client | There was a conflict when processing the request (for example, a resource with the given name already exists within the account). |
InternalServerException | server | The service is experiencing internal problems. |
ValidationException | client | The request has invalid or missing parameters. |
ServiceCatalogAppRegistryServiceException | Base exception class for all service exceptions from ServiceCatalogAppRegistry service. |