Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data CreateExtensionAssociation = CreateExtensionAssociation' {}
- newCreateExtensionAssociation :: Text -> Text -> CreateExtensionAssociation
- createExtensionAssociation_extensionVersionNumber :: Lens' CreateExtensionAssociation (Maybe Int)
- createExtensionAssociation_parameters :: Lens' CreateExtensionAssociation (Maybe (HashMap Text Text))
- createExtensionAssociation_tags :: Lens' CreateExtensionAssociation (Maybe (HashMap Text Text))
- createExtensionAssociation_extensionIdentifier :: Lens' CreateExtensionAssociation Text
- createExtensionAssociation_resourceIdentifier :: Lens' CreateExtensionAssociation Text
- data ExtensionAssociation = ExtensionAssociation' {
- arn :: Maybe Text
- extensionArn :: Maybe Text
- extensionVersionNumber :: Maybe Int
- id :: Maybe Text
- parameters :: Maybe (HashMap Text Text)
- resourceArn :: Maybe Text
- newExtensionAssociation :: ExtensionAssociation
- extensionAssociation_arn :: Lens' ExtensionAssociation (Maybe Text)
- extensionAssociation_extensionArn :: Lens' ExtensionAssociation (Maybe Text)
- extensionAssociation_extensionVersionNumber :: Lens' ExtensionAssociation (Maybe Int)
- extensionAssociation_id :: Lens' ExtensionAssociation (Maybe Text)
- extensionAssociation_parameters :: Lens' ExtensionAssociation (Maybe (HashMap Text Text))
- extensionAssociation_resourceArn :: Lens' ExtensionAssociation (Maybe Text)
Creating a Request
data CreateExtensionAssociation Source #
See: newCreateExtensionAssociation
smart constructor.
CreateExtensionAssociation' | |
|
Instances
newCreateExtensionAssociation Source #
:: Text | |
-> Text | |
-> CreateExtensionAssociation |
Create a value of CreateExtensionAssociation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateExtensionAssociation
, createExtensionAssociation_extensionVersionNumber
- The version number of the extension. If not specified, AppConfig uses
the maximum version of the extension.
CreateExtensionAssociation
, createExtensionAssociation_parameters
- The parameter names and values defined in the extensions. Extension
parameters marked Required
must be entered for this field.
$sel:tags:CreateExtensionAssociation'
, createExtensionAssociation_tags
- 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.
CreateExtensionAssociation
, createExtensionAssociation_extensionIdentifier
- The name, the ID, or the Amazon Resource Name (ARN) of the extension.
$sel:resourceIdentifier:CreateExtensionAssociation'
, createExtensionAssociation_resourceIdentifier
- The ARN of an application, configuration profile, or environment.
Request Lenses
createExtensionAssociation_extensionVersionNumber :: Lens' CreateExtensionAssociation (Maybe Int) Source #
The version number of the extension. If not specified, AppConfig uses the maximum version of the extension.
createExtensionAssociation_parameters :: Lens' CreateExtensionAssociation (Maybe (HashMap Text Text)) Source #
The parameter names and values defined in the extensions. Extension
parameters marked Required
must be entered for this field.
createExtensionAssociation_tags :: Lens' CreateExtensionAssociation (Maybe (HashMap Text Text)) Source #
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.
createExtensionAssociation_extensionIdentifier :: Lens' CreateExtensionAssociation Text Source #
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
createExtensionAssociation_resourceIdentifier :: Lens' CreateExtensionAssociation Text Source #
The ARN of an application, configuration profile, or environment.
Destructuring the Response
data ExtensionAssociation Source #
See: newExtensionAssociation
smart constructor.
ExtensionAssociation' | |
|
Instances
newExtensionAssociation :: ExtensionAssociation Source #
Create a value of ExtensionAssociation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:ExtensionAssociation'
, extensionAssociation_arn
- The system-generated Amazon Resource Name (ARN) for the extension.
$sel:extensionArn:ExtensionAssociation'
, extensionAssociation_extensionArn
- The ARN of the extension defined in the association.
$sel:extensionVersionNumber:ExtensionAssociation'
, extensionAssociation_extensionVersionNumber
- The version number for the extension defined in the association.
$sel:id:ExtensionAssociation'
, extensionAssociation_id
- The system-generated ID for the association.
$sel:parameters:ExtensionAssociation'
, extensionAssociation_parameters
- The parameter names and values defined in the association.
$sel:resourceArn:ExtensionAssociation'
, extensionAssociation_resourceArn
- The ARNs of applications, configuration profiles, or environments
defined in the association.
Response Lenses
extensionAssociation_arn :: Lens' ExtensionAssociation (Maybe Text) Source #
The system-generated Amazon Resource Name (ARN) for the extension.
extensionAssociation_extensionArn :: Lens' ExtensionAssociation (Maybe Text) Source #
The ARN of the extension defined in the association.
extensionAssociation_extensionVersionNumber :: Lens' ExtensionAssociation (Maybe Int) Source #
The version number for the extension defined in the association.
extensionAssociation_id :: Lens' ExtensionAssociation (Maybe Text) Source #
The system-generated ID for the association.
extensionAssociation_parameters :: Lens' ExtensionAssociation (Maybe (HashMap Text Text)) Source #
The parameter names and values defined in the association.
extensionAssociation_resourceArn :: Lens' ExtensionAssociation (Maybe Text) Source #
The ARNs of applications, configuration profiles, or environments defined in the association.