diff --git a/.changes/next-release/api-change-appconfig-12381.json b/.changes/next-release/api-change-appconfig-12381.json new file mode 100644 index 0000000000..91366db413 --- /dev/null +++ b/.changes/next-release/api-change-appconfig-12381.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appconfig``", + "description": "Adding Create, Get, Update, Delete, and List APIs for new two new resources: Extensions and ExtensionAssociations." +} diff --git a/botocore/data/appconfig/2019-10-09/service-2.json b/botocore/data/appconfig/2019-10-09/service-2.json index 29941af075..8f05947b85 100644 --- a/botocore/data/appconfig/2019-10-09/service-2.json +++ b/botocore/data/appconfig/2019-10-09/service-2.json @@ -26,7 +26,7 @@ {"shape":"BadRequestException"}, {"shape":"InternalServerException"} ], - "documentation":"

Creates an application. An application in AppConfig is a logical unit of code that provides capabilities for your customers. For example, an application can be a microservice that runs on Amazon EC2 instances, a mobile application installed by your users, a serverless application using Amazon API Gateway and Lambda, or any system you run on behalf of others.

" + "documentation":"

Creates an application. In AppConfig, an application is simply an organizational construct like a folder. This organizational construct has a relationship with some unit of executable code. For example, you could create an application called MyMobileApp to organize and manage configuration data for a mobile application installed by your users.

" }, "CreateConfigurationProfile":{ "name":"CreateConfigurationProfile", @@ -73,7 +73,41 @@ {"shape":"ResourceNotFoundException"}, {"shape":"BadRequestException"} ], - "documentation":"

Creates an environment. For each application, you define one or more environments. An environment is a logical deployment group of AppConfig targets, such as applications in a Beta or Production environment. You can also define environments for application subcomponents such as the Web, Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.

" + "documentation":"

Creates an environment. For each application, you define one or more environments. An environment is a deployment group of AppConfig targets, such as applications in a Beta or Production environment. You can also define environments for application subcomponents such as the Web, Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.

" + }, + "CreateExtension":{ + "name":"CreateExtension", + "http":{ + "method":"POST", + "requestUri":"/extensions", + "responseCode":201 + }, + "input":{"shape":"CreateExtensionRequest"}, + "output":{"shape":"Extension"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ConflictException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration.

You can create your own extensions or use the Amazon Web Services-authored extensions provided by AppConfig. For most use-cases, to create your own extension, you must create an Lambda function to perform any computation and processing defined in the extension. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.

" + }, + "CreateExtensionAssociation":{ + "name":"CreateExtensionAssociation", + "http":{ + "method":"POST", + "requestUri":"/extensionassociations", + "responseCode":201 + }, + "input":{"shape":"CreateExtensionAssociationRequest"}, + "output":{"shape":"ExtensionAssociation"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

When you create an extension or configure an Amazon Web Services-authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the AppConfig deployment events to Amazon SNS Amazon Web Services-authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.

" }, "CreateHostedConfigurationVersion":{ "name":"CreateHostedConfigurationVersion", @@ -156,6 +190,36 @@ ], "documentation":"

Deletes an environment. Deleting an environment does not delete a configuration from a host.

" }, + "DeleteExtension":{ + "name":"DeleteExtension", + "http":{ + "method":"DELETE", + "requestUri":"/extensions/{ExtensionIdentifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteExtensionRequest"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.

" + }, + "DeleteExtensionAssociation":{ + "name":"DeleteExtensionAssociation", + "http":{ + "method":"DELETE", + "requestUri":"/extensionassociations/{ExtensionAssociationId}", + "responseCode":204 + }, + "input":{"shape":"DeleteExtensionAssociationRequest"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Deletes an extension association. This action doesn't delete extensions defined in the association.

" + }, "DeleteHostedConfigurationVersion":{ "name":"DeleteHostedConfigurationVersion", "http":{ @@ -267,7 +331,39 @@ {"shape":"InternalServerException"}, {"shape":"BadRequestException"} ], - "documentation":"

Retrieves information about an environment. An environment is a logical deployment group of AppConfig applications, such as applications in a Production environment or in an EU_Region environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.

" + "documentation":"

Retrieves information about an environment. An environment is a deployment group of AppConfig applications, such as applications in a Production environment or in an EU_Region environment. Each configuration deployment targets an environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is triggered during a deployment, AppConfig roles back the configuration.

" + }, + "GetExtension":{ + "name":"GetExtension", + "http":{ + "method":"GET", + "requestUri":"/extensions/{ExtensionIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetExtensionRequest"}, + "output":{"shape":"Extension"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

Returns information about an AppConfig extension.

" + }, + "GetExtensionAssociation":{ + "name":"GetExtensionAssociation", + "http":{ + "method":"GET", + "requestUri":"/extensionassociations/{ExtensionAssociationId}", + "responseCode":200 + }, + "input":{"shape":"GetExtensionAssociationRequest"}, + "output":{"shape":"ExtensionAssociation"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Returns information about an AppConfig extension association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.

" }, "GetHostedConfigurationVersion":{ "name":"GetHostedConfigurationVersion", @@ -363,6 +459,36 @@ ], "documentation":"

Lists the environments for an application.

" }, + "ListExtensionAssociations":{ + "name":"ListExtensionAssociations", + "http":{ + "method":"GET", + "requestUri":"/extensionassociations", + "responseCode":200 + }, + "input":{"shape":"ListExtensionAssociationsRequest"}, + "output":{"shape":"ExtensionAssociations"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.

" + }, + "ListExtensions":{ + "name":"ListExtensions", + "http":{ + "method":"GET", + "requestUri":"/extensions", + "responseCode":200 + }, + "input":{"shape":"ListExtensionsRequest"}, + "output":{"shape":"Extensions"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"BadRequestException"} + ], + "documentation":"

Lists all custom and Amazon Web Services-authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.

" + }, "ListHostedConfigurationVersions":{ "name":"ListHostedConfigurationVersions", "http":{ @@ -522,6 +648,39 @@ ], "documentation":"

Updates an environment.

" }, + "UpdateExtension":{ + "name":"UpdateExtension", + "http":{ + "method":"PATCH", + "requestUri":"/extensions/{ExtensionIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateExtensionRequest"}, + "output":{"shape":"Extension"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Updates an AppConfig extension. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.

" + }, + "UpdateExtensionAssociation":{ + "name":"UpdateExtensionAssociation", + "http":{ + "method":"PATCH", + "requestUri":"/extensionassociations/{ExtensionAssociationId}", + "responseCode":200 + }, + "input":{"shape":"UpdateExtensionAssociationRequest"}, + "output":{"shape":"ExtensionAssociation"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

Updates an association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.

" + }, "ValidateConfiguration":{ "name":"ValidateConfiguration", "http":{ @@ -539,6 +698,91 @@ } }, "shapes":{ + "Action":{ + "type":"structure", + "members":{ + "Name":{ + "shape":"Name", + "documentation":"

The action name.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

Information about the action.

" + }, + "Uri":{ + "shape":"Uri", + "documentation":"

The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.

" + }, + "RoleArn":{ + "shape":"Arn", + "documentation":"

An Amazon Resource Name (ARN) for an Identity and Access Management assume role.

" + } + }, + "documentation":"

An action defines the tasks the extension performs during the AppConfig workflow. Each action includes an action point such as ON_CREATE_HOSTED_CONFIGURATION, PRE_DEPLOYMENT, or ON_DEPLOYMENT. Each action also includes a name, a URI to an Lambda function, and an Amazon Resource Name (ARN) for an Identity and Access Management assume role. You specify the name, URI, and ARN for each action point defined in the extension. You can specify the following actions for an extension:

" + }, + "ActionInvocation":{ + "type":"structure", + "members":{ + "ExtensionIdentifier":{ + "shape":"Identifier", + "documentation":"

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

" + }, + "ActionName":{ + "shape":"Name", + "documentation":"

The name of the action.

" + }, + "Uri":{ + "shape":"Uri", + "documentation":"

The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.

" + }, + "RoleArn":{ + "shape":"Arn", + "documentation":"

An Amazon Resource Name (ARN) for an Identity and Access Management assume role.

" + }, + "ErrorMessage":{ + "shape":"String", + "documentation":"

The error message when an extension invocation fails.

" + }, + "ErrorCode":{ + "shape":"String", + "documentation":"

The error code when an extension invocation fails.

" + }, + "InvocationId":{ + "shape":"Id", + "documentation":"

A system-generated ID for this invocation.

" + } + }, + "documentation":"

An extension that was invoked as part of a deployment event.

" + }, + "ActionInvocations":{ + "type":"list", + "member":{"shape":"ActionInvocation"} + }, + "ActionList":{ + "type":"list", + "member":{"shape":"Action"}, + "max":1, + "min":1 + }, + "ActionPoint":{ + "type":"string", + "enum":[ + "PRE_CREATE_HOSTED_CONFIGURATION_VERSION", + "PRE_START_DEPLOYMENT", + "ON_DEPLOYMENT_START", + "ON_DEPLOYMENT_STEP", + "ON_DEPLOYMENT_BAKING", + "ON_DEPLOYMENT_COMPLETE", + "ON_DEPLOYMENT_ROLLED_BACK" + ] + }, + "ActionsMap":{ + "type":"map", + "key":{"shape":"ActionPoint"}, + "value":{"shape":"ActionList"}, + "max":5, + "min":1 + }, "Application":{ "type":"structure", "members":{ @@ -573,6 +817,32 @@ } } }, + "AppliedExtension":{ + "type":"structure", + "members":{ + "ExtensionId":{ + "shape":"Id", + "documentation":"

The system-generated ID of the extension.

" + }, + "ExtensionAssociationId":{ + "shape":"Id", + "documentation":"

The system-generated ID for the association.

" + }, + "VersionNumber":{ + "shape":"Integer", + "documentation":"

The extension version number.

" + }, + "Parameters":{ + "shape":"ParameterValueMap", + "documentation":"

One or more parameters for the actions called by the extension.

" + } + }, + "documentation":"

An extension that was invoked during a deployment.

" + }, + "AppliedExtensions":{ + "type":"list", + "member":{"shape":"AppliedExtension"} + }, "Arn":{ "type":"string", "max":2048, @@ -609,6 +879,7 @@ "type":"blob", "sensitive":true }, + "Boolean":{"type":"boolean"}, "BytesMeasure":{ "type":"string", "enum":["KILOBYTES"] @@ -647,7 +918,7 @@ "documentation":"

The configuration profile ID.

" }, "Name":{ - "shape":"Name", + "shape":"LongName", "documentation":"

The name of the configuration profile.

" }, "Description":{ @@ -684,7 +955,7 @@ "documentation":"

The ID of the configuration profile.

" }, "Name":{ - "shape":"Name", + "shape":"LongName", "documentation":"

The name of the configuration profile.

" }, "LocationUri":{ @@ -765,7 +1036,7 @@ "locationName":"ApplicationId" }, "Name":{ - "shape":"Name", + "shape":"LongName", "documentation":"

A name for the configuration profile.

" }, "Description":{ @@ -799,8 +1070,7 @@ "required":[ "Name", "DeploymentDurationInMinutes", - "GrowthFactor", - "ReplicateTo" + "GrowthFactor" ], "members":{ "Name":{ @@ -818,7 +1088,7 @@ }, "FinalBakeTimeInMinutes":{ "shape":"MinutesBetween0And24Hours", - "documentation":"

The amount of time AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back.

" + "documentation":"

Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AppConfig rolls back the deployment. You must configure permissions for AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AppConfig User Guide.

" }, "GrowthFactor":{ "shape":"GrowthFactor", @@ -870,6 +1140,72 @@ } } }, + "CreateExtensionAssociationRequest":{ + "type":"structure", + "required":[ + "ExtensionIdentifier", + "ResourceIdentifier" + ], + "members":{ + "ExtensionIdentifier":{ + "shape":"Identifier", + "documentation":"

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

" + }, + "ExtensionVersionNumber":{ + "shape":"Integer", + "documentation":"

The version number of the extension. If not specified, AppConfig uses the maximum version of the extension.

", + "box":true + }, + "ResourceIdentifier":{ + "shape":"Identifier", + "documentation":"

The ARN of an application, configuration profile, or environment.

" + }, + "Parameters":{ + "shape":"ParameterValueMap", + "documentation":"

The parameter names and values defined in the extensions. Extension parameters marked Required must be entered for this field.

" + }, + "Tags":{ + "shape":"TagMap", + "documentation":"

Adds one or more tags for the specified extension association. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.

" + } + } + }, + "CreateExtensionRequest":{ + "type":"structure", + "required":[ + "Name", + "Actions" + ], + "members":{ + "Name":{ + "shape":"Name", + "documentation":"

A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

Information about the extension.

" + }, + "Actions":{ + "shape":"ActionsMap", + "documentation":"

The actions defined in the extension.

" + }, + "Parameters":{ + "shape":"ParameterMap", + "documentation":"

The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object.

" + }, + "Tags":{ + "shape":"TagMap", + "documentation":"

Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.

" + }, + "LatestVersionNumber":{ + "shape":"Integer", + "documentation":"

You can omit this field when you create an extension. When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.

", + "box":true, + "location":"header", + "locationName":"Latest-Version-Number" + } + } + }, "CreateHostedConfigurationVersionRequest":{ "type":"structure", "required":[ @@ -983,6 +1319,37 @@ } } }, + "DeleteExtensionAssociationRequest":{ + "type":"structure", + "required":["ExtensionAssociationId"], + "members":{ + "ExtensionAssociationId":{ + "shape":"Id", + "documentation":"

The ID of the extension association to delete.

", + "location":"uri", + "locationName":"ExtensionAssociationId" + } + } + }, + "DeleteExtensionRequest":{ + "type":"structure", + "required":["ExtensionIdentifier"], + "members":{ + "ExtensionIdentifier":{ + "shape":"Identifier", + "documentation":"

The name, ID, or Amazon Resource Name (ARN) of the extension you want to delete.

", + "location":"uri", + "locationName":"ExtensionIdentifier" + }, + "VersionNumber":{ + "shape":"Integer", + "documentation":"

A specific version of an extension to delete. If omitted, the highest version is deleted.

", + "box":true, + "location":"querystring", + "locationName":"version" + } + } + }, "DeleteHostedConfigurationVersionRequest":{ "type":"structure", "required":[ @@ -1085,6 +1452,10 @@ "CompletedAt":{ "shape":"Iso8601DateTime", "documentation":"

The time the deployment completed.

" + }, + "AppliedExtensions":{ + "shape":"AppliedExtensions", + "documentation":"

A list of extensions that were processed as part of the deployment. The extensions that were previously associated to the configuration profile, environment, or the application when StartDeployment was called.

" } } }, @@ -1103,6 +1474,10 @@ "shape":"Description", "documentation":"

A description of the deployment event. Descriptions include, but are not limited to, the user account or the Amazon CloudWatch alarm ARN that initiated a rollback, the percentage of hosts that received the deployment, or in the case of an internal error, a recommendation to attempt a new deployment.

" }, + "ActionInvocations":{ + "shape":"ActionInvocations", + "documentation":"

The list of extensions that were invoked as part of the deployment.

" + }, "OccurredAt":{ "shape":"Iso8601DateTime", "documentation":"

The date and time the event occurred.

" @@ -1321,6 +1696,146 @@ } } }, + "Extension":{ + "type":"structure", + "members":{ + "Id":{ + "shape":"Id", + "documentation":"

The system-generated ID of the extension.

" + }, + "Name":{ + "shape":"Name", + "documentation":"

The extension name.

" + }, + "VersionNumber":{ + "shape":"Integer", + "documentation":"

The extension version number.

" + }, + "Arn":{ + "shape":"Arn", + "documentation":"

The system-generated Amazon Resource Name (ARN) for the extension.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

Information about the extension.

" + }, + "Actions":{ + "shape":"ActionsMap", + "documentation":"

The actions defined in the extension.

" + }, + "Parameters":{ + "shape":"ParameterMap", + "documentation":"

The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object.

" + } + } + }, + "ExtensionAssociation":{ + "type":"structure", + "members":{ + "Id":{ + "shape":"Identifier", + "documentation":"

The system-generated ID for the association.

" + }, + "ExtensionArn":{ + "shape":"Arn", + "documentation":"

The ARN of the extension defined in the association.

" + }, + "ResourceArn":{ + "shape":"Arn", + "documentation":"

The ARNs of applications, configuration profiles, or environments defined in the association.

" + }, + "Arn":{ + "shape":"Arn", + "documentation":"

The system-generated Amazon Resource Name (ARN) for the extension.

" + }, + "Parameters":{ + "shape":"ParameterValueMap", + "documentation":"

The parameter names and values defined in the association.

" + }, + "ExtensionVersionNumber":{ + "shape":"Integer", + "documentation":"

The version number for the extension defined in the association.

" + } + } + }, + "ExtensionAssociationSummaries":{ + "type":"list", + "member":{"shape":"ExtensionAssociationSummary"} + }, + "ExtensionAssociationSummary":{ + "type":"structure", + "members":{ + "Id":{ + "shape":"Identifier", + "documentation":"

The extension association ID. This ID is used to call other ExtensionAssociation API actions such as GetExtensionAssociation or DeleteExtensionAssociation.

" + }, + "ExtensionArn":{ + "shape":"Arn", + "documentation":"

The system-generated Amazon Resource Name (ARN) for the extension.

" + }, + "ResourceArn":{ + "shape":"Arn", + "documentation":"

The ARNs of applications, configuration profiles, or environments defined in the association.

" + } + }, + "documentation":"

Information about an association between an extension and an AppConfig resource such as an application, environment, or configuration profile. Call GetExtensionAssociation to get more information about an association.

" + }, + "ExtensionAssociations":{ + "type":"structure", + "members":{ + "Items":{ + "shape":"ExtensionAssociationSummaries", + "documentation":"

The list of extension associations. Each item represents an extension association to an application, environment, or configuration profile.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

The token for the next set of items to return. Use this token to get the next set of results.

" + } + } + }, + "ExtensionSummaries":{ + "type":"list", + "member":{"shape":"ExtensionSummary"} + }, + "ExtensionSummary":{ + "type":"structure", + "members":{ + "Id":{ + "shape":"Id", + "documentation":"

The system-generated ID of the extension.

" + }, + "Name":{ + "shape":"Name", + "documentation":"

The extension name.

" + }, + "VersionNumber":{ + "shape":"Integer", + "documentation":"

The extension version number.

" + }, + "Arn":{ + "shape":"Arn", + "documentation":"

The system-generated Amazon Resource Name (ARN) for the extension.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

Information about the extension.

" + } + }, + "documentation":"

Information about an extension. Call GetExtension to get more information about an extension.

" + }, + "Extensions":{ + "type":"structure", + "members":{ + "Items":{ + "shape":"ExtensionSummaries", + "documentation":"

The list of available extensions. The list includes Amazon Web Services-authored and user-created extensions.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

The token for the next set of items to return. Use this token to get the next set of results.

" + } + } + }, "Float":{"type":"float"}, "GetApplicationRequest":{ "type":"structure", @@ -1458,6 +1973,37 @@ } } }, + "GetExtensionAssociationRequest":{ + "type":"structure", + "required":["ExtensionAssociationId"], + "members":{ + "ExtensionAssociationId":{ + "shape":"Id", + "documentation":"

The extension association ID to get.

", + "location":"uri", + "locationName":"ExtensionAssociationId" + } + } + }, + "GetExtensionRequest":{ + "type":"structure", + "required":["ExtensionIdentifier"], + "members":{ + "ExtensionIdentifier":{ + "shape":"Identifier", + "documentation":"

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

", + "location":"uri", + "locationName":"ExtensionIdentifier" + }, + "VersionNumber":{ + "shape":"Integer", + "documentation":"

The extension version number. If no version number was defined, AppConfig uses the highest version.

", + "box":true, + "location":"querystring", + "locationName":"version_number" + } + } + }, "GetHostedConfigurationVersionRequest":{ "type":"structure", "required":[ @@ -1585,6 +2131,11 @@ "type":"string", "pattern":"[a-z0-9]{4,7}" }, + "Identifier":{ + "type":"string", + "max":2048, + "min":1 + }, "Integer":{"type":"integer"}, "InternalServerException":{ "type":"structure", @@ -1614,6 +2165,10 @@ "Type":{ "shape":"String", "documentation":"

The type of error for an invalid configuration.

" + }, + "Value":{ + "shape":"String", + "documentation":"

Details about an error with Lambda when a synchronous extension experiences an error during an invocation.

" } }, "documentation":"

Detailed information about the bad request exception error when creating a hosted configuration version.

" @@ -1752,6 +2307,67 @@ } } }, + "ListExtensionAssociationsRequest":{ + "type":"structure", + "members":{ + "ResourceIdentifier":{ + "shape":"Arn", + "documentation":"

The ARN of an application, configuration profile, or environment.

", + "location":"querystring", + "locationName":"resource_identifier" + }, + "ExtensionIdentifier":{ + "shape":"Identifier", + "documentation":"

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

", + "location":"querystring", + "locationName":"extension_identifier" + }, + "ExtensionVersionNumber":{ + "shape":"Integer", + "documentation":"

The version number for the extension defined in the association.

", + "box":true, + "location":"querystring", + "locationName":"extension_version_number" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

", + "box":true, + "location":"querystring", + "locationName":"max_results" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

A token to start the list. Use this token to get the next set of results or pass null to get the first set of results.

", + "location":"querystring", + "locationName":"next_token" + } + } + }, + "ListExtensionsRequest":{ + "type":"structure", + "members":{ + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

", + "box":true, + "location":"querystring", + "locationName":"max_results" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

A token to start the list. Use this token to get the next set of results.

", + "location":"querystring", + "locationName":"next_token" + }, + "Name":{ + "shape":"QueryName", + "documentation":"

The extension name.

", + "location":"querystring", + "locationName":"name" + } + } + }, "ListHostedConfigurationVersionsRequest":{ "type":"structure", "required":[ @@ -1798,6 +2414,11 @@ } } }, + "LongName":{ + "type":"string", + "max":128, + "min":1 + }, "MaxResults":{ "type":"integer", "max":50, @@ -1839,6 +2460,34 @@ "max":2048, "min":1 }, + "Parameter":{ + "type":"structure", + "members":{ + "Description":{ + "shape":"Description", + "documentation":"

Information about the parameter.

" + }, + "Required":{ + "shape":"Boolean", + "documentation":"

A parameter value must be specified in the extension association.

" + } + }, + "documentation":"

A value such as an Amazon Resource Name (ARN) or an Amazon Simple Notification Service topic entered in an extension when invoked. Parameter values are specified in an extension association. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.

" + }, + "ParameterMap":{ + "type":"map", + "key":{"shape":"Name"}, + "value":{"shape":"Parameter"}, + "max":5, + "min":1 + }, + "ParameterValueMap":{ + "type":"map", + "key":{"shape":"Name"}, + "value":{"shape":"StringWithLengthBetween1And2048"}, + "max":5, + "min":0 + }, "PayloadTooLargeException":{ "type":"structure", "members":{ @@ -1856,6 +2505,11 @@ "max":100.0, "min":1.0 }, + "QueryName":{ + "type":"string", + "max":64, + "min":1 + }, "ReplicateTo":{ "type":"string", "enum":[ @@ -2188,6 +2842,51 @@ } } }, + "UpdateExtensionAssociationRequest":{ + "type":"structure", + "required":["ExtensionAssociationId"], + "members":{ + "ExtensionAssociationId":{ + "shape":"Id", + "documentation":"

The system-generated ID for the association.

", + "location":"uri", + "locationName":"ExtensionAssociationId" + }, + "Parameters":{ + "shape":"ParameterValueMap", + "documentation":"

The parameter names and values defined in the extension.

" + } + } + }, + "UpdateExtensionRequest":{ + "type":"structure", + "required":["ExtensionIdentifier"], + "members":{ + "ExtensionIdentifier":{ + "shape":"Identifier", + "documentation":"

The name, the ID, or the Amazon Resource Name (ARN) of the extension.

", + "location":"uri", + "locationName":"ExtensionIdentifier" + }, + "Description":{ + "shape":"Description", + "documentation":"

Information about the extension.

" + }, + "Actions":{ + "shape":"ActionsMap", + "documentation":"

The actions defined in the extension.

" + }, + "Parameters":{ + "shape":"ParameterMap", + "documentation":"

One or more parameters for the actions called by the extension.

" + }, + "VersionNumber":{ + "shape":"Integer", + "documentation":"

The extension version number.

", + "box":true + } + } + }, "Uri":{ "type":"string", "max":2048,