Documentation ¶
Overview ¶
Package appconfig provides the API client, operations, and parameter types for Amazon AppConfig.
AppConfig feature flags and dynamic configurations help software builders quickly and securely adjust application behavior in production environments without full code deployments. AppConfig speeds up software release frequency, improves application resiliency, and helps you address emergent issues more quickly. With feature flags, you can gradually release new capabilities to users and measure the impact of those changes before fully deploying the new capabilities to all users. With operational flags and dynamic configurations, you can update block lists, allow lists, throttling limits, logging verbosity, and perform other operational tuning to quickly respond to issues in production environments.
AppConfig is a capability of Amazon Web Services Systems Manager.
Despite the fact that application configuration content can vary greatly from application to application, AppConfig supports the following use cases, which cover a broad spectrum of customer needs:
Feature flags and toggles - Safely release new capabilities to your customers in a controlled environment. Instantly roll back changes if you experience a problem.
Application tuning - Carefully introduce application changes while testing the impact of those changes with users in production environments.
Allow list or block list - Control access to premium features or instantly block specific users without deploying new code.
Centralized configuration storage - Keep your configuration data organized and consistent across all of your workloads. You can use AppConfig to deploy configuration data stored in the AppConfig hosted configuration store, Secrets Manager, Systems Manager, Parameter Store, or Amazon S3.
How AppConfig works ¶
This section provides a high-level description of how AppConfig works and how you get started.
1. Identify configuration values in code you want to manage in the cloud Before you start creating AppConfig artifacts, we recommend you identify configuration data in your code that you want to dynamically manage using AppConfig. Good examples include feature flags or toggles, allow and block lists, logging verbosity, service limits, and throttling rules, to name a few.
If your configuration data already exists in the cloud, you can take advantage of AppConfig validation, deployment, and extension features to further streamline configuration data management.
2. Create an application namespace To create a namespace, you create an AppConfig artifact called an application. An application is simply an organizational construct like a folder.
3. Create environments For each AppConfig application, you define one or more environments. An environment is a logical grouping of targets, such as applications in a Beta or Production environment, Lambda functions, or containers. You can also define environments for application subcomponents, such as the Web , Mobile , and Back-end .
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.
4. Create a configuration profile A configuration profile includes, among other things, a URI that enables AppConfig to locate your configuration data in its stored location and a profile type. AppConfig supports two configuration profile types: feature flags and freeform configurations. Feature flag configuration profiles store their data in the AppConfig hosted configuration store and the URI is simply hosted . For freeform configuration profiles, you can store your data in the AppConfig hosted configuration store or any Amazon Web Services service that integrates with AppConfig, as described in Creating a free form configuration profilein the the AppConfig User Guide.
A configuration profile can also include optional validators to ensure your configuration data is syntactically and semantically correct. AppConfig performs a check using the validators when you start a deployment. If any errors are detected, the deployment rolls back to the previous configuration data.
5. Deploy configuration data When you create a new deployment, you specify the following:
An application ID
A configuration profile ID
A configuration version
An environment ID where you want to deploy the configuration data
A deployment strategy ID that defines how fast you want the changes to take effect
When you call the StartDeployment API action, AppConfig performs the following tasks:
Retrieves the configuration data from the underlying data store by using the location URI in the configuration profile.
Verifies the configuration data is syntactically and semantically correct by using the validators you specified when you created your configuration profile.
Caches a copy of the data so it is ready to be retrieved by your application. This cached copy is called the deployed data.
6. Retrieve the configuration You can configure AppConfig Agent as a local host and have the agent poll AppConfig for configuration updates. The agent calls the StartConfigurationSessionand GetLatestConfiguration API actions and caches your configuration data locally. To retrieve the data, your application makes an HTTP call to the localhost server. AppConfig Agent supports several use cases, as described in Simplified retrieval methodsin the the AppConfig User Guide.
If AppConfig Agent isn't supported for your use case, you can configure your application to poll AppConfig for configuration updates by directly calling the StartConfigurationSession and GetLatestConfigurationAPI actions.
This reference is intended to be used with the AppConfig User Guide.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
- func (c *Client) CreateConfigurationProfile(ctx context.Context, params *CreateConfigurationProfileInput, ...) (*CreateConfigurationProfileOutput, error)
- func (c *Client) CreateDeploymentStrategy(ctx context.Context, params *CreateDeploymentStrategyInput, ...) (*CreateDeploymentStrategyOutput, error)
- func (c *Client) CreateEnvironment(ctx context.Context, params *CreateEnvironmentInput, optFns ...func(*Options)) (*CreateEnvironmentOutput, error)
- func (c *Client) CreateExtension(ctx context.Context, params *CreateExtensionInput, optFns ...func(*Options)) (*CreateExtensionOutput, error)
- func (c *Client) CreateExtensionAssociation(ctx context.Context, params *CreateExtensionAssociationInput, ...) (*CreateExtensionAssociationOutput, error)
- func (c *Client) CreateHostedConfigurationVersion(ctx context.Context, params *CreateHostedConfigurationVersionInput, ...) (*CreateHostedConfigurationVersionOutput, error)
- func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
- func (c *Client) DeleteConfigurationProfile(ctx context.Context, params *DeleteConfigurationProfileInput, ...) (*DeleteConfigurationProfileOutput, error)
- func (c *Client) DeleteDeploymentStrategy(ctx context.Context, params *DeleteDeploymentStrategyInput, ...) (*DeleteDeploymentStrategyOutput, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, params *DeleteEnvironmentInput, optFns ...func(*Options)) (*DeleteEnvironmentOutput, error)
- func (c *Client) DeleteExtension(ctx context.Context, params *DeleteExtensionInput, optFns ...func(*Options)) (*DeleteExtensionOutput, error)
- func (c *Client) DeleteExtensionAssociation(ctx context.Context, params *DeleteExtensionAssociationInput, ...) (*DeleteExtensionAssociationOutput, error)
- func (c *Client) DeleteHostedConfigurationVersion(ctx context.Context, params *DeleteHostedConfigurationVersionInput, ...) (*DeleteHostedConfigurationVersionOutput, error)
- func (c *Client) GetApplication(ctx context.Context, params *GetApplicationInput, optFns ...func(*Options)) (*GetApplicationOutput, error)
- func (c *Client) GetConfiguration(ctx context.Context, params *GetConfigurationInput, optFns ...func(*Options)) (*GetConfigurationOutput, error)deprecated
- func (c *Client) GetConfigurationProfile(ctx context.Context, params *GetConfigurationProfileInput, ...) (*GetConfigurationProfileOutput, error)
- func (c *Client) GetDeployment(ctx context.Context, params *GetDeploymentInput, optFns ...func(*Options)) (*GetDeploymentOutput, error)
- func (c *Client) GetDeploymentStrategy(ctx context.Context, params *GetDeploymentStrategyInput, ...) (*GetDeploymentStrategyOutput, error)
- func (c *Client) GetEnvironment(ctx context.Context, params *GetEnvironmentInput, optFns ...func(*Options)) (*GetEnvironmentOutput, error)
- func (c *Client) GetExtension(ctx context.Context, params *GetExtensionInput, optFns ...func(*Options)) (*GetExtensionOutput, error)
- func (c *Client) GetExtensionAssociation(ctx context.Context, params *GetExtensionAssociationInput, ...) (*GetExtensionAssociationOutput, error)
- func (c *Client) GetHostedConfigurationVersion(ctx context.Context, params *GetHostedConfigurationVersionInput, ...) (*GetHostedConfigurationVersionOutput, error)
- func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
- func (c *Client) ListConfigurationProfiles(ctx context.Context, params *ListConfigurationProfilesInput, ...) (*ListConfigurationProfilesOutput, error)
- func (c *Client) ListDeploymentStrategies(ctx context.Context, params *ListDeploymentStrategiesInput, ...) (*ListDeploymentStrategiesOutput, error)
- func (c *Client) ListDeployments(ctx context.Context, params *ListDeploymentsInput, optFns ...func(*Options)) (*ListDeploymentsOutput, error)
- func (c *Client) ListEnvironments(ctx context.Context, params *ListEnvironmentsInput, optFns ...func(*Options)) (*ListEnvironmentsOutput, error)
- func (c *Client) ListExtensionAssociations(ctx context.Context, params *ListExtensionAssociationsInput, ...) (*ListExtensionAssociationsOutput, error)
- func (c *Client) ListExtensions(ctx context.Context, params *ListExtensionsInput, optFns ...func(*Options)) (*ListExtensionsOutput, error)
- func (c *Client) ListHostedConfigurationVersions(ctx context.Context, params *ListHostedConfigurationVersionsInput, ...) (*ListHostedConfigurationVersionsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) Options() Options
- func (c *Client) StartDeployment(ctx context.Context, params *StartDeploymentInput, optFns ...func(*Options)) (*StartDeploymentOutput, error)
- func (c *Client) StopDeployment(ctx context.Context, params *StopDeploymentInput, optFns ...func(*Options)) (*StopDeploymentOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
- func (c *Client) UpdateConfigurationProfile(ctx context.Context, params *UpdateConfigurationProfileInput, ...) (*UpdateConfigurationProfileOutput, error)
- func (c *Client) UpdateDeploymentStrategy(ctx context.Context, params *UpdateDeploymentStrategyInput, ...) (*UpdateDeploymentStrategyOutput, error)
- func (c *Client) UpdateEnvironment(ctx context.Context, params *UpdateEnvironmentInput, optFns ...func(*Options)) (*UpdateEnvironmentOutput, error)
- func (c *Client) UpdateExtension(ctx context.Context, params *UpdateExtensionInput, optFns ...func(*Options)) (*UpdateExtensionOutput, error)
- func (c *Client) UpdateExtensionAssociation(ctx context.Context, params *UpdateExtensionAssociationInput, ...) (*UpdateExtensionAssociationOutput, error)
- func (c *Client) ValidateConfiguration(ctx context.Context, params *ValidateConfigurationInput, ...) (*ValidateConfigurationOutput, error)
- type CreateApplicationInput
- type CreateApplicationOutput
- type CreateConfigurationProfileInput
- type CreateConfigurationProfileOutput
- type CreateDeploymentStrategyInput
- type CreateDeploymentStrategyOutput
- type CreateEnvironmentInput
- type CreateEnvironmentOutput
- type CreateExtensionAssociationInput
- type CreateExtensionAssociationOutput
- type CreateExtensionInput
- type CreateExtensionOutput
- type CreateHostedConfigurationVersionInput
- type CreateHostedConfigurationVersionOutput
- type DeleteApplicationInput
- type DeleteApplicationOutput
- type DeleteConfigurationProfileInput
- type DeleteConfigurationProfileOutput
- type DeleteDeploymentStrategyInput
- type DeleteDeploymentStrategyOutput
- type DeleteEnvironmentInput
- type DeleteEnvironmentOutput
- type DeleteExtensionAssociationInput
- type DeleteExtensionAssociationOutput
- type DeleteExtensionInput
- type DeleteExtensionOutput
- type DeleteHostedConfigurationVersionInput
- type DeleteHostedConfigurationVersionOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetApplicationInput
- type GetApplicationOutput
- type GetConfigurationInput
- type GetConfigurationOutput
- type GetConfigurationProfileInput
- type GetConfigurationProfileOutput
- type GetDeploymentInput
- type GetDeploymentOutput
- type GetDeploymentStrategyInput
- type GetDeploymentStrategyOutput
- type GetEnvironmentInput
- type GetEnvironmentOutput
- type GetExtensionAssociationInput
- type GetExtensionAssociationOutput
- type GetExtensionInput
- type GetExtensionOutput
- type GetHostedConfigurationVersionInput
- type GetHostedConfigurationVersionOutput
- type HTTPClient
- type HTTPSignerV4
- type ListApplicationsAPIClient
- type ListApplicationsInput
- type ListApplicationsOutput
- type ListApplicationsPaginator
- type ListApplicationsPaginatorOptions
- type ListConfigurationProfilesAPIClient
- type ListConfigurationProfilesInput
- type ListConfigurationProfilesOutput
- type ListConfigurationProfilesPaginator
- type ListConfigurationProfilesPaginatorOptions
- type ListDeploymentStrategiesAPIClient
- type ListDeploymentStrategiesInput
- type ListDeploymentStrategiesOutput
- type ListDeploymentStrategiesPaginator
- type ListDeploymentStrategiesPaginatorOptions
- type ListDeploymentsAPIClient
- type ListDeploymentsInput
- type ListDeploymentsOutput
- type ListDeploymentsPaginator
- type ListDeploymentsPaginatorOptions
- type ListEnvironmentsAPIClient
- type ListEnvironmentsInput
- type ListEnvironmentsOutput
- type ListEnvironmentsPaginator
- type ListEnvironmentsPaginatorOptions
- type ListExtensionAssociationsAPIClient
- type ListExtensionAssociationsInput
- type ListExtensionAssociationsOutput
- type ListExtensionAssociationsPaginator
- type ListExtensionAssociationsPaginatorOptions
- type ListExtensionsAPIClient
- type ListExtensionsInput
- type ListExtensionsOutput
- type ListExtensionsPaginator
- type ListExtensionsPaginatorOptions
- type ListHostedConfigurationVersionsAPIClient
- type ListHostedConfigurationVersionsInput
- type ListHostedConfigurationVersionsOutput
- type ListHostedConfigurationVersionsPaginator
- type ListHostedConfigurationVersionsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- type ResolveEndpoint
- type StartDeploymentInput
- type StartDeploymentOutput
- type StopDeploymentInput
- type StopDeploymentOutput
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateApplicationInput
- type UpdateApplicationOutput
- type UpdateConfigurationProfileInput
- type UpdateConfigurationProfileOutput
- type UpdateDeploymentStrategyInput
- type UpdateDeploymentStrategyOutput
- type UpdateEnvironmentInput
- type UpdateEnvironmentOutput
- type UpdateExtensionAssociationInput
- type UpdateExtensionAssociationOutput
- type UpdateExtensionInput
- type UpdateExtensionOutput
- type ValidateConfigurationInput
- type ValidateConfigurationOutput
Constants ¶
const ServiceAPIVersion = "2019-10-09"
const ServiceID = "AppConfig"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon AppConfig.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) CreateApplication ¶
func (c *Client) CreateApplication(ctx context.Context, params *CreateApplicationInput, optFns ...func(*Options)) (*CreateApplicationOutput, error)
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.
func (*Client) CreateConfigurationProfile ¶
func (c *Client) CreateConfigurationProfile(ctx context.Context, params *CreateConfigurationProfileInput, optFns ...func(*Options)) (*CreateConfigurationProfileOutput, error)
Creates a configuration profile, which is information that enables AppConfig to access the configuration source. Valid configuration sources include the following:
Configuration data in YAML, JSON, and other formats stored in the AppConfig hosted configuration store
Configuration data stored as objects in an Amazon Simple Storage Service (Amazon S3) bucket
Pipelines stored in CodePipeline
Secrets stored in Secrets Manager
Standard and secure string parameters stored in Amazon Web Services Systems Manager Parameter Store
Configuration data in SSM documents stored in the Systems Manager document store
A configuration profile includes the following information:
The URI location of the configuration data.
The Identity and Access Management (IAM) role that provides access to the configuration data.
A validator for the configuration data. Available validators include either a JSON Schema or an Amazon Web Services Lambda function.
For more information, see Create a Configuration and a Configuration Profile in the AppConfig User Guide.
func (*Client) CreateDeploymentStrategy ¶
func (c *Client) CreateDeploymentStrategy(ctx context.Context, params *CreateDeploymentStrategyInput, optFns ...func(*Options)) (*CreateDeploymentStrategyOutput, error)
Creates a deployment strategy that defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(ctx context.Context, params *CreateEnvironmentInput, optFns ...func(*Options)) (*CreateEnvironmentOutput, error)
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.
func (*Client) CreateExtension ¶
func (c *Client) CreateExtension(ctx context.Context, params *CreateExtensionInput, optFns ...func(*Options)) (*CreateExtensionOutput, error)
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 an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version.
For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field.
For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field.
For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field.
For more information about extensions, see Extending workflows in the AppConfig User Guide.
func (*Client) CreateExtensionAssociation ¶
func (c *Client) CreateExtensionAssociation(ctx context.Context, params *CreateExtensionAssociationInput, optFns ...func(*Options)) (*CreateExtensionAssociationOutput, error)
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 Extending workflowsin the AppConfig User Guide.
func (*Client) CreateHostedConfigurationVersion ¶
func (c *Client) CreateHostedConfigurationVersion(ctx context.Context, params *CreateHostedConfigurationVersionInput, optFns ...func(*Options)) (*CreateHostedConfigurationVersionOutput, error)
Creates a new configuration in the AppConfig hosted configuration store.
func (*Client) DeleteApplication ¶
func (c *Client) DeleteApplication(ctx context.Context, params *DeleteApplicationInput, optFns ...func(*Options)) (*DeleteApplicationOutput, error)
Deletes an application. Deleting an application does not delete a configuration from a host.
func (*Client) DeleteConfigurationProfile ¶
func (c *Client) DeleteConfigurationProfile(ctx context.Context, params *DeleteConfigurationProfileInput, optFns ...func(*Options)) (*DeleteConfigurationProfileOutput, error)
Deletes a configuration profile. Deleting a configuration profile does not delete a configuration from a host.
func (*Client) DeleteDeploymentStrategy ¶
func (c *Client) DeleteDeploymentStrategy(ctx context.Context, params *DeleteDeploymentStrategyInput, optFns ...func(*Options)) (*DeleteDeploymentStrategyOutput, error)
Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
func (*Client) DeleteEnvironment ¶
func (c *Client) DeleteEnvironment(ctx context.Context, params *DeleteEnvironmentInput, optFns ...func(*Options)) (*DeleteEnvironmentOutput, error)
Deletes an environment. Deleting an environment does not delete a configuration from a host.
func (*Client) DeleteExtension ¶
func (c *Client) DeleteExtension(ctx context.Context, params *DeleteExtensionInput, optFns ...func(*Options)) (*DeleteExtensionOutput, error)
Deletes an AppConfig extension. You must delete all associations to an extension before you delete the extension.
func (*Client) DeleteExtensionAssociation ¶
func (c *Client) DeleteExtensionAssociation(ctx context.Context, params *DeleteExtensionAssociationInput, optFns ...func(*Options)) (*DeleteExtensionAssociationOutput, error)
Deletes an extension association. This action doesn't delete extensions defined in the association.
func (*Client) DeleteHostedConfigurationVersion ¶
func (c *Client) DeleteHostedConfigurationVersion(ctx context.Context, params *DeleteHostedConfigurationVersionInput, optFns ...func(*Options)) (*DeleteHostedConfigurationVersionOutput, error)
Deletes a version of a configuration from the AppConfig hosted configuration store.
func (*Client) GetApplication ¶
func (c *Client) GetApplication(ctx context.Context, params *GetApplicationInput, optFns ...func(*Options)) (*GetApplicationOutput, error)
Retrieves information about an application.
func (*Client) GetConfiguration
deprecated
func (c *Client) GetConfiguration(ctx context.Context, params *GetConfigurationInput, optFns ...func(*Options)) (*GetConfigurationOutput, error)
(Deprecated) Retrieves the latest deployed configuration.
Note the following important information.
This API action is deprecated. Calls to receive configuration data should use the StartConfigurationSessionand GetLatestConfigurationAPIs instead.
GetConfiguration is a priced call. For more information, see Pricing.
Deprecated: This API has been deprecated in favor of the GetLatestConfiguration API used in conjunction with StartConfigurationSession.
func (*Client) GetConfigurationProfile ¶
func (c *Client) GetConfigurationProfile(ctx context.Context, params *GetConfigurationProfileInput, optFns ...func(*Options)) (*GetConfigurationProfileOutput, error)
Retrieves information about a configuration profile.
func (*Client) GetDeployment ¶
func (c *Client) GetDeployment(ctx context.Context, params *GetDeploymentInput, optFns ...func(*Options)) (*GetDeploymentOutput, error)
Retrieves information about a configuration deployment.
func (*Client) GetDeploymentStrategy ¶
func (c *Client) GetDeploymentStrategy(ctx context.Context, params *GetDeploymentStrategyInput, optFns ...func(*Options)) (*GetDeploymentStrategyOutput, error)
Retrieves information about a deployment strategy. A deployment strategy defines important criteria for rolling out your configuration to the designated targets. A deployment strategy includes the overall duration required, a percentage of targets to receive the deployment during each interval, an algorithm that defines how percentage grows, and bake time.
func (*Client) GetEnvironment ¶
func (c *Client) GetEnvironment(ctx context.Context, params *GetEnvironmentInput, optFns ...func(*Options)) (*GetEnvironmentOutput, error)
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.
func (*Client) GetExtension ¶
func (c *Client) GetExtension(ctx context.Context, params *GetExtensionInput, optFns ...func(*Options)) (*GetExtensionOutput, error)
Returns information about an AppConfig extension.
func (*Client) GetExtensionAssociation ¶
func (c *Client) GetExtensionAssociation(ctx context.Context, params *GetExtensionAssociationInput, optFns ...func(*Options)) (*GetExtensionAssociationOutput, error)
Returns information about an AppConfig extension association. For more information about extensions and associations, see Extending workflowsin the AppConfig User Guide.
func (*Client) GetHostedConfigurationVersion ¶
func (c *Client) GetHostedConfigurationVersion(ctx context.Context, params *GetHostedConfigurationVersionInput, optFns ...func(*Options)) (*GetHostedConfigurationVersionOutput, error)
Retrieves information about a specific configuration version.
func (*Client) ListApplications ¶
func (c *Client) ListApplications(ctx context.Context, params *ListApplicationsInput, optFns ...func(*Options)) (*ListApplicationsOutput, error)
Lists all applications in your Amazon Web Services account.
func (*Client) ListConfigurationProfiles ¶
func (c *Client) ListConfigurationProfiles(ctx context.Context, params *ListConfigurationProfilesInput, optFns ...func(*Options)) (*ListConfigurationProfilesOutput, error)
Lists the configuration profiles for an application.
func (*Client) ListDeploymentStrategies ¶
func (c *Client) ListDeploymentStrategies(ctx context.Context, params *ListDeploymentStrategiesInput, optFns ...func(*Options)) (*ListDeploymentStrategiesOutput, error)
Lists deployment strategies.
func (*Client) ListDeployments ¶
func (c *Client) ListDeployments(ctx context.Context, params *ListDeploymentsInput, optFns ...func(*Options)) (*ListDeploymentsOutput, error)
Lists the deployments for an environment in descending deployment number order.
func (*Client) ListEnvironments ¶
func (c *Client) ListEnvironments(ctx context.Context, params *ListEnvironmentsInput, optFns ...func(*Options)) (*ListEnvironmentsOutput, error)
Lists the environments for an application.
func (*Client) ListExtensionAssociations ¶
func (c *Client) ListExtensionAssociations(ctx context.Context, params *ListExtensionAssociationsInput, optFns ...func(*Options)) (*ListExtensionAssociationsOutput, error)
Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Extending workflowsin the AppConfig User Guide.
func (*Client) ListExtensions ¶
func (c *Client) ListExtensions(ctx context.Context, params *ListExtensionsInput, optFns ...func(*Options)) (*ListExtensionsOutput, error)
Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Extending workflowsin the AppConfig User Guide.
func (*Client) ListHostedConfigurationVersions ¶
func (c *Client) ListHostedConfigurationVersions(ctx context.Context, params *ListHostedConfigurationVersionsInput, optFns ...func(*Options)) (*ListHostedConfigurationVersionsOutput, error)
Lists configurations stored in the AppConfig hosted configuration store by version.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Retrieves the list of key-value tags assigned to the resource.
func (*Client) Options ¶
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) StartDeployment ¶
func (c *Client) StartDeployment(ctx context.Context, params *StartDeploymentInput, optFns ...func(*Options)) (*StartDeploymentOutput, error)
Starts a deployment.
func (*Client) StopDeployment ¶
func (c *Client) StopDeployment(ctx context.Context, params *StopDeploymentInput, optFns ...func(*Options)) (*StopDeploymentOutput, error)
Stops a deployment. This API action works only on deployments that have a status of DEPLOYING . This action moves the deployment to a status of ROLLED_BACK .
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Assigns metadata to an AppConfig resource. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Deletes a tag key and value from an AppConfig resource.
func (*Client) UpdateApplication ¶
func (c *Client) UpdateApplication(ctx context.Context, params *UpdateApplicationInput, optFns ...func(*Options)) (*UpdateApplicationOutput, error)
Updates an application.
func (*Client) UpdateConfigurationProfile ¶
func (c *Client) UpdateConfigurationProfile(ctx context.Context, params *UpdateConfigurationProfileInput, optFns ...func(*Options)) (*UpdateConfigurationProfileOutput, error)
Updates a configuration profile.
func (*Client) UpdateDeploymentStrategy ¶
func (c *Client) UpdateDeploymentStrategy(ctx context.Context, params *UpdateDeploymentStrategyInput, optFns ...func(*Options)) (*UpdateDeploymentStrategyOutput, error)
Updates a deployment strategy.
func (*Client) UpdateEnvironment ¶
func (c *Client) UpdateEnvironment(ctx context.Context, params *UpdateEnvironmentInput, optFns ...func(*Options)) (*UpdateEnvironmentOutput, error)
Updates an environment.
func (*Client) UpdateExtension ¶
func (c *Client) UpdateExtension(ctx context.Context, params *UpdateExtensionInput, optFns ...func(*Options)) (*UpdateExtensionOutput, error)
Updates an AppConfig extension. For more information about extensions, see Extending workflows in the AppConfig User Guide.
func (*Client) UpdateExtensionAssociation ¶
func (c *Client) UpdateExtensionAssociation(ctx context.Context, params *UpdateExtensionAssociationInput, optFns ...func(*Options)) (*UpdateExtensionAssociationOutput, error)
Updates an association. For more information about extensions and associations, see Extending workflowsin the AppConfig User Guide.
func (*Client) ValidateConfiguration ¶
func (c *Client) ValidateConfiguration(ctx context.Context, params *ValidateConfigurationInput, optFns ...func(*Options)) (*ValidateConfigurationOutput, error)
Uses the validators in a configuration profile to validate a configuration.
type CreateApplicationInput ¶
type CreateApplicationInput struct { // A name for the application. // // This member is required. Name *string // A description of the application. Description *string // Metadata to assign to the application. Tags help organize and categorize your // AppConfig resources. Each tag consists of a key and an optional value, both of // which you define. Tags map[string]string // contains filtered or unexported fields }
type CreateApplicationOutput ¶
type CreateApplicationOutput struct { // The description of the application. Description *string // The application ID. Id *string // The application name. Name *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateConfigurationProfileInput ¶
type CreateConfigurationProfileInput struct { // The application ID. // // This member is required. ApplicationId *string // A URI to locate the configuration. You can specify the following: // // - For the AppConfig hosted configuration store and for feature flags, specify // hosted . // // - For an Amazon Web Services Systems Manager Parameter Store parameter, // specify either the parameter name in the format ssm-parameter:// or the ARN. // // - For an Amazon Web Services CodePipeline pipeline, specify the URI in the // following format: codepipeline ://. // // - For an Secrets Manager secret, specify the URI in the following format: // secretsmanager ://. // // - For an Amazon S3 object, specify the URI in the following format: s3:/// . // Here is an example: s3://my-bucket/my-app/us-east-1/my-config.json // // - For an SSM document, specify either the document name in the format // ssm-document:// or the Amazon Resource Name (ARN). // // This member is required. LocationUri *string // A name for the configuration profile. // // This member is required. Name *string // A description of the configuration profile. Description *string // The identifier for an Key Management Service key to encrypt new configuration // data versions in the AppConfig hosted configuration store. This attribute is // only used for hosted configuration types. The identifier can be an KMS key ID, // alias, or the Amazon Resource Name (ARN) of the key ID or alias. To encrypt data // managed in other configuration stores, see the documentation for how to specify // an KMS key for that particular service. KmsKeyIdentifier *string // The ARN of an IAM role with permission to access the configuration at the // specified LocationUri . // // A retrieval role ARN is not required for configurations stored in the AppConfig // hosted configuration store. It is required for all other sources that store your // configuration. RetrievalRoleArn *string // Metadata to assign to the configuration profile. Tags help organize and // categorize your AppConfig resources. Each tag consists of a key and an optional // value, both of which you define. Tags map[string]string // The type of configurations contained in the profile. AppConfig supports feature // flags and freeform configurations. We recommend you create feature flag // configurations to enable or disable new features and freeform configurations to // distribute configurations to an application. When calling this API, enter one of // the following values for Type : // // AWS.AppConfig.FeatureFlags // // AWS.Freeform Type *string // A list of methods for validating the configuration. Validators []types.Validator // contains filtered or unexported fields }
type CreateConfigurationProfileOutput ¶
type CreateConfigurationProfileOutput struct { // The application ID. ApplicationId *string // The configuration profile description. Description *string // The configuration profile ID. Id *string // The Amazon Resource Name of the Key Management Service key to encrypt new // configuration data versions in the AppConfig hosted configuration store. This // attribute is only used for hosted configuration types. To encrypt data managed // in other configuration stores, see the documentation for how to specify an KMS // key for that particular service. KmsKeyArn *string // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. KmsKeyIdentifier *string // The URI location of the configuration. LocationUri *string // The name of the configuration profile. Name *string // The ARN of an IAM role with permission to access the configuration at the // specified LocationUri . RetrievalRoleArn *string // The type of configurations contained in the profile. AppConfig supports feature // flags and freeform configurations. We recommend you create feature flag // configurations to enable or disable new features and freeform configurations to // distribute configurations to an application. When calling this API, enter one of // the following values for Type : // // AWS.AppConfig.FeatureFlags // // AWS.Freeform Type *string // A list of methods for validating the configuration. Validators []types.Validator // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateDeploymentStrategyInput ¶
type CreateDeploymentStrategyInput struct { // Total amount of time for a deployment to last. // // This member is required. DeploymentDurationInMinutes *int32 // The percentage of targets to receive a deployed configuration during each // interval. // // This member is required. GrowthFactor *float32 // A name for the deployment strategy. // // This member is required. Name *string // A description of the deployment strategy. Description *string // 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. // // [Configuring permissions for rollback based on Amazon CloudWatch alarms]: https://docs.aws.amazon.com/appconfig/latest/userguide/getting-started-with-appconfig-cloudwatch-alarms-permissions.html FinalBakeTimeInMinutes int32 // The algorithm used to define how percentage grows over time. AppConfig supports // the following growth types: // // Linear: For this type, AppConfig processes the deployment by dividing the total // number of targets by the value specified for Step percentage . For example, a // linear deployment that uses a Step percentage of 10 deploys the configuration // to 10 percent of the hosts. After those deployments are complete, the system // deploys the configuration to the next 10 percent. This continues until 100% of // the targets have successfully received the configuration. // // Exponential: For this type, AppConfig processes the deployment exponentially // using the following formula: G*(2^N) . In this formula, G is the growth factor // specified by the user and N is the number of steps until the configuration is // deployed to all targets. For example, if you specify a growth factor of 2, then // the system rolls out the configuration as follows: // // 2*(2^0) // // 2*(2^1) // // 2*(2^2) // // Expressed numerically, the deployment rolls out as follows: 2% of the targets, // 4% of the targets, 8% of the targets, and continues until the configuration has // been deployed to all targets. GrowthType types.GrowthType // Save the deployment strategy to a Systems Manager (SSM) document. ReplicateTo types.ReplicateTo // Metadata to assign to the deployment strategy. Tags help organize and // categorize your AppConfig resources. Each tag consists of a key and an optional // value, both of which you define. Tags map[string]string // contains filtered or unexported fields }
type CreateDeploymentStrategyOutput ¶
type CreateDeploymentStrategyOutput struct { // Total amount of time the deployment lasted. DeploymentDurationInMinutes int32 // The description of the deployment strategy. Description *string // The amount of time that AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic rollback. FinalBakeTimeInMinutes int32 // The percentage of targets that received a deployed configuration during each // interval. GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType // The deployment strategy ID. Id *string // The name of the deployment strategy. Name *string // Save the deployment strategy to a Systems Manager (SSM) document. ReplicateTo types.ReplicateTo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateEnvironmentInput ¶
type CreateEnvironmentInput struct { // The application ID. // // This member is required. ApplicationId *string // A name for the environment. // // This member is required. Name *string // A description of the environment. Description *string // Amazon CloudWatch alarms to monitor during the deployment process. Monitors []types.Monitor // Metadata to assign to the environment. Tags help organize and categorize your // AppConfig resources. Each tag consists of a key and an optional value, both of // which you define. Tags map[string]string // contains filtered or unexported fields }
type CreateEnvironmentOutput ¶
type CreateEnvironmentOutput struct { // The application ID. ApplicationId *string // The description of the environment. Description *string // The environment ID. Id *string // Amazon CloudWatch alarms monitored during the deployment. Monitors []types.Monitor // The name of the environment. Name *string // The state of the environment. An environment can be in one of the following // states: READY_FOR_DEPLOYMENT , DEPLOYING , ROLLING_BACK , or ROLLED_BACK State types.EnvironmentState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateExtensionAssociationInput ¶
type CreateExtensionAssociationInput struct { // The name, the ID, or the Amazon Resource Name (ARN) of the extension. // // This member is required. ExtensionIdentifier *string // The ARN of an application, configuration profile, or environment. // // This member is required. ResourceIdentifier *string // The version number of the extension. If not specified, AppConfig uses the // maximum version of the extension. ExtensionVersionNumber *int32 // The parameter names and values defined in the extensions. Extension parameters // marked Required must be entered for this field. Parameters map[string]string // 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. Tags map[string]string // contains filtered or unexported fields }
type CreateExtensionAssociationOutput ¶
type CreateExtensionAssociationOutput struct { // The system-generated Amazon Resource Name (ARN) for the extension. Arn *string // The ARN of the extension defined in the association. ExtensionArn *string // The version number for the extension defined in the association. ExtensionVersionNumber int32 // The system-generated ID for the association. Id *string // The parameter names and values defined in the association. Parameters map[string]string // The ARNs of applications, configuration profiles, or environments defined in // the association. ResourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateExtensionInput ¶
type CreateExtensionInput struct { // The actions defined in the extension. // // This member is required. Actions map[string][]types.Action // A name for the extension. Each extension name in your account must be unique. // Extension versions use the same name. // // This member is required. Name *string // Information about the extension. Description *string // 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. LatestVersionNumber *int32 // 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. Parameters map[string]types.Parameter // 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. Tags map[string]string // contains filtered or unexported fields }
type CreateExtensionOutput ¶
type CreateExtensionOutput struct { // The actions defined in the extension. Actions map[string][]types.Action // The system-generated Amazon Resource Name (ARN) for the extension. Arn *string // Information about the extension. Description *string // The system-generated ID of the extension. Id *string // The extension name. Name *string // 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. Parameters map[string]types.Parameter // The extension version number. VersionNumber int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateHostedConfigurationVersionInput ¶
type CreateHostedConfigurationVersionInput struct { // The application ID. // // This member is required. ApplicationId *string // The configuration profile ID. // // This member is required. ConfigurationProfileId *string // The content of the configuration or the configuration data. // // This member is required. Content []byte // A standard MIME type describing the format of the configuration content. For // more information, see [Content-Type]. // // [Content-Type]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17 // // This member is required. ContentType *string // A description of the configuration. Description *string // An optional locking token used to prevent race conditions from overwriting // configuration updates when creating a new version. To ensure your data is not // overwritten when creating multiple hosted configuration versions in rapid // succession, specify the version number of the latest hosted configuration // version. LatestVersionNumber *int32 // An optional, user-defined label for the AppConfig hosted configuration version. // This value must contain at least one non-numeric character. For example, // "v2.2.0". VersionLabel *string // contains filtered or unexported fields }
type CreateHostedConfigurationVersionOutput ¶
type CreateHostedConfigurationVersionOutput struct { // The application ID. ApplicationId *string // The configuration profile ID. ConfigurationProfileId *string // The content of the configuration or the configuration data. Content []byte // A standard MIME type describing the format of the configuration content. For // more information, see [Content-Type]. // // [Content-Type]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17 ContentType *string // A description of the configuration. Description *string // The Amazon Resource Name of the Key Management Service key that was used to // encrypt this specific version of the configuration data in the AppConfig hosted // configuration store. KmsKeyArn *string // A user-defined label for an AppConfig hosted configuration version. VersionLabel *string // The configuration version. VersionNumber int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteApplicationInput ¶
type DeleteApplicationInput struct { // The ID of the application to delete. // // This member is required. ApplicationId *string // contains filtered or unexported fields }
type DeleteApplicationOutput ¶
type DeleteApplicationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteConfigurationProfileInput ¶
type DeleteConfigurationProfileInput struct { // The application ID that includes the configuration profile you want to delete. // // This member is required. ApplicationId *string // The ID of the configuration profile you want to delete. // // This member is required. ConfigurationProfileId *string // contains filtered or unexported fields }
type DeleteConfigurationProfileOutput ¶
type DeleteConfigurationProfileOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteDeploymentStrategyInput ¶
type DeleteDeploymentStrategyInput struct { // The ID of the deployment strategy you want to delete. // // This member is required. DeploymentStrategyId *string // contains filtered or unexported fields }
type DeleteDeploymentStrategyOutput ¶
type DeleteDeploymentStrategyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteEnvironmentInput ¶
type DeleteEnvironmentInput struct { // The application ID that includes the environment that you want to delete. // // This member is required. ApplicationId *string // The ID of the environment that you want to delete. // // This member is required. EnvironmentId *string // contains filtered or unexported fields }
type DeleteEnvironmentOutput ¶
type DeleteEnvironmentOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteExtensionAssociationInput ¶
type DeleteExtensionAssociationInput struct { // The ID of the extension association to delete. // // This member is required. ExtensionAssociationId *string // contains filtered or unexported fields }
type DeleteExtensionAssociationOutput ¶
type DeleteExtensionAssociationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteExtensionInput ¶
type DeleteExtensionInput struct { // The name, ID, or Amazon Resource Name (ARN) of the extension you want to delete. // // This member is required. ExtensionIdentifier *string // A specific version of an extension to delete. If omitted, the highest version // is deleted. VersionNumber *int32 // contains filtered or unexported fields }
type DeleteExtensionOutput ¶
type DeleteExtensionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteHostedConfigurationVersionInput ¶
type DeleteHostedConfigurationVersionInput struct { // The application ID. // // This member is required. ApplicationId *string // The configuration profile ID. // // This member is required. ConfigurationProfileId *string // The versions number to delete. // // This member is required. VersionNumber *int32 // contains filtered or unexported fields }
type DeleteHostedConfigurationVersionOutput ¶
type DeleteHostedConfigurationVersionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetApplicationInput ¶
type GetApplicationInput struct { // The ID of the application you want to get. // // This member is required. ApplicationId *string // contains filtered or unexported fields }
type GetApplicationOutput ¶
type GetApplicationOutput struct { // The description of the application. Description *string // The application ID. Id *string // The application name. Name *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetConfigurationInput ¶
type GetConfigurationInput struct { // The application to get. Specify either the application name or the application // ID. // // This member is required. Application *string // The clientId parameter in the following command is a unique, user-specified ID // to identify the client for the configuration. This ID enables AppConfig to // deploy the configuration in intervals, as defined in the deployment strategy. // // This member is required. ClientId *string // The configuration to get. Specify either the configuration name or the // configuration ID. // // This member is required. Configuration *string // The environment to get. Specify either the environment name or the environment // ID. // // This member is required. Environment *string // The configuration version returned in the most recent GetConfiguration response. // // AppConfig uses the value of the ClientConfigurationVersion parameter to // identify the configuration version on your clients. If you don’t send // ClientConfigurationVersion with each call to GetConfiguration , your clients // receive the current configuration. You are charged each time your clients // receive a configuration. // // To avoid excess charges, we recommend you use the [StartConfigurationSession] and [GetLatestConfiguration] APIs, which track the // client configuration version on your behalf. If you choose to continue using // GetConfiguration , we recommend that you include the ClientConfigurationVersion // value with every call to GetConfiguration . The value to use for // ClientConfigurationVersion comes from the ConfigurationVersion attribute // returned by GetConfiguration when there is new or updated data, and should be // saved for subsequent calls to GetConfiguration . // // For more information about working with configurations, see [Retrieving the Configuration] in the AppConfig // User Guide. // // [GetLatestConfiguration]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html // [StartConfigurationSession]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html // [Retrieving the Configuration]: http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-retrieving-the-configuration.html ClientConfigurationVersion *string // contains filtered or unexported fields }
type GetConfigurationOutput ¶
type GetConfigurationOutput struct { // The configuration version. ConfigurationVersion *string // The content of the configuration or the configuration data. // // The Content attribute only contains data if the system finds new or updated // configuration data. If there is no new or updated data and // ClientConfigurationVersion matches the version of the current configuration, // AppConfig returns a 204 No Content HTTP response code and the Content value // will be empty. Content []byte // A standard MIME type describing the format of the configuration content. For // more information, see [Content-Type]. // // [Content-Type]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17 ContentType *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetConfigurationProfileInput ¶
type GetConfigurationProfileInput struct { // The ID of the application that includes the configuration profile you want to // get. // // This member is required. ApplicationId *string // The ID of the configuration profile that you want to get. // // This member is required. ConfigurationProfileId *string // contains filtered or unexported fields }
type GetConfigurationProfileOutput ¶
type GetConfigurationProfileOutput struct { // The application ID. ApplicationId *string // The configuration profile description. Description *string // The configuration profile ID. Id *string // The Amazon Resource Name of the Key Management Service key to encrypt new // configuration data versions in the AppConfig hosted configuration store. This // attribute is only used for hosted configuration types. To encrypt data managed // in other configuration stores, see the documentation for how to specify an KMS // key for that particular service. KmsKeyArn *string // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. KmsKeyIdentifier *string // The URI location of the configuration. LocationUri *string // The name of the configuration profile. Name *string // The ARN of an IAM role with permission to access the configuration at the // specified LocationUri . RetrievalRoleArn *string // The type of configurations contained in the profile. AppConfig supports feature // flags and freeform configurations. We recommend you create feature flag // configurations to enable or disable new features and freeform configurations to // distribute configurations to an application. When calling this API, enter one of // the following values for Type : // // AWS.AppConfig.FeatureFlags // // AWS.Freeform Type *string // A list of methods for validating the configuration. Validators []types.Validator // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDeploymentInput ¶
type GetDeploymentInput struct { // The ID of the application that includes the deployment you want to get. // // This member is required. ApplicationId *string // The sequence number of the deployment. // // This member is required. DeploymentNumber *int32 // The ID of the environment that includes the deployment you want to get. // // This member is required. EnvironmentId *string // contains filtered or unexported fields }
type GetDeploymentOutput ¶
type GetDeploymentOutput struct { // The ID of the application that was deployed. ApplicationId *string // 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. AppliedExtensions []types.AppliedExtension // The time the deployment completed. CompletedAt *time.Time // Information about the source location of the configuration. ConfigurationLocationUri *string // The name of the configuration. ConfigurationName *string // The ID of the configuration profile that was deployed. ConfigurationProfileId *string // The configuration version that was deployed. ConfigurationVersion *string // Total amount of time the deployment lasted. DeploymentDurationInMinutes int32 // The sequence number of the deployment. DeploymentNumber int32 // The ID of the deployment strategy that was deployed. DeploymentStrategyId *string // The description of the deployment. Description *string // The ID of the environment that was deployed. EnvironmentId *string // A list containing all events related to a deployment. The most recent events // are displayed first. EventLog []types.DeploymentEvent // The amount of time that AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic rollback. FinalBakeTimeInMinutes int32 // The percentage of targets to receive a deployed configuration during each // interval. GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType // The Amazon Resource Name of the Key Management Service key used to encrypt // configuration data. You can encrypt secrets stored in Secrets Manager, Amazon // Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure // string parameters stored in Amazon Web Services Systems Manager Parameter Store. KmsKeyArn *string // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. KmsKeyIdentifier *string // The percentage of targets for which the deployment is available. PercentageComplete *float32 // The time the deployment started. StartedAt *time.Time // The state of the deployment. State types.DeploymentState // A user-defined label for an AppConfig hosted configuration version. VersionLabel *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetDeploymentStrategyInput ¶
type GetDeploymentStrategyInput struct { // The ID of the deployment strategy to get. // // This member is required. DeploymentStrategyId *string // contains filtered or unexported fields }
type GetDeploymentStrategyOutput ¶
type GetDeploymentStrategyOutput struct { // Total amount of time the deployment lasted. DeploymentDurationInMinutes int32 // The description of the deployment strategy. Description *string // The amount of time that AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic rollback. FinalBakeTimeInMinutes int32 // The percentage of targets that received a deployed configuration during each // interval. GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType // The deployment strategy ID. Id *string // The name of the deployment strategy. Name *string // Save the deployment strategy to a Systems Manager (SSM) document. ReplicateTo types.ReplicateTo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetEnvironmentInput ¶
type GetEnvironmentInput struct { // The ID of the application that includes the environment you want to get. // // This member is required. ApplicationId *string // The ID of the environment that you want to get. // // This member is required. EnvironmentId *string // contains filtered or unexported fields }
type GetEnvironmentOutput ¶
type GetEnvironmentOutput struct { // The application ID. ApplicationId *string // The description of the environment. Description *string // The environment ID. Id *string // Amazon CloudWatch alarms monitored during the deployment. Monitors []types.Monitor // The name of the environment. Name *string // The state of the environment. An environment can be in one of the following // states: READY_FOR_DEPLOYMENT , DEPLOYING , ROLLING_BACK , or ROLLED_BACK State types.EnvironmentState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetExtensionAssociationInput ¶
type GetExtensionAssociationInput struct { // The extension association ID to get. // // This member is required. ExtensionAssociationId *string // contains filtered or unexported fields }
type GetExtensionAssociationOutput ¶
type GetExtensionAssociationOutput struct { // The system-generated Amazon Resource Name (ARN) for the extension. Arn *string // The ARN of the extension defined in the association. ExtensionArn *string // The version number for the extension defined in the association. ExtensionVersionNumber int32 // The system-generated ID for the association. Id *string // The parameter names and values defined in the association. Parameters map[string]string // The ARNs of applications, configuration profiles, or environments defined in // the association. ResourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetExtensionInput ¶
type GetExtensionInput struct { // The name, the ID, or the Amazon Resource Name (ARN) of the extension. // // This member is required. ExtensionIdentifier *string // The extension version number. If no version number was defined, AppConfig uses // the highest version. VersionNumber *int32 // contains filtered or unexported fields }
type GetExtensionOutput ¶
type GetExtensionOutput struct { // The actions defined in the extension. Actions map[string][]types.Action // The system-generated Amazon Resource Name (ARN) for the extension. Arn *string // Information about the extension. Description *string // The system-generated ID of the extension. Id *string // The extension name. Name *string // 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. Parameters map[string]types.Parameter // The extension version number. VersionNumber int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetHostedConfigurationVersionInput ¶
type GetHostedConfigurationVersionInput struct { // The application ID. // // This member is required. ApplicationId *string // The configuration profile ID. // // This member is required. ConfigurationProfileId *string // The version. // // This member is required. VersionNumber *int32 // contains filtered or unexported fields }
type GetHostedConfigurationVersionOutput ¶
type GetHostedConfigurationVersionOutput struct { // The application ID. ApplicationId *string // The configuration profile ID. ConfigurationProfileId *string // The content of the configuration or the configuration data. Content []byte // A standard MIME type describing the format of the configuration content. For // more information, see [Content-Type]. // // [Content-Type]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17 ContentType *string // A description of the configuration. Description *string // The Amazon Resource Name of the Key Management Service key that was used to // encrypt this specific version of the configuration data in the AppConfig hosted // configuration store. KmsKeyArn *string // A user-defined label for an AppConfig hosted configuration version. VersionLabel *string // The configuration version. VersionNumber int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type ListApplicationsAPIClient ¶
type ListApplicationsAPIClient interface {
ListApplications(context.Context, *ListApplicationsInput, ...func(*Options)) (*ListApplicationsOutput, error)
}
ListApplicationsAPIClient is a client that implements the ListApplications operation.
type ListApplicationsInput ¶
type ListApplicationsInput struct { // 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. MaxResults *int32 // A token to start the list. Next token is a pagination token generated by // AppConfig to describe what page the previous List call ended on. For the first // List request, the nextToken should not be set. On subsequent calls, the // nextToken parameter should be set to the previous responses nextToken value. Use // this token to get the next set of results. NextToken *string // contains filtered or unexported fields }
type ListApplicationsOutput ¶
type ListApplicationsOutput struct { // The elements from this collection. Items []types.Application // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListApplicationsPaginator ¶
type ListApplicationsPaginator struct {
// contains filtered or unexported fields
}
ListApplicationsPaginator is a paginator for ListApplications
func NewListApplicationsPaginator ¶
func NewListApplicationsPaginator(client ListApplicationsAPIClient, params *ListApplicationsInput, optFns ...func(*ListApplicationsPaginatorOptions)) *ListApplicationsPaginator
NewListApplicationsPaginator returns a new ListApplicationsPaginator
func (*ListApplicationsPaginator) HasMorePages ¶
func (p *ListApplicationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListApplicationsPaginator) NextPage ¶
func (p *ListApplicationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListApplicationsOutput, error)
NextPage retrieves the next ListApplications page.
type ListApplicationsPaginatorOptions ¶
type ListApplicationsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListApplicationsPaginatorOptions is the paginator options for ListApplications
type ListConfigurationProfilesAPIClient ¶
type ListConfigurationProfilesAPIClient interface {
ListConfigurationProfiles(context.Context, *ListConfigurationProfilesInput, ...func(*Options)) (*ListConfigurationProfilesOutput, error)
}
ListConfigurationProfilesAPIClient is a client that implements the ListConfigurationProfiles operation.
type ListConfigurationProfilesInput ¶
type ListConfigurationProfilesInput struct { // The application ID. // // This member is required. ApplicationId *string // 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. MaxResults *int32 // A token to start the list. Use this token to get the next set of results. NextToken *string // A filter based on the type of configurations that the configuration profile // contains. A configuration can be a feature flag or a freeform configuration. Type *string // contains filtered or unexported fields }
type ListConfigurationProfilesOutput ¶
type ListConfigurationProfilesOutput struct { // The elements from this collection. Items []types.ConfigurationProfileSummary // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListConfigurationProfilesPaginator ¶
type ListConfigurationProfilesPaginator struct {
// contains filtered or unexported fields
}
ListConfigurationProfilesPaginator is a paginator for ListConfigurationProfiles
func NewListConfigurationProfilesPaginator ¶
func NewListConfigurationProfilesPaginator(client ListConfigurationProfilesAPIClient, params *ListConfigurationProfilesInput, optFns ...func(*ListConfigurationProfilesPaginatorOptions)) *ListConfigurationProfilesPaginator
NewListConfigurationProfilesPaginator returns a new ListConfigurationProfilesPaginator
func (*ListConfigurationProfilesPaginator) HasMorePages ¶
func (p *ListConfigurationProfilesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListConfigurationProfilesPaginator) NextPage ¶
func (p *ListConfigurationProfilesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListConfigurationProfilesOutput, error)
NextPage retrieves the next ListConfigurationProfiles page.
type ListConfigurationProfilesPaginatorOptions ¶
type ListConfigurationProfilesPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListConfigurationProfilesPaginatorOptions is the paginator options for ListConfigurationProfiles
type ListDeploymentStrategiesAPIClient ¶
type ListDeploymentStrategiesAPIClient interface {
ListDeploymentStrategies(context.Context, *ListDeploymentStrategiesInput, ...func(*Options)) (*ListDeploymentStrategiesOutput, error)
}
ListDeploymentStrategiesAPIClient is a client that implements the ListDeploymentStrategies operation.
type ListDeploymentStrategiesInput ¶
type ListDeploymentStrategiesInput struct { // 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. MaxResults *int32 // A token to start the list. Use this token to get the next set of results. NextToken *string // contains filtered or unexported fields }
type ListDeploymentStrategiesOutput ¶
type ListDeploymentStrategiesOutput struct { // The elements from this collection. Items []types.DeploymentStrategy // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDeploymentStrategiesPaginator ¶
type ListDeploymentStrategiesPaginator struct {
// contains filtered or unexported fields
}
ListDeploymentStrategiesPaginator is a paginator for ListDeploymentStrategies
func NewListDeploymentStrategiesPaginator ¶
func NewListDeploymentStrategiesPaginator(client ListDeploymentStrategiesAPIClient, params *ListDeploymentStrategiesInput, optFns ...func(*ListDeploymentStrategiesPaginatorOptions)) *ListDeploymentStrategiesPaginator
NewListDeploymentStrategiesPaginator returns a new ListDeploymentStrategiesPaginator
func (*ListDeploymentStrategiesPaginator) HasMorePages ¶
func (p *ListDeploymentStrategiesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDeploymentStrategiesPaginator) NextPage ¶
func (p *ListDeploymentStrategiesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDeploymentStrategiesOutput, error)
NextPage retrieves the next ListDeploymentStrategies page.
type ListDeploymentStrategiesPaginatorOptions ¶
type ListDeploymentStrategiesPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDeploymentStrategiesPaginatorOptions is the paginator options for ListDeploymentStrategies
type ListDeploymentsAPIClient ¶
type ListDeploymentsAPIClient interface {
ListDeployments(context.Context, *ListDeploymentsInput, ...func(*Options)) (*ListDeploymentsOutput, error)
}
ListDeploymentsAPIClient is a client that implements the ListDeployments operation.
type ListDeploymentsInput ¶
type ListDeploymentsInput struct { // The application ID. // // This member is required. ApplicationId *string // The environment ID. // // This member is required. EnvironmentId *string // The maximum number of items that may be returned for this call. If there are // items that have not yet been returned, the response will include a non-null // NextToken that you can provide in a subsequent call to get the next set of // results. MaxResults *int32 // The token returned by a prior call to this operation indicating the next set of // results to be returned. If not specified, the operation will return the first // set of results. NextToken *string // contains filtered or unexported fields }
type ListDeploymentsOutput ¶
type ListDeploymentsOutput struct { // The elements from this collection. Items []types.DeploymentSummary // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListDeploymentsPaginator ¶
type ListDeploymentsPaginator struct {
// contains filtered or unexported fields
}
ListDeploymentsPaginator is a paginator for ListDeployments
func NewListDeploymentsPaginator ¶
func NewListDeploymentsPaginator(client ListDeploymentsAPIClient, params *ListDeploymentsInput, optFns ...func(*ListDeploymentsPaginatorOptions)) *ListDeploymentsPaginator
NewListDeploymentsPaginator returns a new ListDeploymentsPaginator
func (*ListDeploymentsPaginator) HasMorePages ¶
func (p *ListDeploymentsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListDeploymentsPaginator) NextPage ¶
func (p *ListDeploymentsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListDeploymentsOutput, error)
NextPage retrieves the next ListDeployments page.
type ListDeploymentsPaginatorOptions ¶
type ListDeploymentsPaginatorOptions struct { // The maximum number of items that may be returned for this call. If there are // items that have not yet been returned, the response will include a non-null // NextToken that you can provide in a subsequent call to get the next set of // results. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListDeploymentsPaginatorOptions is the paginator options for ListDeployments
type ListEnvironmentsAPIClient ¶
type ListEnvironmentsAPIClient interface {
ListEnvironments(context.Context, *ListEnvironmentsInput, ...func(*Options)) (*ListEnvironmentsOutput, error)
}
ListEnvironmentsAPIClient is a client that implements the ListEnvironments operation.
type ListEnvironmentsInput ¶
type ListEnvironmentsInput struct { // The application ID. // // This member is required. ApplicationId *string // 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. MaxResults *int32 // A token to start the list. Use this token to get the next set of results. NextToken *string // contains filtered or unexported fields }
type ListEnvironmentsOutput ¶
type ListEnvironmentsOutput struct { // The elements from this collection. Items []types.Environment // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListEnvironmentsPaginator ¶
type ListEnvironmentsPaginator struct {
// contains filtered or unexported fields
}
ListEnvironmentsPaginator is a paginator for ListEnvironments
func NewListEnvironmentsPaginator ¶
func NewListEnvironmentsPaginator(client ListEnvironmentsAPIClient, params *ListEnvironmentsInput, optFns ...func(*ListEnvironmentsPaginatorOptions)) *ListEnvironmentsPaginator
NewListEnvironmentsPaginator returns a new ListEnvironmentsPaginator
func (*ListEnvironmentsPaginator) HasMorePages ¶
func (p *ListEnvironmentsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListEnvironmentsPaginator) NextPage ¶
func (p *ListEnvironmentsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEnvironmentsOutput, error)
NextPage retrieves the next ListEnvironments page.
type ListEnvironmentsPaginatorOptions ¶
type ListEnvironmentsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListEnvironmentsPaginatorOptions is the paginator options for ListEnvironments
type ListExtensionAssociationsAPIClient ¶
type ListExtensionAssociationsAPIClient interface {
ListExtensionAssociations(context.Context, *ListExtensionAssociationsInput, ...func(*Options)) (*ListExtensionAssociationsOutput, error)
}
ListExtensionAssociationsAPIClient is a client that implements the ListExtensionAssociations operation.
type ListExtensionAssociationsInput ¶
type ListExtensionAssociationsInput struct { // The name, the ID, or the Amazon Resource Name (ARN) of the extension. ExtensionIdentifier *string // The version number for the extension defined in the association. ExtensionVersionNumber *int32 // 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. MaxResults *int32 // 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. NextToken *string // The ARN of an application, configuration profile, or environment. ResourceIdentifier *string // contains filtered or unexported fields }
type ListExtensionAssociationsOutput ¶
type ListExtensionAssociationsOutput struct { // The list of extension associations. Each item represents an extension // association to an application, environment, or configuration profile. Items []types.ExtensionAssociationSummary // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListExtensionAssociationsPaginator ¶
type ListExtensionAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListExtensionAssociationsPaginator is a paginator for ListExtensionAssociations
func NewListExtensionAssociationsPaginator ¶
func NewListExtensionAssociationsPaginator(client ListExtensionAssociationsAPIClient, params *ListExtensionAssociationsInput, optFns ...func(*ListExtensionAssociationsPaginatorOptions)) *ListExtensionAssociationsPaginator
NewListExtensionAssociationsPaginator returns a new ListExtensionAssociationsPaginator
func (*ListExtensionAssociationsPaginator) HasMorePages ¶
func (p *ListExtensionAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListExtensionAssociationsPaginator) NextPage ¶
func (p *ListExtensionAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExtensionAssociationsOutput, error)
NextPage retrieves the next ListExtensionAssociations page.
type ListExtensionAssociationsPaginatorOptions ¶
type ListExtensionAssociationsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListExtensionAssociationsPaginatorOptions is the paginator options for ListExtensionAssociations
type ListExtensionsAPIClient ¶
type ListExtensionsAPIClient interface {
ListExtensions(context.Context, *ListExtensionsInput, ...func(*Options)) (*ListExtensionsOutput, error)
}
ListExtensionsAPIClient is a client that implements the ListExtensions operation.
type ListExtensionsInput ¶
type ListExtensionsInput struct { // 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. MaxResults *int32 // The extension name. Name *string // A token to start the list. Use this token to get the next set of results. NextToken *string // contains filtered or unexported fields }
type ListExtensionsOutput ¶
type ListExtensionsOutput struct { // The list of available extensions. The list includes Amazon Web Services // authored and user-created extensions. Items []types.ExtensionSummary // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListExtensionsPaginator ¶
type ListExtensionsPaginator struct {
// contains filtered or unexported fields
}
ListExtensionsPaginator is a paginator for ListExtensions
func NewListExtensionsPaginator ¶
func NewListExtensionsPaginator(client ListExtensionsAPIClient, params *ListExtensionsInput, optFns ...func(*ListExtensionsPaginatorOptions)) *ListExtensionsPaginator
NewListExtensionsPaginator returns a new ListExtensionsPaginator
func (*ListExtensionsPaginator) HasMorePages ¶
func (p *ListExtensionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListExtensionsPaginator) NextPage ¶
func (p *ListExtensionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListExtensionsOutput, error)
NextPage retrieves the next ListExtensions page.
type ListExtensionsPaginatorOptions ¶
type ListExtensionsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListExtensionsPaginatorOptions is the paginator options for ListExtensions
type ListHostedConfigurationVersionsAPIClient ¶
type ListHostedConfigurationVersionsAPIClient interface {
ListHostedConfigurationVersions(context.Context, *ListHostedConfigurationVersionsInput, ...func(*Options)) (*ListHostedConfigurationVersionsOutput, error)
}
ListHostedConfigurationVersionsAPIClient is a client that implements the ListHostedConfigurationVersions operation.
type ListHostedConfigurationVersionsInput ¶
type ListHostedConfigurationVersionsInput struct { // The application ID. // // This member is required. ApplicationId *string // The configuration profile ID. // // This member is required. ConfigurationProfileId *string // 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. MaxResults *int32 // A token to start the list. Use this token to get the next set of results. NextToken *string // An optional filter that can be used to specify the version label of an // AppConfig hosted configuration version. This parameter supports filtering by // prefix using a wildcard, for example "v2*". If you don't specify an asterisk at // the end of the value, only an exact match is returned. VersionLabel *string // contains filtered or unexported fields }
type ListHostedConfigurationVersionsOutput ¶
type ListHostedConfigurationVersionsOutput struct { // The elements from this collection. Items []types.HostedConfigurationVersionSummary // The token for the next set of items to return. Use this token to get the next // set of results. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListHostedConfigurationVersionsPaginator ¶
type ListHostedConfigurationVersionsPaginator struct {
// contains filtered or unexported fields
}
ListHostedConfigurationVersionsPaginator is a paginator for ListHostedConfigurationVersions
func NewListHostedConfigurationVersionsPaginator ¶
func NewListHostedConfigurationVersionsPaginator(client ListHostedConfigurationVersionsAPIClient, params *ListHostedConfigurationVersionsInput, optFns ...func(*ListHostedConfigurationVersionsPaginatorOptions)) *ListHostedConfigurationVersionsPaginator
NewListHostedConfigurationVersionsPaginator returns a new ListHostedConfigurationVersionsPaginator
func (*ListHostedConfigurationVersionsPaginator) HasMorePages ¶
func (p *ListHostedConfigurationVersionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListHostedConfigurationVersionsPaginator) NextPage ¶
func (p *ListHostedConfigurationVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListHostedConfigurationVersionsOutput, error)
NextPage retrieves the next ListHostedConfigurationVersions page.
type ListHostedConfigurationVersionsPaginatorOptions ¶
type ListHostedConfigurationVersionsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListHostedConfigurationVersionsPaginatorOptions is the paginator options for ListHostedConfigurationVersions
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The resource ARN. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // Metadata to assign to AppConfig resources. Tags help organize and categorize // your AppConfig resources. Each tag consists of a key and an optional value, both // of which you define. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
func (Options) GetIdentityResolver ¶
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type StartDeploymentInput ¶
type StartDeploymentInput struct { // The application ID. // // This member is required. ApplicationId *string // The configuration profile ID. // // This member is required. ConfigurationProfileId *string // The configuration version to deploy. If deploying an AppConfig hosted // configuration version, you can specify either the version number or version // label. For all other configurations, you must specify the version number. // // This member is required. ConfigurationVersion *string // The deployment strategy ID. // // This member is required. DeploymentStrategyId *string // The environment ID. // // This member is required. EnvironmentId *string // A description of the deployment. Description *string // A map of dynamic extension parameter names to values to pass to associated // extensions with PRE_START_DEPLOYMENT actions. DynamicExtensionParameters map[string]string // The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID // to encrypt the configuration data using a customer managed key. KmsKeyIdentifier *string // Metadata to assign to the deployment. Tags help organize and categorize your // AppConfig resources. Each tag consists of a key and an optional value, both of // which you define. Tags map[string]string // contains filtered or unexported fields }
type StartDeploymentOutput ¶
type StartDeploymentOutput struct { // The ID of the application that was deployed. ApplicationId *string // 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. AppliedExtensions []types.AppliedExtension // The time the deployment completed. CompletedAt *time.Time // Information about the source location of the configuration. ConfigurationLocationUri *string // The name of the configuration. ConfigurationName *string // The ID of the configuration profile that was deployed. ConfigurationProfileId *string // The configuration version that was deployed. ConfigurationVersion *string // Total amount of time the deployment lasted. DeploymentDurationInMinutes int32 // The sequence number of the deployment. DeploymentNumber int32 // The ID of the deployment strategy that was deployed. DeploymentStrategyId *string // The description of the deployment. Description *string // The ID of the environment that was deployed. EnvironmentId *string // A list containing all events related to a deployment. The most recent events // are displayed first. EventLog []types.DeploymentEvent // The amount of time that AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic rollback. FinalBakeTimeInMinutes int32 // The percentage of targets to receive a deployed configuration during each // interval. GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType // The Amazon Resource Name of the Key Management Service key used to encrypt // configuration data. You can encrypt secrets stored in Secrets Manager, Amazon // Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure // string parameters stored in Amazon Web Services Systems Manager Parameter Store. KmsKeyArn *string // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. KmsKeyIdentifier *string // The percentage of targets for which the deployment is available. PercentageComplete *float32 // The time the deployment started. StartedAt *time.Time // The state of the deployment. State types.DeploymentState // A user-defined label for an AppConfig hosted configuration version. VersionLabel *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type StopDeploymentInput ¶
type StopDeploymentInput struct { // The application ID. // // This member is required. ApplicationId *string // The sequence number of the deployment. // // This member is required. DeploymentNumber *int32 // The environment ID. // // This member is required. EnvironmentId *string // contains filtered or unexported fields }
type StopDeploymentOutput ¶
type StopDeploymentOutput struct { // The ID of the application that was deployed. ApplicationId *string // 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. AppliedExtensions []types.AppliedExtension // The time the deployment completed. CompletedAt *time.Time // Information about the source location of the configuration. ConfigurationLocationUri *string // The name of the configuration. ConfigurationName *string // The ID of the configuration profile that was deployed. ConfigurationProfileId *string // The configuration version that was deployed. ConfigurationVersion *string // Total amount of time the deployment lasted. DeploymentDurationInMinutes int32 // The sequence number of the deployment. DeploymentNumber int32 // The ID of the deployment strategy that was deployed. DeploymentStrategyId *string // The description of the deployment. Description *string // The ID of the environment that was deployed. EnvironmentId *string // A list containing all events related to a deployment. The most recent events // are displayed first. EventLog []types.DeploymentEvent // The amount of time that AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic rollback. FinalBakeTimeInMinutes int32 // The percentage of targets to receive a deployed configuration during each // interval. GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType // The Amazon Resource Name of the Key Management Service key used to encrypt // configuration data. You can encrypt secrets stored in Secrets Manager, Amazon // Simple Storage Service (Amazon S3) objects encrypted with SSE-KMS, or secure // string parameters stored in Amazon Web Services Systems Manager Parameter Store. KmsKeyArn *string // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. KmsKeyIdentifier *string // The percentage of targets for which the deployment is available. PercentageComplete *float32 // The time the deployment started. StartedAt *time.Time // The state of the deployment. State types.DeploymentState // A user-defined label for an AppConfig hosted configuration version. VersionLabel *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type TagResourceInput ¶
type TagResourceInput struct { // The ARN of the resource for which to retrieve tags. // // This member is required. ResourceArn *string // The key-value string map. The valid character set is [a-zA-Z+-=._:/]. The tag // key can be up to 128 characters and must not start with aws: . The tag value can // be up to 256 characters. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateApplicationInput ¶
type UpdateApplicationOutput ¶
type UpdateApplicationOutput struct { // The description of the application. Description *string // The application ID. Id *string // The application name. Name *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateConfigurationProfileInput ¶
type UpdateConfigurationProfileInput struct { // The application ID. // // This member is required. ApplicationId *string // The ID of the configuration profile. // // This member is required. ConfigurationProfileId *string // A description of the configuration profile. Description *string // The identifier for a Key Management Service key to encrypt new configuration // data versions in the AppConfig hosted configuration store. This attribute is // only used for hosted configuration types. The identifier can be an KMS key ID, // alias, or the Amazon Resource Name (ARN) of the key ID or alias. To encrypt data // managed in other configuration stores, see the documentation for how to specify // an KMS key for that particular service. KmsKeyIdentifier *string // The name of the configuration profile. Name *string // The ARN of an IAM role with permission to access the configuration at the // specified LocationUri . RetrievalRoleArn *string // A list of methods for validating the configuration. Validators []types.Validator // contains filtered or unexported fields }
type UpdateConfigurationProfileOutput ¶
type UpdateConfigurationProfileOutput struct { // The application ID. ApplicationId *string // The configuration profile description. Description *string // The configuration profile ID. Id *string // The Amazon Resource Name of the Key Management Service key to encrypt new // configuration data versions in the AppConfig hosted configuration store. This // attribute is only used for hosted configuration types. To encrypt data managed // in other configuration stores, see the documentation for how to specify an KMS // key for that particular service. KmsKeyArn *string // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. KmsKeyIdentifier *string // The URI location of the configuration. LocationUri *string // The name of the configuration profile. Name *string // The ARN of an IAM role with permission to access the configuration at the // specified LocationUri . RetrievalRoleArn *string // The type of configurations contained in the profile. AppConfig supports feature // flags and freeform configurations. We recommend you create feature flag // configurations to enable or disable new features and freeform configurations to // distribute configurations to an application. When calling this API, enter one of // the following values for Type : // // AWS.AppConfig.FeatureFlags // // AWS.Freeform Type *string // A list of methods for validating the configuration. Validators []types.Validator // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateDeploymentStrategyInput ¶
type UpdateDeploymentStrategyInput struct { // The deployment strategy ID. // // This member is required. DeploymentStrategyId *string // Total amount of time for a deployment to last. DeploymentDurationInMinutes *int32 // A description of the deployment strategy. Description *string // The amount of time that AppConfig monitors for alarms before considering the // deployment to be complete and no longer eligible for automatic rollback. FinalBakeTimeInMinutes *int32 // The percentage of targets to receive a deployed configuration during each // interval. GrowthFactor *float32 // The algorithm used to define how percentage grows over time. AppConfig supports // the following growth types: // // Linear: For this type, AppConfig processes the deployment by increments of the // growth factor evenly distributed over the deployment time. For example, a linear // deployment that uses a growth factor of 20 initially makes the configuration // available to 20 percent of the targets. After 1/5th of the deployment time has // passed, the system updates the percentage to 40 percent. This continues until // 100% of the targets are set to receive the deployed configuration. // // Exponential: For this type, AppConfig processes the deployment exponentially // using the following formula: G*(2^N) . In this formula, G is the growth factor // specified by the user and N is the number of steps until the configuration is // deployed to all targets. For example, if you specify a growth factor of 2, then // the system rolls out the configuration as follows: // // 2*(2^0) // // 2*(2^1) // // 2*(2^2) // // Expressed numerically, the deployment rolls out as follows: 2% of the targets, // 4% of the targets, 8% of the targets, and continues until the configuration has // been deployed to all targets. GrowthType types.GrowthType // contains filtered or unexported fields }
type UpdateDeploymentStrategyOutput ¶
type UpdateDeploymentStrategyOutput struct { // Total amount of time the deployment lasted. DeploymentDurationInMinutes int32 // The description of the deployment strategy. Description *string // The amount of time that AppConfig monitored for alarms before considering the // deployment to be complete and no longer eligible for automatic rollback. FinalBakeTimeInMinutes int32 // The percentage of targets that received a deployed configuration during each // interval. GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType // The deployment strategy ID. Id *string // The name of the deployment strategy. Name *string // Save the deployment strategy to a Systems Manager (SSM) document. ReplicateTo types.ReplicateTo // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateEnvironmentInput ¶
type UpdateEnvironmentInput struct { // The application ID. // // This member is required. ApplicationId *string // The environment ID. // // This member is required. EnvironmentId *string // A description of the environment. Description *string // Amazon CloudWatch alarms to monitor during the deployment process. Monitors []types.Monitor // The name of the environment. Name *string // contains filtered or unexported fields }
type UpdateEnvironmentOutput ¶
type UpdateEnvironmentOutput struct { // The application ID. ApplicationId *string // The description of the environment. Description *string // The environment ID. Id *string // Amazon CloudWatch alarms monitored during the deployment. Monitors []types.Monitor // The name of the environment. Name *string // The state of the environment. An environment can be in one of the following // states: READY_FOR_DEPLOYMENT , DEPLOYING , ROLLING_BACK , or ROLLED_BACK State types.EnvironmentState // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateExtensionAssociationInput ¶
type UpdateExtensionAssociationOutput ¶
type UpdateExtensionAssociationOutput struct { // The system-generated Amazon Resource Name (ARN) for the extension. Arn *string // The ARN of the extension defined in the association. ExtensionArn *string // The version number for the extension defined in the association. ExtensionVersionNumber int32 // The system-generated ID for the association. Id *string // The parameter names and values defined in the association. Parameters map[string]string // The ARNs of applications, configuration profiles, or environments defined in // the association. ResourceArn *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateExtensionInput ¶
type UpdateExtensionInput struct { // The name, the ID, or the Amazon Resource Name (ARN) of the extension. // // This member is required. ExtensionIdentifier *string // The actions defined in the extension. Actions map[string][]types.Action // Information about the extension. Description *string // One or more parameters for the actions called by the extension. Parameters map[string]types.Parameter // The extension version number. VersionNumber *int32 // contains filtered or unexported fields }
type UpdateExtensionOutput ¶
type UpdateExtensionOutput struct { // The actions defined in the extension. Actions map[string][]types.Action // The system-generated Amazon Resource Name (ARN) for the extension. Arn *string // Information about the extension. Description *string // The system-generated ID of the extension. Id *string // The extension name. Name *string // 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. Parameters map[string]types.Parameter // The extension version number. VersionNumber int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ValidateConfigurationInput ¶
type ValidateConfigurationInput struct { // The application ID. // // This member is required. ApplicationId *string // The configuration profile ID. // // This member is required. ConfigurationProfileId *string // The version of the configuration to validate. // // This member is required. ConfigurationVersion *string // contains filtered or unexported fields }
type ValidateConfigurationOutput ¶
type ValidateConfigurationOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateApplication.go
- api_op_CreateConfigurationProfile.go
- api_op_CreateDeploymentStrategy.go
- api_op_CreateEnvironment.go
- api_op_CreateExtension.go
- api_op_CreateExtensionAssociation.go
- api_op_CreateHostedConfigurationVersion.go
- api_op_DeleteApplication.go
- api_op_DeleteConfigurationProfile.go
- api_op_DeleteDeploymentStrategy.go
- api_op_DeleteEnvironment.go
- api_op_DeleteExtension.go
- api_op_DeleteExtensionAssociation.go
- api_op_DeleteHostedConfigurationVersion.go
- api_op_GetApplication.go
- api_op_GetConfiguration.go
- api_op_GetConfigurationProfile.go
- api_op_GetDeployment.go
- api_op_GetDeploymentStrategy.go
- api_op_GetEnvironment.go
- api_op_GetExtension.go
- api_op_GetExtensionAssociation.go
- api_op_GetHostedConfigurationVersion.go
- api_op_ListApplications.go
- api_op_ListConfigurationProfiles.go
- api_op_ListDeploymentStrategies.go
- api_op_ListDeployments.go
- api_op_ListEnvironments.go
- api_op_ListExtensionAssociations.go
- api_op_ListExtensions.go
- api_op_ListHostedConfigurationVersions.go
- api_op_ListTagsForResource.go
- api_op_StartDeployment.go
- api_op_StopDeployment.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateApplication.go
- api_op_UpdateConfigurationProfile.go
- api_op_UpdateDeploymentStrategy.go
- api_op_UpdateEnvironment.go
- api_op_UpdateExtension.go
- api_op_UpdateExtensionAssociation.go
- api_op_ValidateConfiguration.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go