appconfig

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 9 Imported by: 24

Documentation

Overview

Package appconfig provides the client and types for making API requests to AppConfig.

Use AWS AppConfig, a capability of AWS Systems Manager, to create, manage, and quickly deploy application configurations. AppConfig supports controlled deployments to applications of any size and includes built-in validation checks and monitoring. You can use AppConfig with applications hosted on Amazon EC2 instances, AWS Lambda, containers, mobile applications, or IoT devices.

To prevent errors when deploying application configurations, especially for production systems where a simple typo could cause an unexpected outage, AppConfig includes validators. A validator provides a syntactic or semantic check to ensure that the configuration you want to deploy works as intended. To validate your application configuration data, you provide a schema or a Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.

During a configuration deployment, AppConfig monitors the application to ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can configure a deployment strategy for each application or environment that includes deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back to the previous version.

AppConfig supports multiple use cases. Here are some examples.

  • Application tuning: Use AppConfig to carefully introduce changes to your application that can only be tested with production traffic.

  • Feature toggle: Use AppConfig to turn on new features that require a timely deployment, such as a product launch or announcement.

  • Allow list: Use AppConfig to allow premium subscribers to access paid content.

  • Operational issues: Use AppConfig to reduce stress on your application when a dependency or other external factor impacts the system.

This reference is intended to be used with the AWS AppConfig User Guide (http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig.html).

See https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09 for more information on this service.

See appconfig package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/appconfig/

Using the Client

To use AppConfig with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AppConfig client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/appconfig/#New

Index

Constants

View Source
const (
	ServiceName = "AppConfig" // Service's name
	ServiceID   = "AppConfig" // Service's identifier
	EndpointsID = "appconfig" // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// The input fails to satisfy the constraints specified by an AWS service.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request could not be processed because of conflict in the current state
	// of the resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// There was an internal failure in the AppConfig service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodePayloadTooLargeException for service response error code
	// "PayloadTooLargeException".
	//
	// The configuration size is too large.
	ErrCodePayloadTooLargeException = "PayloadTooLargeException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The requested resource could not be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// The number of hosted configuration versions exceeds the limit for the AppConfig
	// configuration store. Delete one or more versions and try again.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (Application) MarshalFields

func (s Application) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Application) String

func (s Application) String() string

String returns the string representation

type BytesMeasure added in v0.24.0

type BytesMeasure string
const (
	BytesMeasureKilobytes BytesMeasure = "KILOBYTES"
)

Enum values for BytesMeasure

func (BytesMeasure) MarshalValue added in v0.24.0

func (enum BytesMeasure) MarshalValue() (string, error)

func (BytesMeasure) MarshalValueBuf added in v0.24.0

func (enum BytesMeasure) MarshalValueBuf(b []byte) ([]byte, error)

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AppConfig. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := appconfig.New(myConfig)

func (*Client) CreateApplicationRequest

func (c *Client) CreateApplicationRequest(input *CreateApplicationInput) CreateApplicationRequest

CreateApplicationRequest returns a request value for making API operation for Amazon AppConfig.

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

// Example sending a request using CreateApplicationRequest.
req := client.CreateApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication

func (*Client) CreateConfigurationProfileRequest

func (c *Client) CreateConfigurationProfileRequest(input *CreateConfigurationProfileInput) CreateConfigurationProfileRequest

CreateConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Information that enables AppConfig to access the configuration source. Valid configuration sources include Systems Manager (SSM) documents, SSM Parameter Store parameters, and Amazon S3 objects. A configuration profile includes the following information.

  • The Uri location of the configuration data.

  • The AWS 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 AWS Lambda function.

For more information, see Create a Configuration and a Configuration Profile (http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-creating-configuration-and-profile.html) in the AWS AppConfig User Guide.

// Example sending a request using CreateConfigurationProfileRequest.
req := client.CreateConfigurationProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile

func (*Client) CreateDeploymentStrategyRequest

func (c *Client) CreateDeploymentStrategyRequest(input *CreateDeploymentStrategyInput) CreateDeploymentStrategyRequest

CreateDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

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.

// Example sending a request using CreateDeploymentStrategyRequest.
req := client.CreateDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy

func (*Client) CreateEnvironmentRequest

func (c *Client) CreateEnvironmentRequest(input *CreateEnvironmentInput) CreateEnvironmentRequest

CreateEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

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

// Example sending a request using CreateEnvironmentRequest.
req := client.CreateEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment

func (*Client) CreateHostedConfigurationVersionRequest added in v0.24.0

func (c *Client) CreateHostedConfigurationVersionRequest(input *CreateHostedConfigurationVersionInput) CreateHostedConfigurationVersionRequest

CreateHostedConfigurationVersionRequest returns a request value for making API operation for Amazon AppConfig.

Create a new configuration in the AppConfig configuration store.

// Example sending a request using CreateHostedConfigurationVersionRequest.
req := client.CreateHostedConfigurationVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion

func (*Client) DeleteApplicationRequest

func (c *Client) DeleteApplicationRequest(input *DeleteApplicationInput) DeleteApplicationRequest

DeleteApplicationRequest returns a request value for making API operation for Amazon AppConfig.

Delete an application. Deleting an application does not delete a configuration from a host.

// Example sending a request using DeleteApplicationRequest.
req := client.DeleteApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication

func (*Client) DeleteConfigurationProfileRequest

func (c *Client) DeleteConfigurationProfileRequest(input *DeleteConfigurationProfileInput) DeleteConfigurationProfileRequest

DeleteConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Delete a configuration profile. Deleting a configuration profile does not delete a configuration from a host.

// Example sending a request using DeleteConfigurationProfileRequest.
req := client.DeleteConfigurationProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile

func (*Client) DeleteDeploymentStrategyRequest

func (c *Client) DeleteDeploymentStrategyRequest(input *DeleteDeploymentStrategyInput) DeleteDeploymentStrategyRequest

DeleteDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

Delete a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.

// Example sending a request using DeleteDeploymentStrategyRequest.
req := client.DeleteDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy

func (*Client) DeleteEnvironmentRequest

func (c *Client) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) DeleteEnvironmentRequest

DeleteEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

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

// Example sending a request using DeleteEnvironmentRequest.
req := client.DeleteEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment

func (*Client) DeleteHostedConfigurationVersionRequest added in v0.24.0

func (c *Client) DeleteHostedConfigurationVersionRequest(input *DeleteHostedConfigurationVersionInput) DeleteHostedConfigurationVersionRequest

DeleteHostedConfigurationVersionRequest returns a request value for making API operation for Amazon AppConfig.

Delete a version of a configuration from the AppConfig configuration store.

// Example sending a request using DeleteHostedConfigurationVersionRequest.
req := client.DeleteHostedConfigurationVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion

func (*Client) GetApplicationRequest

func (c *Client) GetApplicationRequest(input *GetApplicationInput) GetApplicationRequest

GetApplicationRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about an application.

// Example sending a request using GetApplicationRequest.
req := client.GetApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication

func (*Client) GetConfigurationProfileRequest

func (c *Client) GetConfigurationProfileRequest(input *GetConfigurationProfileInput) GetConfigurationProfileRequest

GetConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about a configuration profile.

// Example sending a request using GetConfigurationProfileRequest.
req := client.GetConfigurationProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile

func (*Client) GetConfigurationRequest

func (c *Client) GetConfigurationRequest(input *GetConfigurationInput) GetConfigurationRequest

GetConfigurationRequest returns a request value for making API operation for Amazon AppConfig.

Receive information about a configuration.

AWS 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 that you include the ClientConfigurationVersion value with every call to GetConfiguration. This value must be saved on your client. Subsequent calls to GetConfiguration must pass this value by using the ClientConfigurationVersion parameter.

// Example sending a request using GetConfigurationRequest.
req := client.GetConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration

func (*Client) GetDeploymentRequest

func (c *Client) GetDeploymentRequest(input *GetDeploymentInput) GetDeploymentRequest

GetDeploymentRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve information about a configuration deployment.

// Example sending a request using GetDeploymentRequest.
req := client.GetDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment

func (*Client) GetDeploymentStrategyRequest

func (c *Client) GetDeploymentStrategyRequest(input *GetDeploymentStrategyInput) GetDeploymentStrategyRequest

GetDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

Retrieve 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.

// Example sending a request using GetDeploymentStrategyRequest.
req := client.GetDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy

func (*Client) GetEnvironmentRequest

func (c *Client) GetEnvironmentRequest(input *GetEnvironmentInput) GetEnvironmentRequest

GetEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

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

// Example sending a request using GetEnvironmentRequest.
req := client.GetEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment

func (*Client) GetHostedConfigurationVersionRequest added in v0.24.0

func (c *Client) GetHostedConfigurationVersionRequest(input *GetHostedConfigurationVersionInput) GetHostedConfigurationVersionRequest

GetHostedConfigurationVersionRequest returns a request value for making API operation for Amazon AppConfig.

Get information about a specific configuration version.

// Example sending a request using GetHostedConfigurationVersionRequest.
req := client.GetHostedConfigurationVersionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion

func (*Client) ListApplicationsRequest

func (c *Client) ListApplicationsRequest(input *ListApplicationsInput) ListApplicationsRequest

ListApplicationsRequest returns a request value for making API operation for Amazon AppConfig.

List all applications in your AWS account.

// Example sending a request using ListApplicationsRequest.
req := client.ListApplicationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications

func (*Client) ListConfigurationProfilesRequest

func (c *Client) ListConfigurationProfilesRequest(input *ListConfigurationProfilesInput) ListConfigurationProfilesRequest

ListConfigurationProfilesRequest returns a request value for making API operation for Amazon AppConfig.

Lists the configuration profiles for an application.

// Example sending a request using ListConfigurationProfilesRequest.
req := client.ListConfigurationProfilesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles

func (*Client) ListDeploymentStrategiesRequest

func (c *Client) ListDeploymentStrategiesRequest(input *ListDeploymentStrategiesInput) ListDeploymentStrategiesRequest

ListDeploymentStrategiesRequest returns a request value for making API operation for Amazon AppConfig.

List deployment strategies.

// Example sending a request using ListDeploymentStrategiesRequest.
req := client.ListDeploymentStrategiesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies

func (*Client) ListDeploymentsRequest

func (c *Client) ListDeploymentsRequest(input *ListDeploymentsInput) ListDeploymentsRequest

ListDeploymentsRequest returns a request value for making API operation for Amazon AppConfig.

Lists the deployments for an environment.

// Example sending a request using ListDeploymentsRequest.
req := client.ListDeploymentsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments

func (*Client) ListEnvironmentsRequest

func (c *Client) ListEnvironmentsRequest(input *ListEnvironmentsInput) ListEnvironmentsRequest

ListEnvironmentsRequest returns a request value for making API operation for Amazon AppConfig.

List the environments for an application.

// Example sending a request using ListEnvironmentsRequest.
req := client.ListEnvironmentsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments

func (*Client) ListHostedConfigurationVersionsRequest added in v0.24.0

func (c *Client) ListHostedConfigurationVersionsRequest(input *ListHostedConfigurationVersionsInput) ListHostedConfigurationVersionsRequest

ListHostedConfigurationVersionsRequest returns a request value for making API operation for Amazon AppConfig.

View a list of configurations stored in the AppConfig configuration store by version.

// Example sending a request using ListHostedConfigurationVersionsRequest.
req := client.ListHostedConfigurationVersionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for Amazon AppConfig.

Retrieves the list of key-value tags assigned to the resource.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource

func (*Client) StartDeploymentRequest

func (c *Client) StartDeploymentRequest(input *StartDeploymentInput) StartDeploymentRequest

StartDeploymentRequest returns a request value for making API operation for Amazon AppConfig.

Starts a deployment.

// Example sending a request using StartDeploymentRequest.
req := client.StartDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment

func (*Client) StopDeploymentRequest

func (c *Client) StopDeploymentRequest(input *StopDeploymentInput) StopDeploymentRequest

StopDeploymentRequest returns a request value for making API operation for Amazon AppConfig.

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.

// Example sending a request using StopDeploymentRequest.
req := client.StopDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for Amazon AppConfig.

Metadata to assign 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.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for Amazon AppConfig.

Deletes a tag key and value from an AppConfig resource.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource

func (*Client) UpdateApplicationRequest

func (c *Client) UpdateApplicationRequest(input *UpdateApplicationInput) UpdateApplicationRequest

UpdateApplicationRequest returns a request value for making API operation for Amazon AppConfig.

Updates an application.

// Example sending a request using UpdateApplicationRequest.
req := client.UpdateApplicationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication

func (*Client) UpdateConfigurationProfileRequest

func (c *Client) UpdateConfigurationProfileRequest(input *UpdateConfigurationProfileInput) UpdateConfigurationProfileRequest

UpdateConfigurationProfileRequest returns a request value for making API operation for Amazon AppConfig.

Updates a configuration profile.

// Example sending a request using UpdateConfigurationProfileRequest.
req := client.UpdateConfigurationProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile

func (*Client) UpdateDeploymentStrategyRequest

func (c *Client) UpdateDeploymentStrategyRequest(input *UpdateDeploymentStrategyInput) UpdateDeploymentStrategyRequest

UpdateDeploymentStrategyRequest returns a request value for making API operation for Amazon AppConfig.

Updates a deployment strategy.

// Example sending a request using UpdateDeploymentStrategyRequest.
req := client.UpdateDeploymentStrategyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy

func (*Client) UpdateEnvironmentRequest

func (c *Client) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) UpdateEnvironmentRequest

UpdateEnvironmentRequest returns a request value for making API operation for Amazon AppConfig.

Updates an environment.

// Example sending a request using UpdateEnvironmentRequest.
req := client.UpdateEnvironmentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment

func (*Client) ValidateConfigurationRequest

func (c *Client) ValidateConfigurationRequest(input *ValidateConfigurationInput) ValidateConfigurationRequest

ValidateConfigurationRequest returns a request value for making API operation for Amazon AppConfig.

Uses the validators in a configuration profile to validate a configuration.

// Example sending a request using ValidateConfigurationRequest.
req := client.ValidateConfigurationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration

type ConfigurationProfileSummary

type ConfigurationProfileSummary struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The ID of the configuration profile.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The types of validators in the configuration profile.
	ValidatorTypes []ValidatorType `type:"list"`
	// contains filtered or unexported fields
}

A summary of a configuration profile.

func (ConfigurationProfileSummary) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ConfigurationProfileSummary) String

String returns the string representation

type CreateApplicationInput

type CreateApplicationInput struct {

	// A description of the application.
	Description *string `type:"string"`

	// A name for the application.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// 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 `type:"map"`
	// contains filtered or unexported fields
}

func (CreateApplicationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApplicationInput) String

func (s CreateApplicationInput) String() string

String returns the string representation

func (*CreateApplicationInput) Validate

func (s *CreateApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateApplicationOutput

type CreateApplicationOutput struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateApplicationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateApplicationOutput) String

func (s CreateApplicationOutput) String() string

String returns the string representation

type CreateApplicationRequest

type CreateApplicationRequest struct {
	*aws.Request
	Input *CreateApplicationInput
	Copy  func(*CreateApplicationInput) CreateApplicationRequest
}

CreateApplicationRequest is the request type for the CreateApplication API operation.

func (CreateApplicationRequest) Send

Send marshals and sends the CreateApplication API request.

type CreateApplicationResponse

type CreateApplicationResponse struct {
	*CreateApplicationOutput
	// contains filtered or unexported fields
}

CreateApplicationResponse is the response type for the CreateApplication API operation.

func (*CreateApplicationResponse) SDKResponseMetdata

func (r *CreateApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApplication request.

type CreateConfigurationProfileInput

type CreateConfigurationProfileInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the configuration profile.
	Description *string `type:"string"`

	// A URI to locate the configuration. You can specify a Systems Manager (SSM)
	// document, an SSM Parameter Store parameter, or an Amazon S3 object. For an
	// SSM document, specify either the document name in the format ssm-document://<Document_name>
	// or the Amazon Resource Name (ARN). For a parameter, specify either the parameter
	// name in the format ssm-parameter://<Parameter_name> or the ARN. For an Amazon
	// S3 object, specify the URI in the following format: s3://<bucket>/<objectKey>
	// . Here is an example: s3://my-bucket/my-app/us-east-1/my-config.json
	//
	// LocationUri is a required field
	LocationUri *string `min:"1" type:"string" required:"true"`

	// A name for the configuration profile.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"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 `type:"map"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationProfileInput) String

String returns the string representation

func (*CreateConfigurationProfileInput) Validate

func (s *CreateConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateConfigurationProfileOutput

type CreateConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (CreateConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateConfigurationProfileOutput) String

String returns the string representation

type CreateConfigurationProfileRequest

type CreateConfigurationProfileRequest struct {
	*aws.Request
	Input *CreateConfigurationProfileInput
	Copy  func(*CreateConfigurationProfileInput) CreateConfigurationProfileRequest
}

CreateConfigurationProfileRequest is the request type for the CreateConfigurationProfile API operation.

func (CreateConfigurationProfileRequest) Send

Send marshals and sends the CreateConfigurationProfile API request.

type CreateConfigurationProfileResponse

type CreateConfigurationProfileResponse struct {
	*CreateConfigurationProfileOutput
	// contains filtered or unexported fields
}

CreateConfigurationProfileResponse is the response type for the CreateConfigurationProfile API operation.

func (*CreateConfigurationProfileResponse) SDKResponseMetdata

func (r *CreateConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateConfigurationProfile request.

type CreateDeploymentStrategyInput

type CreateDeploymentStrategyInput struct {

	// Total amount of time for a deployment to last.
	//
	// DeploymentDurationInMinutes is a required field
	DeploymentDurationInMinutes *int64 `type:"integer" required:"true"`

	// A description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitors for alarms before considering the deployment
	// to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	//
	// GrowthFactor is a required field
	GrowthFactor *float64 `min:"1" type:"float" required:"true"`

	// The algorithm used to define how percentage grows over time. AWS 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 GrowthType `type:"string" enum:"true"`

	// A name for the deployment strategy.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	//
	// ReplicateTo is a required field
	ReplicateTo ReplicateTo `type:"string" required:"true" enum:"true"`

	// 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 `type:"map"`
	// contains filtered or unexported fields
}

func (CreateDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentStrategyInput) String

String returns the string representation

func (*CreateDeploymentStrategyInput) Validate

func (s *CreateDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentStrategyOutput

type CreateDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateDeploymentStrategyOutput) String

String returns the string representation

type CreateDeploymentStrategyRequest

type CreateDeploymentStrategyRequest struct {
	*aws.Request
	Input *CreateDeploymentStrategyInput
	Copy  func(*CreateDeploymentStrategyInput) CreateDeploymentStrategyRequest
}

CreateDeploymentStrategyRequest is the request type for the CreateDeploymentStrategy API operation.

func (CreateDeploymentStrategyRequest) Send

Send marshals and sends the CreateDeploymentStrategy API request.

type CreateDeploymentStrategyResponse

type CreateDeploymentStrategyResponse struct {
	*CreateDeploymentStrategyOutput
	// contains filtered or unexported fields
}

CreateDeploymentStrategyResponse is the response type for the CreateDeploymentStrategy API operation.

func (*CreateDeploymentStrategyResponse) SDKResponseMetdata

func (r *CreateDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDeploymentStrategy request.

type CreateEnvironmentInput

type CreateEnvironmentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the environment.
	Description *string `type:"string"`

	// Amazon CloudWatch alarms to monitor during the deployment process.
	Monitors []Monitor `type:"list"`

	// A name for the environment.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// 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 `type:"map"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateEnvironmentInput) String

func (s CreateEnvironmentInput) String() string

String returns the string representation

func (*CreateEnvironmentInput) Validate

func (s *CreateEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateEnvironmentOutput

type CreateEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"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 EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateEnvironmentOutput) String

func (s CreateEnvironmentOutput) String() string

String returns the string representation

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {
	*aws.Request
	Input *CreateEnvironmentInput
	Copy  func(*CreateEnvironmentInput) CreateEnvironmentRequest
}

CreateEnvironmentRequest is the request type for the CreateEnvironment API operation.

func (CreateEnvironmentRequest) Send

Send marshals and sends the CreateEnvironment API request.

type CreateEnvironmentResponse

type CreateEnvironmentResponse struct {
	*CreateEnvironmentOutput
	// contains filtered or unexported fields
}

CreateEnvironmentResponse is the response type for the CreateEnvironment API operation.

func (*CreateEnvironmentResponse) SDKResponseMetdata

func (r *CreateEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateEnvironment request.

type CreateHostedConfigurationVersionInput added in v0.24.0

type CreateHostedConfigurationVersionInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The content of the configuration or the configuration data.
	//
	// Content is a required field
	Content []byte `type:"blob" required:"true" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	//
	// ContentType is a required field
	ContentType *string `location:"header" locationName:"Content-Type" min:"1" type:"string" required:"true"`

	// A description of the configuration.
	Description *string `location:"header" locationName:"Description" type:"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 of the latest hosted configuration version.
	LatestVersionNumber *int64 `location:"header" locationName:"Latest-Version-Number" type:"integer"`
	// contains filtered or unexported fields
}

func (CreateHostedConfigurationVersionInput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateHostedConfigurationVersionInput) String added in v0.24.0

String returns the string representation

func (*CreateHostedConfigurationVersionInput) Validate added in v0.24.0

Validate inspects the fields of the type to determine if they are valid.

type CreateHostedConfigurationVersionOutput added in v0.24.0

type CreateHostedConfigurationVersionOutput struct {

	// The application ID.
	ApplicationId *string `location:"header" locationName:"Application-Id" type:"string"`

	// The configuration profile ID.
	ConfigurationProfileId *string `location:"header" locationName:"Configuration-Profile-Id" type:"string"`

	// The content of the configuration or the configuration data.
	Content []byte `type:"blob" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `location:"header" locationName:"Content-Type" min:"1" type:"string"`

	// A description of the configuration.
	Description *string `location:"header" locationName:"Description" type:"string"`

	// The configuration version.
	VersionNumber *int64 `location:"header" locationName:"Version-Number" type:"integer"`
	// contains filtered or unexported fields
}

func (CreateHostedConfigurationVersionOutput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (CreateHostedConfigurationVersionOutput) String added in v0.24.0

String returns the string representation

type CreateHostedConfigurationVersionRequest added in v0.24.0

type CreateHostedConfigurationVersionRequest struct {
	*aws.Request
	Input *CreateHostedConfigurationVersionInput
	Copy  func(*CreateHostedConfigurationVersionInput) CreateHostedConfigurationVersionRequest
}

CreateHostedConfigurationVersionRequest is the request type for the CreateHostedConfigurationVersion API operation.

func (CreateHostedConfigurationVersionRequest) Send added in v0.24.0

Send marshals and sends the CreateHostedConfigurationVersion API request.

type CreateHostedConfigurationVersionResponse added in v0.24.0

type CreateHostedConfigurationVersionResponse struct {
	*CreateHostedConfigurationVersionOutput
	// contains filtered or unexported fields
}

CreateHostedConfigurationVersionResponse is the response type for the CreateHostedConfigurationVersion API operation.

func (*CreateHostedConfigurationVersionResponse) SDKResponseMetdata added in v0.24.0

func (r *CreateHostedConfigurationVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateHostedConfigurationVersion request.

type DeleteApplicationInput

type DeleteApplicationInput struct {

	// The ID of the application to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteApplicationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApplicationInput) String

func (s DeleteApplicationInput) String() string

String returns the string representation

func (*DeleteApplicationInput) Validate

func (s *DeleteApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteApplicationOutput

type DeleteApplicationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteApplicationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteApplicationOutput) String

func (s DeleteApplicationOutput) String() string

String returns the string representation

type DeleteApplicationRequest

type DeleteApplicationRequest struct {
	*aws.Request
	Input *DeleteApplicationInput
	Copy  func(*DeleteApplicationInput) DeleteApplicationRequest
}

DeleteApplicationRequest is the request type for the DeleteApplication API operation.

func (DeleteApplicationRequest) Send

Send marshals and sends the DeleteApplication API request.

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
	*DeleteApplicationOutput
	// contains filtered or unexported fields
}

DeleteApplicationResponse is the response type for the DeleteApplication API operation.

func (*DeleteApplicationResponse) SDKResponseMetdata

func (r *DeleteApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApplication request.

type DeleteConfigurationProfileInput

type DeleteConfigurationProfileInput struct {

	// The application ID that includes the configuration profile you want to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile you want to delete.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationProfileInput) String

String returns the string representation

func (*DeleteConfigurationProfileInput) Validate

func (s *DeleteConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteConfigurationProfileOutput

type DeleteConfigurationProfileOutput struct {
	// contains filtered or unexported fields
}

func (DeleteConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteConfigurationProfileOutput) String

String returns the string representation

type DeleteConfigurationProfileRequest

type DeleteConfigurationProfileRequest struct {
	*aws.Request
	Input *DeleteConfigurationProfileInput
	Copy  func(*DeleteConfigurationProfileInput) DeleteConfigurationProfileRequest
}

DeleteConfigurationProfileRequest is the request type for the DeleteConfigurationProfile API operation.

func (DeleteConfigurationProfileRequest) Send

Send marshals and sends the DeleteConfigurationProfile API request.

type DeleteConfigurationProfileResponse

type DeleteConfigurationProfileResponse struct {
	*DeleteConfigurationProfileOutput
	// contains filtered or unexported fields
}

DeleteConfigurationProfileResponse is the response type for the DeleteConfigurationProfile API operation.

func (*DeleteConfigurationProfileResponse) SDKResponseMetdata

func (r *DeleteConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteConfigurationProfile request.

type DeleteDeploymentStrategyInput

type DeleteDeploymentStrategyInput struct {

	// The ID of the deployment strategy you want to delete.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDeploymentStrategyInput) String

String returns the string representation

func (*DeleteDeploymentStrategyInput) Validate

func (s *DeleteDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDeploymentStrategyOutput

type DeleteDeploymentStrategyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteDeploymentStrategyOutput) String

String returns the string representation

type DeleteDeploymentStrategyRequest

type DeleteDeploymentStrategyRequest struct {
	*aws.Request
	Input *DeleteDeploymentStrategyInput
	Copy  func(*DeleteDeploymentStrategyInput) DeleteDeploymentStrategyRequest
}

DeleteDeploymentStrategyRequest is the request type for the DeleteDeploymentStrategy API operation.

func (DeleteDeploymentStrategyRequest) Send

Send marshals and sends the DeleteDeploymentStrategy API request.

type DeleteDeploymentStrategyResponse

type DeleteDeploymentStrategyResponse struct {
	*DeleteDeploymentStrategyOutput
	// contains filtered or unexported fields
}

DeleteDeploymentStrategyResponse is the response type for the DeleteDeploymentStrategy API operation.

func (*DeleteDeploymentStrategyResponse) SDKResponseMetdata

func (r *DeleteDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteDeploymentStrategy request.

type DeleteEnvironmentInput

type DeleteEnvironmentInput struct {

	// The application ID that includes the environment you want to delete.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the environment you want to delete.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEnvironmentInput) String

func (s DeleteEnvironmentInput) String() string

String returns the string representation

func (*DeleteEnvironmentInput) Validate

func (s *DeleteEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteEnvironmentOutput

type DeleteEnvironmentOutput struct {
	// contains filtered or unexported fields
}

func (DeleteEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteEnvironmentOutput) String

func (s DeleteEnvironmentOutput) String() string

String returns the string representation

type DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {
	*aws.Request
	Input *DeleteEnvironmentInput
	Copy  func(*DeleteEnvironmentInput) DeleteEnvironmentRequest
}

DeleteEnvironmentRequest is the request type for the DeleteEnvironment API operation.

func (DeleteEnvironmentRequest) Send

Send marshals and sends the DeleteEnvironment API request.

type DeleteEnvironmentResponse

type DeleteEnvironmentResponse struct {
	*DeleteEnvironmentOutput
	// contains filtered or unexported fields
}

DeleteEnvironmentResponse is the response type for the DeleteEnvironment API operation.

func (*DeleteEnvironmentResponse) SDKResponseMetdata

func (r *DeleteEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteEnvironment request.

type DeleteHostedConfigurationVersionInput added in v0.24.0

type DeleteHostedConfigurationVersionInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The versions number to delete.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteHostedConfigurationVersionInput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteHostedConfigurationVersionInput) String added in v0.24.0

String returns the string representation

func (*DeleteHostedConfigurationVersionInput) Validate added in v0.24.0

Validate inspects the fields of the type to determine if they are valid.

type DeleteHostedConfigurationVersionOutput added in v0.24.0

type DeleteHostedConfigurationVersionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteHostedConfigurationVersionOutput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeleteHostedConfigurationVersionOutput) String added in v0.24.0

String returns the string representation

type DeleteHostedConfigurationVersionRequest added in v0.24.0

type DeleteHostedConfigurationVersionRequest struct {
	*aws.Request
	Input *DeleteHostedConfigurationVersionInput
	Copy  func(*DeleteHostedConfigurationVersionInput) DeleteHostedConfigurationVersionRequest
}

DeleteHostedConfigurationVersionRequest is the request type for the DeleteHostedConfigurationVersion API operation.

func (DeleteHostedConfigurationVersionRequest) Send added in v0.24.0

Send marshals and sends the DeleteHostedConfigurationVersion API request.

type DeleteHostedConfigurationVersionResponse added in v0.24.0

type DeleteHostedConfigurationVersionResponse struct {
	*DeleteHostedConfigurationVersionOutput
	// contains filtered or unexported fields
}

DeleteHostedConfigurationVersionResponse is the response type for the DeleteHostedConfigurationVersion API operation.

func (*DeleteHostedConfigurationVersionResponse) SDKResponseMetdata added in v0.24.0

func (r *DeleteHostedConfigurationVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteHostedConfigurationVersion request.

type DeploymentEvent added in v0.21.0

type DeploymentEvent struct {

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

	// The type of deployment event. Deployment event types include the start, stop,
	// or completion of a deployment; a percentage update; the start or stop of
	// a bake period; the start or completion of a rollback.
	EventType DeploymentEventType `type:"string" enum:"true"`

	// The date and time the event occurred.
	OccurredAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The entity that triggered the deployment event. Events can be triggered by
	// a user, AWS AppConfig, an Amazon CloudWatch alarm, or an internal error.
	TriggeredBy TriggeredBy `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

An object that describes a deployment event.

func (DeploymentEvent) MarshalFields added in v0.21.0

func (s DeploymentEvent) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeploymentEvent) String added in v0.21.0

func (s DeploymentEvent) String() string

String returns the string representation

type DeploymentEventType added in v0.21.0

type DeploymentEventType string
const (
	DeploymentEventTypePercentageUpdated   DeploymentEventType = "PERCENTAGE_UPDATED"
	DeploymentEventTypeRollbackStarted     DeploymentEventType = "ROLLBACK_STARTED"
	DeploymentEventTypeRollbackCompleted   DeploymentEventType = "ROLLBACK_COMPLETED"
	DeploymentEventTypeBakeTimeStarted     DeploymentEventType = "BAKE_TIME_STARTED"
	DeploymentEventTypeDeploymentStarted   DeploymentEventType = "DEPLOYMENT_STARTED"
	DeploymentEventTypeDeploymentCompleted DeploymentEventType = "DEPLOYMENT_COMPLETED"
)

Enum values for DeploymentEventType

func (DeploymentEventType) MarshalValue added in v0.21.0

func (enum DeploymentEventType) MarshalValue() (string, error)

func (DeploymentEventType) MarshalValueBuf added in v0.21.0

func (enum DeploymentEventType) MarshalValueBuf(b []byte) ([]byte, error)

type DeploymentState

type DeploymentState string
const (
	DeploymentStateBaking      DeploymentState = "BAKING"
	DeploymentStateValidating  DeploymentState = "VALIDATING"
	DeploymentStateDeploying   DeploymentState = "DEPLOYING"
	DeploymentStateComplete    DeploymentState = "COMPLETE"
	DeploymentStateRollingBack DeploymentState = "ROLLING_BACK"
	DeploymentStateRolledBack  DeploymentState = "ROLLED_BACK"
)

Enum values for DeploymentState

func (DeploymentState) MarshalValue

func (enum DeploymentState) MarshalValue() (string, error)

func (DeploymentState) MarshalValueBuf

func (enum DeploymentState) MarshalValueBuf(b []byte) ([]byte, error)

type DeploymentStrategy

type DeploymentStrategy struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (DeploymentStrategy) MarshalFields

func (s DeploymentStrategy) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeploymentStrategy) String

func (s DeploymentStrategy) String() string

String returns the string representation

type DeploymentSummary

type DeploymentSummary struct {

	// Time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The version of the configuration.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The amount of time AppConfig monitors for alarms before considering the deployment
	// to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grows over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// Time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Information about the deployment.

func (DeploymentSummary) MarshalFields

func (s DeploymentSummary) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (DeploymentSummary) String

func (s DeploymentSummary) String() string

String returns the string representation

type Environment

type Environment struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"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 EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (Environment) MarshalFields

func (s Environment) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Environment) String

func (s Environment) String() string

String returns the string representation

type EnvironmentState

type EnvironmentState string
const (
	EnvironmentStateReadyForDeployment EnvironmentState = "READY_FOR_DEPLOYMENT"
	EnvironmentStateDeploying          EnvironmentState = "DEPLOYING"
	EnvironmentStateRollingBack        EnvironmentState = "ROLLING_BACK"
	EnvironmentStateRolledBack         EnvironmentState = "ROLLED_BACK"
)

Enum values for EnvironmentState

func (EnvironmentState) MarshalValue

func (enum EnvironmentState) MarshalValue() (string, error)

func (EnvironmentState) MarshalValueBuf

func (enum EnvironmentState) MarshalValueBuf(b []byte) ([]byte, error)

type GetApplicationInput

type GetApplicationInput struct {

	// The ID of the application you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetApplicationInput) MarshalFields

func (s GetApplicationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApplicationInput) String

func (s GetApplicationInput) String() string

String returns the string representation

func (*GetApplicationInput) Validate

func (s *GetApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetApplicationOutput

type GetApplicationOutput struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetApplicationOutput) MarshalFields

func (s GetApplicationOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetApplicationOutput) String

func (s GetApplicationOutput) String() string

String returns the string representation

type GetApplicationRequest

type GetApplicationRequest struct {
	*aws.Request
	Input *GetApplicationInput
	Copy  func(*GetApplicationInput) GetApplicationRequest
}

GetApplicationRequest is the request type for the GetApplication API operation.

func (GetApplicationRequest) Send

Send marshals and sends the GetApplication API request.

type GetApplicationResponse

type GetApplicationResponse struct {
	*GetApplicationOutput
	// contains filtered or unexported fields
}

GetApplicationResponse is the response type for the GetApplication API operation.

func (*GetApplicationResponse) SDKResponseMetdata

func (r *GetApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetApplication request.

type GetConfigurationInput

type GetConfigurationInput struct {

	// The application to get. Specify either the application name or the application
	// ID.
	//
	// Application is a required field
	Application *string `location:"uri" locationName:"Application" min:"1" type:"string" required:"true"`

	// The configuration version returned in the most recent GetConfiguration response.
	//
	// AWS 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 that you include the ClientConfigurationVersion
	// value with every call to GetConfiguration. This value must be saved on your
	// client. Subsequent calls to GetConfiguration must pass this value by using
	// the ClientConfigurationVersion parameter.
	//
	// For more information about working with configurations, see Retrieving the
	// Configuration (https://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-retrieving-the-configuration.html)
	// in the AWS AppConfig User Guide.
	ClientConfigurationVersion *string `location:"querystring" locationName:"client_configuration_version" min:"1" type:"string"`

	// A unique ID to identify the client for the configuration. This ID enables
	// AppConfig to deploy the configuration in intervals, as defined in the deployment
	// strategy.
	//
	// ClientId is a required field
	ClientId *string `location:"querystring" locationName:"client_id" min:"1" type:"string" required:"true"`

	// The configuration to get. Specify either the configuration name or the configuration
	// ID.
	//
	// Configuration is a required field
	Configuration *string `location:"uri" locationName:"Configuration" min:"1" type:"string" required:"true"`

	// The environment to get. Specify either the environment name or the environment
	// ID.
	//
	// Environment is a required field
	Environment *string `location:"uri" locationName:"Environment" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetConfigurationInput) MarshalFields

func (s GetConfigurationInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationInput) String

func (s GetConfigurationInput) String() string

String returns the string representation

func (*GetConfigurationInput) Validate

func (s *GetConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetConfigurationOutput

type GetConfigurationOutput struct {

	// The configuration version.
	ConfigurationVersion *string `location:"header" locationName:"Configuration-Version" min:"1" type:"string"`

	// The content of the configuration or the configuration data.
	Content []byte `type:"blob" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `location:"header" locationName:"Content-Type" type:"string"`
	// contains filtered or unexported fields
}

func (GetConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationOutput) String

func (s GetConfigurationOutput) String() string

String returns the string representation

type GetConfigurationProfileInput

type GetConfigurationProfileInput struct {

	// The ID of the application that includes the configuration profile you want
	// to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile you want to get.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationProfileInput) String

String returns the string representation

func (*GetConfigurationProfileInput) Validate

func (s *GetConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetConfigurationProfileOutput

type GetConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (GetConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetConfigurationProfileOutput) String

String returns the string representation

type GetConfigurationProfileRequest

type GetConfigurationProfileRequest struct {
	*aws.Request
	Input *GetConfigurationProfileInput
	Copy  func(*GetConfigurationProfileInput) GetConfigurationProfileRequest
}

GetConfigurationProfileRequest is the request type for the GetConfigurationProfile API operation.

func (GetConfigurationProfileRequest) Send

Send marshals and sends the GetConfigurationProfile API request.

type GetConfigurationProfileResponse

type GetConfigurationProfileResponse struct {
	*GetConfigurationProfileOutput
	// contains filtered or unexported fields
}

GetConfigurationProfileResponse is the response type for the GetConfigurationProfile API operation.

func (*GetConfigurationProfileResponse) SDKResponseMetdata

func (r *GetConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetConfigurationProfile request.

type GetConfigurationRequest

type GetConfigurationRequest struct {
	*aws.Request
	Input *GetConfigurationInput
	Copy  func(*GetConfigurationInput) GetConfigurationRequest
}

GetConfigurationRequest is the request type for the GetConfiguration API operation.

func (GetConfigurationRequest) Send

Send marshals and sends the GetConfiguration API request.

type GetConfigurationResponse

type GetConfigurationResponse struct {
	*GetConfigurationOutput
	// contains filtered or unexported fields
}

GetConfigurationResponse is the response type for the GetConfiguration API operation.

func (*GetConfigurationResponse) SDKResponseMetdata

func (r *GetConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetConfiguration request.

type GetDeploymentInput

type GetDeploymentInput struct {

	// The ID of the application that includes the deployment you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The sequence number of the deployment.
	//
	// DeploymentNumber is a required field
	DeploymentNumber *int64 `location:"uri" locationName:"DeploymentNumber" type:"integer" required:"true"`

	// The ID of the environment that includes the deployment you want to get.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentInput) MarshalFields

func (s GetDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentInput) String

func (s GetDeploymentInput) String() string

String returns the string representation

func (*GetDeploymentInput) Validate

func (s *GetDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDeploymentOutput

type GetDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

	// The description of the deployment.
	Description *string `type:"string"`

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// A list containing all events related to a deployment. The most recent events
	// are displayed first.
	EventLog []DeploymentEvent `type:"list"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentOutput) MarshalFields

func (s GetDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentOutput) String

func (s GetDeploymentOutput) String() string

String returns the string representation

type GetDeploymentRequest

type GetDeploymentRequest struct {
	*aws.Request
	Input *GetDeploymentInput
	Copy  func(*GetDeploymentInput) GetDeploymentRequest
}

GetDeploymentRequest is the request type for the GetDeployment API operation.

func (GetDeploymentRequest) Send

Send marshals and sends the GetDeployment API request.

type GetDeploymentResponse

type GetDeploymentResponse struct {
	*GetDeploymentOutput
	// contains filtered or unexported fields
}

GetDeploymentResponse is the response type for the GetDeployment API operation.

func (*GetDeploymentResponse) SDKResponseMetdata

func (r *GetDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDeployment request.

type GetDeploymentStrategyInput

type GetDeploymentStrategyInput struct {

	// The ID of the deployment strategy to get.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentStrategyInput) String

String returns the string representation

func (*GetDeploymentStrategyInput) Validate

func (s *GetDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDeploymentStrategyOutput

type GetDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetDeploymentStrategyOutput) String

String returns the string representation

type GetDeploymentStrategyRequest

type GetDeploymentStrategyRequest struct {
	*aws.Request
	Input *GetDeploymentStrategyInput
	Copy  func(*GetDeploymentStrategyInput) GetDeploymentStrategyRequest
}

GetDeploymentStrategyRequest is the request type for the GetDeploymentStrategy API operation.

func (GetDeploymentStrategyRequest) Send

Send marshals and sends the GetDeploymentStrategy API request.

type GetDeploymentStrategyResponse

type GetDeploymentStrategyResponse struct {
	*GetDeploymentStrategyOutput
	// contains filtered or unexported fields
}

GetDeploymentStrategyResponse is the response type for the GetDeploymentStrategy API operation.

func (*GetDeploymentStrategyResponse) SDKResponseMetdata

func (r *GetDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDeploymentStrategy request.

type GetEnvironmentInput

type GetEnvironmentInput struct {

	// The ID of the application that includes the environment you want to get.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the environment you wnat to get.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetEnvironmentInput) MarshalFields

func (s GetEnvironmentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEnvironmentInput) String

func (s GetEnvironmentInput) String() string

String returns the string representation

func (*GetEnvironmentInput) Validate

func (s *GetEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetEnvironmentOutput

type GetEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"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 EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetEnvironmentOutput) MarshalFields

func (s GetEnvironmentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetEnvironmentOutput) String

func (s GetEnvironmentOutput) String() string

String returns the string representation

type GetEnvironmentRequest

type GetEnvironmentRequest struct {
	*aws.Request
	Input *GetEnvironmentInput
	Copy  func(*GetEnvironmentInput) GetEnvironmentRequest
}

GetEnvironmentRequest is the request type for the GetEnvironment API operation.

func (GetEnvironmentRequest) Send

Send marshals and sends the GetEnvironment API request.

type GetEnvironmentResponse

type GetEnvironmentResponse struct {
	*GetEnvironmentOutput
	// contains filtered or unexported fields
}

GetEnvironmentResponse is the response type for the GetEnvironment API operation.

func (*GetEnvironmentResponse) SDKResponseMetdata

func (r *GetEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetEnvironment request.

type GetHostedConfigurationVersionInput added in v0.24.0

type GetHostedConfigurationVersionInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The version.
	//
	// VersionNumber is a required field
	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

func (GetHostedConfigurationVersionInput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetHostedConfigurationVersionInput) String added in v0.24.0

String returns the string representation

func (*GetHostedConfigurationVersionInput) Validate added in v0.24.0

Validate inspects the fields of the type to determine if they are valid.

type GetHostedConfigurationVersionOutput added in v0.24.0

type GetHostedConfigurationVersionOutput struct {

	// The application ID.
	ApplicationId *string `location:"header" locationName:"Application-Id" type:"string"`

	// The configuration profile ID.
	ConfigurationProfileId *string `location:"header" locationName:"Configuration-Profile-Id" type:"string"`

	// The content of the configuration or the configuration data.
	Content []byte `type:"blob" sensitive:"true"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `location:"header" locationName:"Content-Type" min:"1" type:"string"`

	// A description of the configuration.
	Description *string `location:"header" locationName:"Description" type:"string"`

	// The configuration version.
	VersionNumber *int64 `location:"header" locationName:"Version-Number" type:"integer"`
	// contains filtered or unexported fields
}

func (GetHostedConfigurationVersionOutput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (GetHostedConfigurationVersionOutput) String added in v0.24.0

String returns the string representation

type GetHostedConfigurationVersionRequest added in v0.24.0

type GetHostedConfigurationVersionRequest struct {
	*aws.Request
	Input *GetHostedConfigurationVersionInput
	Copy  func(*GetHostedConfigurationVersionInput) GetHostedConfigurationVersionRequest
}

GetHostedConfigurationVersionRequest is the request type for the GetHostedConfigurationVersion API operation.

func (GetHostedConfigurationVersionRequest) Send added in v0.24.0

Send marshals and sends the GetHostedConfigurationVersion API request.

type GetHostedConfigurationVersionResponse added in v0.24.0

type GetHostedConfigurationVersionResponse struct {
	*GetHostedConfigurationVersionOutput
	// contains filtered or unexported fields
}

GetHostedConfigurationVersionResponse is the response type for the GetHostedConfigurationVersion API operation.

func (*GetHostedConfigurationVersionResponse) SDKResponseMetdata added in v0.24.0

func (r *GetHostedConfigurationVersionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetHostedConfigurationVersion request.

type GrowthType

type GrowthType string
const (
	GrowthTypeLinear      GrowthType = "LINEAR"
	GrowthTypeExponential GrowthType = "EXPONENTIAL"
)

Enum values for GrowthType

func (GrowthType) MarshalValue

func (enum GrowthType) MarshalValue() (string, error)

func (GrowthType) MarshalValueBuf

func (enum GrowthType) MarshalValueBuf(b []byte) ([]byte, error)

type HostedConfigurationVersionSummary added in v0.24.0

type HostedConfigurationVersionSummary struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile ID.
	ConfigurationProfileId *string `type:"string"`

	// A standard MIME type describing the format of the configuration content.
	// For more information, see Content-Type (https://docs.aws.amazon.com/https:/www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType *string `min:"1" type:"string"`

	// A description of the configuration.
	Description *string `type:"string"`

	// The configuration version.
	VersionNumber *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Information about the configuration.

func (HostedConfigurationVersionSummary) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (HostedConfigurationVersionSummary) String added in v0.24.0

String returns the string representation

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 *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsInput) MarshalFields

func (s ListApplicationsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationsInput) String

func (s ListApplicationsInput) String() string

String returns the string representation

func (*ListApplicationsInput) Validate

func (s *ListApplicationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListApplicationsOutput

type ListApplicationsOutput struct {

	// The elements from this collection.
	Items []Application `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListApplicationsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListApplicationsOutput) String

func (s ListApplicationsOutput) String() string

String returns the string representation

type ListApplicationsPaginator

type ListApplicationsPaginator struct {
	aws.Pager
}

ListApplicationsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListApplicationsPaginator

func NewListApplicationsPaginator(req ListApplicationsRequest) ListApplicationsPaginator

NewListApplicationsRequestPaginator returns a paginator for ListApplications. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListApplicationsRequest(input)
p := appconfig.NewListApplicationsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListApplicationsPaginator) CurrentPage

type ListApplicationsRequest

type ListApplicationsRequest struct {
	*aws.Request
	Input *ListApplicationsInput
	Copy  func(*ListApplicationsInput) ListApplicationsRequest
}

ListApplicationsRequest is the request type for the ListApplications API operation.

func (ListApplicationsRequest) Send

Send marshals and sends the ListApplications API request.

type ListApplicationsResponse

type ListApplicationsResponse struct {
	*ListApplicationsOutput
	// contains filtered or unexported fields
}

ListApplicationsResponse is the response type for the ListApplications API operation.

func (*ListApplicationsResponse) SDKResponseMetdata

func (r *ListApplicationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListApplications request.

type ListConfigurationProfilesInput

type ListConfigurationProfilesInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// 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 *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationProfilesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationProfilesInput) String

String returns the string representation

func (*ListConfigurationProfilesInput) Validate

func (s *ListConfigurationProfilesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListConfigurationProfilesOutput

type ListConfigurationProfilesOutput struct {

	// The elements from this collection.
	Items []ConfigurationProfileSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListConfigurationProfilesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListConfigurationProfilesOutput) String

String returns the string representation

type ListConfigurationProfilesPaginator

type ListConfigurationProfilesPaginator struct {
	aws.Pager
}

ListConfigurationProfilesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListConfigurationProfilesPaginator

func NewListConfigurationProfilesPaginator(req ListConfigurationProfilesRequest) ListConfigurationProfilesPaginator

NewListConfigurationProfilesRequestPaginator returns a paginator for ListConfigurationProfiles. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListConfigurationProfilesRequest(input)
p := appconfig.NewListConfigurationProfilesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListConfigurationProfilesPaginator) CurrentPage

type ListConfigurationProfilesRequest

type ListConfigurationProfilesRequest struct {
	*aws.Request
	Input *ListConfigurationProfilesInput
	Copy  func(*ListConfigurationProfilesInput) ListConfigurationProfilesRequest
}

ListConfigurationProfilesRequest is the request type for the ListConfigurationProfiles API operation.

func (ListConfigurationProfilesRequest) Send

Send marshals and sends the ListConfigurationProfiles API request.

type ListConfigurationProfilesResponse

type ListConfigurationProfilesResponse struct {
	*ListConfigurationProfilesOutput
	// contains filtered or unexported fields
}

ListConfigurationProfilesResponse is the response type for the ListConfigurationProfiles API operation.

func (*ListConfigurationProfilesResponse) SDKResponseMetdata

func (r *ListConfigurationProfilesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListConfigurationProfiles request.

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 *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentStrategiesInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentStrategiesInput) String

String returns the string representation

func (*ListDeploymentStrategiesInput) Validate

func (s *ListDeploymentStrategiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDeploymentStrategiesOutput

type ListDeploymentStrategiesOutput struct {

	// The elements from this collection.
	Items []DeploymentStrategy `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentStrategiesOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentStrategiesOutput) String

String returns the string representation

type ListDeploymentStrategiesPaginator

type ListDeploymentStrategiesPaginator struct {
	aws.Pager
}

ListDeploymentStrategiesPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListDeploymentStrategiesPaginator

func NewListDeploymentStrategiesPaginator(req ListDeploymentStrategiesRequest) ListDeploymentStrategiesPaginator

NewListDeploymentStrategiesRequestPaginator returns a paginator for ListDeploymentStrategies. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListDeploymentStrategiesRequest(input)
p := appconfig.NewListDeploymentStrategiesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListDeploymentStrategiesPaginator) CurrentPage

type ListDeploymentStrategiesRequest

type ListDeploymentStrategiesRequest struct {
	*aws.Request
	Input *ListDeploymentStrategiesInput
	Copy  func(*ListDeploymentStrategiesInput) ListDeploymentStrategiesRequest
}

ListDeploymentStrategiesRequest is the request type for the ListDeploymentStrategies API operation.

func (ListDeploymentStrategiesRequest) Send

Send marshals and sends the ListDeploymentStrategies API request.

type ListDeploymentStrategiesResponse

type ListDeploymentStrategiesResponse struct {
	*ListDeploymentStrategiesOutput
	// contains filtered or unexported fields
}

ListDeploymentStrategiesResponse is the response type for the ListDeploymentStrategies API operation.

func (*ListDeploymentStrategiesResponse) SDKResponseMetdata

func (r *ListDeploymentStrategiesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDeploymentStrategies request.

type ListDeploymentsInput

type ListDeploymentsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// 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 *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentsInput) MarshalFields

func (s ListDeploymentsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentsInput) String

func (s ListDeploymentsInput) String() string

String returns the string representation

func (*ListDeploymentsInput) Validate

func (s *ListDeploymentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDeploymentsOutput

type ListDeploymentsOutput struct {

	// The elements from this collection.
	Items []DeploymentSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListDeploymentsOutput) MarshalFields

func (s ListDeploymentsOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListDeploymentsOutput) String

func (s ListDeploymentsOutput) String() string

String returns the string representation

type ListDeploymentsPaginator

type ListDeploymentsPaginator struct {
	aws.Pager
}

ListDeploymentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListDeploymentsPaginator

func NewListDeploymentsPaginator(req ListDeploymentsRequest) ListDeploymentsPaginator

NewListDeploymentsRequestPaginator returns a paginator for ListDeployments. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListDeploymentsRequest(input)
p := appconfig.NewListDeploymentsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListDeploymentsPaginator) CurrentPage

type ListDeploymentsRequest

type ListDeploymentsRequest struct {
	*aws.Request
	Input *ListDeploymentsInput
	Copy  func(*ListDeploymentsInput) ListDeploymentsRequest
}

ListDeploymentsRequest is the request type for the ListDeployments API operation.

func (ListDeploymentsRequest) Send

Send marshals and sends the ListDeployments API request.

type ListDeploymentsResponse

type ListDeploymentsResponse struct {
	*ListDeploymentsOutput
	// contains filtered or unexported fields
}

ListDeploymentsResponse is the response type for the ListDeployments API operation.

func (*ListDeploymentsResponse) SDKResponseMetdata

func (r *ListDeploymentsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListDeployments request.

type ListEnvironmentsInput

type ListEnvironmentsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// 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 *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListEnvironmentsInput) MarshalFields

func (s ListEnvironmentsInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEnvironmentsInput) String

func (s ListEnvironmentsInput) String() string

String returns the string representation

func (*ListEnvironmentsInput) Validate

func (s *ListEnvironmentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListEnvironmentsOutput

type ListEnvironmentsOutput struct {

	// The elements from this collection.
	Items []Environment `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListEnvironmentsOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListEnvironmentsOutput) String

func (s ListEnvironmentsOutput) String() string

String returns the string representation

type ListEnvironmentsPaginator

type ListEnvironmentsPaginator struct {
	aws.Pager
}

ListEnvironmentsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListEnvironmentsPaginator

func NewListEnvironmentsPaginator(req ListEnvironmentsRequest) ListEnvironmentsPaginator

NewListEnvironmentsRequestPaginator returns a paginator for ListEnvironments. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListEnvironmentsRequest(input)
p := appconfig.NewListEnvironmentsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListEnvironmentsPaginator) CurrentPage

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {
	*aws.Request
	Input *ListEnvironmentsInput
	Copy  func(*ListEnvironmentsInput) ListEnvironmentsRequest
}

ListEnvironmentsRequest is the request type for the ListEnvironments API operation.

func (ListEnvironmentsRequest) Send

Send marshals and sends the ListEnvironments API request.

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {
	*ListEnvironmentsOutput
	// contains filtered or unexported fields
}

ListEnvironmentsResponse is the response type for the ListEnvironments API operation.

func (*ListEnvironmentsResponse) SDKResponseMetdata

func (r *ListEnvironmentsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListEnvironments request.

type ListHostedConfigurationVersionsInput added in v0.24.0

type ListHostedConfigurationVersionsInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// 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 *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`

	// A token to start the list. Use this token to get the next set of results.
	NextToken *string `location:"querystring" locationName:"next_token" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListHostedConfigurationVersionsInput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListHostedConfigurationVersionsInput) String added in v0.24.0

String returns the string representation

func (*ListHostedConfigurationVersionsInput) Validate added in v0.24.0

Validate inspects the fields of the type to determine if they are valid.

type ListHostedConfigurationVersionsOutput added in v0.24.0

type ListHostedConfigurationVersionsOutput struct {

	// The elements from this collection.
	Items []HostedConfigurationVersionSummary `type:"list"`

	// The token for the next set of items to return. Use this token to get the
	// next set of results.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListHostedConfigurationVersionsOutput) MarshalFields added in v0.24.0

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListHostedConfigurationVersionsOutput) String added in v0.24.0

String returns the string representation

type ListHostedConfigurationVersionsPaginator added in v0.24.0

type ListHostedConfigurationVersionsPaginator struct {
	aws.Pager
}

ListHostedConfigurationVersionsPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListHostedConfigurationVersionsPaginator added in v0.24.0

func NewListHostedConfigurationVersionsPaginator(req ListHostedConfigurationVersionsRequest) ListHostedConfigurationVersionsPaginator

NewListHostedConfigurationVersionsRequestPaginator returns a paginator for ListHostedConfigurationVersions. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListHostedConfigurationVersionsRequest(input)
p := appconfig.NewListHostedConfigurationVersionsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListHostedConfigurationVersionsPaginator) CurrentPage added in v0.24.0

type ListHostedConfigurationVersionsRequest added in v0.24.0

type ListHostedConfigurationVersionsRequest struct {
	*aws.Request
	Input *ListHostedConfigurationVersionsInput
	Copy  func(*ListHostedConfigurationVersionsInput) ListHostedConfigurationVersionsRequest
}

ListHostedConfigurationVersionsRequest is the request type for the ListHostedConfigurationVersions API operation.

func (ListHostedConfigurationVersionsRequest) Send added in v0.24.0

Send marshals and sends the ListHostedConfigurationVersions API request.

type ListHostedConfigurationVersionsResponse added in v0.24.0

type ListHostedConfigurationVersionsResponse struct {
	*ListHostedConfigurationVersionsOutput
	// contains filtered or unexported fields
}

ListHostedConfigurationVersionsResponse is the response type for the ListHostedConfigurationVersions API operation.

func (*ListHostedConfigurationVersionsResponse) SDKResponseMetdata added in v0.24.0

func (r *ListHostedConfigurationVersionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListHostedConfigurationVersions request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The resource ARN.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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 `type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type Monitor

type Monitor struct {

	// ARN of the Amazon CloudWatch alarm.
	AlarmArn *string `min:"20" type:"string"`

	// ARN of an IAM role for AppConfig to monitor AlarmArn.
	AlarmRoleArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

Amazon CloudWatch alarms to monitor during the deployment process.

func (Monitor) MarshalFields

func (s Monitor) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Monitor) String

func (s Monitor) String() string

String returns the string representation

func (*Monitor) Validate

func (s *Monitor) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReplicateTo

type ReplicateTo string
const (
	ReplicateToNone        ReplicateTo = "NONE"
	ReplicateToSsmDocument ReplicateTo = "SSM_DOCUMENT"
)

Enum values for ReplicateTo

func (ReplicateTo) MarshalValue

func (enum ReplicateTo) MarshalValue() (string, error)

func (ReplicateTo) MarshalValueBuf

func (enum ReplicateTo) MarshalValueBuf(b []byte) ([]byte, error)

type StartDeploymentInput

type StartDeploymentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `type:"string" required:"true"`

	// The configuration version to deploy.
	//
	// ConfigurationVersion is a required field
	ConfigurationVersion *string `min:"1" type:"string" required:"true"`

	// The deployment strategy ID.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `type:"string" required:"true"`

	// A description of the deployment.
	Description *string `type:"string"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// 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 `type:"map"`
	// contains filtered or unexported fields
}

func (StartDeploymentInput) MarshalFields

func (s StartDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartDeploymentInput) String

func (s StartDeploymentInput) String() string

String returns the string representation

func (*StartDeploymentInput) Validate

func (s *StartDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartDeploymentOutput

type StartDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

	// The description of the deployment.
	Description *string `type:"string"`

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// A list containing all events related to a deployment. The most recent events
	// are displayed first.
	EventLog []DeploymentEvent `type:"list"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (StartDeploymentOutput) MarshalFields

func (s StartDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StartDeploymentOutput) String

func (s StartDeploymentOutput) String() string

String returns the string representation

type StartDeploymentRequest

type StartDeploymentRequest struct {
	*aws.Request
	Input *StartDeploymentInput
	Copy  func(*StartDeploymentInput) StartDeploymentRequest
}

StartDeploymentRequest is the request type for the StartDeployment API operation.

func (StartDeploymentRequest) Send

Send marshals and sends the StartDeployment API request.

type StartDeploymentResponse

type StartDeploymentResponse struct {
	*StartDeploymentOutput
	// contains filtered or unexported fields
}

StartDeploymentResponse is the response type for the StartDeployment API operation.

func (*StartDeploymentResponse) SDKResponseMetdata

func (r *StartDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartDeployment request.

type StopDeploymentInput

type StopDeploymentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The sequence number of the deployment.
	//
	// DeploymentNumber is a required field
	DeploymentNumber *int64 `location:"uri" locationName:"DeploymentNumber" type:"integer" required:"true"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopDeploymentInput) MarshalFields

func (s StopDeploymentInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopDeploymentInput) String

func (s StopDeploymentInput) String() string

String returns the string representation

func (*StopDeploymentInput) Validate

func (s *StopDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopDeploymentOutput

type StopDeploymentOutput struct {

	// The ID of the application that was deployed.
	ApplicationId *string `type:"string"`

	// The time the deployment completed.
	CompletedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the source location of the configuration.
	ConfigurationLocationUri *string `min:"1" type:"string"`

	// The name of the configuration.
	ConfigurationName *string `min:"1" type:"string"`

	// The ID of the configuration profile that was deployed.
	ConfigurationProfileId *string `type:"string"`

	// The configuration version that was deployed.
	ConfigurationVersion *string `min:"1" type:"string"`

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The sequence number of the deployment.
	DeploymentNumber *int64 `type:"integer"`

	// The ID of the deployment strategy that was deployed.
	DeploymentStrategyId *string `type:"string"`

	// The description of the deployment.
	Description *string `type:"string"`

	// The ID of the environment that was deployed.
	EnvironmentId *string `type:"string"`

	// A list containing all events related to a deployment. The most recent events
	// are displayed first.
	EventLog []DeploymentEvent `type:"list"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The percentage of targets for which the deployment is available.
	PercentageComplete *float64 `min:"1" type:"float"`

	// The time the deployment started.
	StartedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// The state of the deployment.
	State DeploymentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (StopDeploymentOutput) MarshalFields

func (s StopDeploymentOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (StopDeploymentOutput) String

func (s StopDeploymentOutput) String() string

String returns the string representation

type StopDeploymentRequest

type StopDeploymentRequest struct {
	*aws.Request
	Input *StopDeploymentInput
	Copy  func(*StopDeploymentInput) StopDeploymentRequest
}

StopDeploymentRequest is the request type for the StopDeployment API operation.

func (StopDeploymentRequest) Send

Send marshals and sends the StopDeployment API request.

type StopDeploymentResponse

type StopDeploymentResponse struct {
	*StopDeploymentOutput
	// contains filtered or unexported fields
}

StopDeploymentResponse is the response type for the StopDeployment API operation.

func (*StopDeploymentResponse) SDKResponseMetdata

func (r *StopDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopDeployment request.

type TagResourceInput

type TagResourceInput struct {

	// The ARN of the resource for which to retrieve tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`

	// 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.
	//
	// Tags is a required field
	Tags map[string]string `type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) MarshalFields

func (s TagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) MarshalFields

func (s TagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type TriggeredBy added in v0.21.0

type TriggeredBy string
const (
	TriggeredByUser            TriggeredBy = "USER"
	TriggeredByAppconfig       TriggeredBy = "APPCONFIG"
	TriggeredByCloudwatchAlarm TriggeredBy = "CLOUDWATCH_ALARM"
	TriggeredByInternalError   TriggeredBy = "INTERNAL_ERROR"
)

Enum values for TriggeredBy

func (TriggeredBy) MarshalValue added in v0.21.0

func (enum TriggeredBy) MarshalValue() (string, error)

func (TriggeredBy) MarshalValueBuf added in v0.21.0

func (enum TriggeredBy) MarshalValueBuf(b []byte) ([]byte, error)

type UntagResourceInput

type UntagResourceInput struct {

	// The ARN of the resource for which to remove tags.
	//
	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"ResourceArn" min:"20" type:"string" required:"true"`

	// The tag keys to delete.
	//
	// TagKeys is a required field
	TagKeys []string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) MarshalFields

func (s UntagResourceInput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) MarshalFields

func (s UntagResourceOutput) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateApplicationInput

type UpdateApplicationInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the application.
	Description *string `type:"string"`

	// The name of the application.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateApplicationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApplicationInput) String

func (s UpdateApplicationInput) String() string

String returns the string representation

func (*UpdateApplicationInput) Validate

func (s *UpdateApplicationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateApplicationOutput

type UpdateApplicationOutput struct {

	// The description of the application.
	Description *string `type:"string"`

	// The application ID.
	Id *string `type:"string"`

	// The application name.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateApplicationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateApplicationOutput) String

func (s UpdateApplicationOutput) String() string

String returns the string representation

type UpdateApplicationRequest

type UpdateApplicationRequest struct {
	*aws.Request
	Input *UpdateApplicationInput
	Copy  func(*UpdateApplicationInput) UpdateApplicationRequest
}

UpdateApplicationRequest is the request type for the UpdateApplication API operation.

func (UpdateApplicationRequest) Send

Send marshals and sends the UpdateApplication API request.

type UpdateApplicationResponse

type UpdateApplicationResponse struct {
	*UpdateApplicationOutput
	// contains filtered or unexported fields
}

UpdateApplicationResponse is the response type for the UpdateApplication API operation.

func (*UpdateApplicationResponse) SDKResponseMetdata

func (r *UpdateApplicationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApplication request.

type UpdateConfigurationProfileInput

type UpdateConfigurationProfileInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The ID of the configuration profile.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// A description of the configuration profile.
	Description *string `type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationProfileInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationProfileInput) String

String returns the string representation

func (*UpdateConfigurationProfileInput) Validate

func (s *UpdateConfigurationProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateConfigurationProfileOutput

type UpdateConfigurationProfileOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The configuration profile description.
	Description *string `type:"string"`

	// The configuration profile ID.
	Id *string `type:"string"`

	// The URI location of the configuration.
	LocationUri *string `min:"1" type:"string"`

	// The name of the configuration profile.
	Name *string `min:"1" type:"string"`

	// The ARN of an IAM role with permission to access the configuration at the
	// specified LocationUri.
	RetrievalRoleArn *string `min:"20" type:"string"`

	// A list of methods for validating the configuration.
	Validators []Validator `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateConfigurationProfileOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateConfigurationProfileOutput) String

String returns the string representation

type UpdateConfigurationProfileRequest

type UpdateConfigurationProfileRequest struct {
	*aws.Request
	Input *UpdateConfigurationProfileInput
	Copy  func(*UpdateConfigurationProfileInput) UpdateConfigurationProfileRequest
}

UpdateConfigurationProfileRequest is the request type for the UpdateConfigurationProfile API operation.

func (UpdateConfigurationProfileRequest) Send

Send marshals and sends the UpdateConfigurationProfile API request.

type UpdateConfigurationProfileResponse

type UpdateConfigurationProfileResponse struct {
	*UpdateConfigurationProfileOutput
	// contains filtered or unexported fields
}

UpdateConfigurationProfileResponse is the response type for the UpdateConfigurationProfile API operation.

func (*UpdateConfigurationProfileResponse) SDKResponseMetdata

func (r *UpdateConfigurationProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateConfigurationProfile request.

type UpdateDeploymentStrategyInput

type UpdateDeploymentStrategyInput struct {

	// Total amount of time for a deployment to last.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The deployment strategy ID.
	//
	// DeploymentStrategyId is a required field
	DeploymentStrategyId *string `location:"uri" locationName:"DeploymentStrategyId" type:"string" required:"true"`

	// A description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitors for alarms before considering the deployment
	// to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets to receive a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grows over time. AWS 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 GrowthType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentStrategyInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDeploymentStrategyInput) String

String returns the string representation

func (*UpdateDeploymentStrategyInput) Validate

func (s *UpdateDeploymentStrategyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDeploymentStrategyOutput

type UpdateDeploymentStrategyOutput struct {

	// Total amount of time the deployment lasted.
	DeploymentDurationInMinutes *int64 `type:"integer"`

	// The description of the deployment strategy.
	Description *string `type:"string"`

	// The amount of time AppConfig monitored for alarms before considering the
	// deployment to be complete and no longer eligible for automatic roll back.
	FinalBakeTimeInMinutes *int64 `type:"integer"`

	// The percentage of targets that received a deployed configuration during each
	// interval.
	GrowthFactor *float64 `min:"1" type:"float"`

	// The algorithm used to define how percentage grew over time.
	GrowthType GrowthType `type:"string" enum:"true"`

	// The deployment strategy ID.
	Id *string `type:"string"`

	// The name of the deployment strategy.
	Name *string `min:"1" type:"string"`

	// Save the deployment strategy to a Systems Manager (SSM) document.
	ReplicateTo ReplicateTo `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateDeploymentStrategyOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateDeploymentStrategyOutput) String

String returns the string representation

type UpdateDeploymentStrategyRequest

type UpdateDeploymentStrategyRequest struct {
	*aws.Request
	Input *UpdateDeploymentStrategyInput
	Copy  func(*UpdateDeploymentStrategyInput) UpdateDeploymentStrategyRequest
}

UpdateDeploymentStrategyRequest is the request type for the UpdateDeploymentStrategy API operation.

func (UpdateDeploymentStrategyRequest) Send

Send marshals and sends the UpdateDeploymentStrategy API request.

type UpdateDeploymentStrategyResponse

type UpdateDeploymentStrategyResponse struct {
	*UpdateDeploymentStrategyOutput
	// contains filtered or unexported fields
}

UpdateDeploymentStrategyResponse is the response type for the UpdateDeploymentStrategy API operation.

func (*UpdateDeploymentStrategyResponse) SDKResponseMetdata

func (r *UpdateDeploymentStrategyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDeploymentStrategy request.

type UpdateEnvironmentInput

type UpdateEnvironmentInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// A description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	//
	// EnvironmentId is a required field
	EnvironmentId *string `location:"uri" locationName:"EnvironmentId" type:"string" required:"true"`

	// Amazon CloudWatch alarms to monitor during the deployment process.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateEnvironmentInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEnvironmentInput) String

func (s UpdateEnvironmentInput) String() string

String returns the string representation

func (*UpdateEnvironmentInput) Validate

func (s *UpdateEnvironmentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateEnvironmentOutput

type UpdateEnvironmentOutput struct {

	// The application ID.
	ApplicationId *string `type:"string"`

	// The description of the environment.
	Description *string `type:"string"`

	// The environment ID.
	Id *string `type:"string"`

	// Amazon CloudWatch alarms monitored during the deployment.
	Monitors []Monitor `type:"list"`

	// The name of the environment.
	Name *string `min:"1" type:"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 EnvironmentState `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateEnvironmentOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (UpdateEnvironmentOutput) String

func (s UpdateEnvironmentOutput) String() string

String returns the string representation

type UpdateEnvironmentRequest

type UpdateEnvironmentRequest struct {
	*aws.Request
	Input *UpdateEnvironmentInput
	Copy  func(*UpdateEnvironmentInput) UpdateEnvironmentRequest
}

UpdateEnvironmentRequest is the request type for the UpdateEnvironment API operation.

func (UpdateEnvironmentRequest) Send

Send marshals and sends the UpdateEnvironment API request.

type UpdateEnvironmentResponse

type UpdateEnvironmentResponse struct {
	*UpdateEnvironmentOutput
	// contains filtered or unexported fields
}

UpdateEnvironmentResponse is the response type for the UpdateEnvironment API operation.

func (*UpdateEnvironmentResponse) SDKResponseMetdata

func (r *UpdateEnvironmentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateEnvironment request.

type ValidateConfigurationInput

type ValidateConfigurationInput struct {

	// The application ID.
	//
	// ApplicationId is a required field
	ApplicationId *string `location:"uri" locationName:"ApplicationId" type:"string" required:"true"`

	// The configuration profile ID.
	//
	// ConfigurationProfileId is a required field
	ConfigurationProfileId *string `location:"uri" locationName:"ConfigurationProfileId" type:"string" required:"true"`

	// The version of the configuration to validate.
	//
	// ConfigurationVersion is a required field
	ConfigurationVersion *string `location:"querystring" locationName:"configuration_version" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ValidateConfigurationInput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ValidateConfigurationInput) String

String returns the string representation

func (*ValidateConfigurationInput) Validate

func (s *ValidateConfigurationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ValidateConfigurationOutput

type ValidateConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (ValidateConfigurationOutput) MarshalFields

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (ValidateConfigurationOutput) String

String returns the string representation

type ValidateConfigurationRequest

type ValidateConfigurationRequest struct {
	*aws.Request
	Input *ValidateConfigurationInput
	Copy  func(*ValidateConfigurationInput) ValidateConfigurationRequest
}

ValidateConfigurationRequest is the request type for the ValidateConfiguration API operation.

func (ValidateConfigurationRequest) Send

Send marshals and sends the ValidateConfiguration API request.

type ValidateConfigurationResponse

type ValidateConfigurationResponse struct {
	*ValidateConfigurationOutput
	// contains filtered or unexported fields
}

ValidateConfigurationResponse is the response type for the ValidateConfiguration API operation.

func (*ValidateConfigurationResponse) SDKResponseMetdata

func (r *ValidateConfigurationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ValidateConfiguration request.

type Validator

type Validator struct {

	// Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS
	// Lambda function.
	//
	// Content is a required field
	Content *string `type:"string" required:"true" sensitive:"true"`

	// AppConfig supports validators of type JSON_SCHEMA and LAMBDA
	//
	// Type is a required field
	Type ValidatorType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

A validator provides a syntactic or semantic check to ensure the configuration you want to deploy functions as intended. To validate your application configuration data, you provide a schema or a Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.

func (Validator) MarshalFields

func (s Validator) MarshalFields(e protocol.FieldEncoder) error

MarshalFields encodes the AWS API shape using the passed in protocol encoder.

func (Validator) String

func (s Validator) String() string

String returns the string representation

func (*Validator) Validate

func (s *Validator) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ValidatorType

type ValidatorType string
const (
	ValidatorTypeJsonSchema ValidatorType = "JSON_SCHEMA"
	ValidatorTypeLambda     ValidatorType = "LAMBDA"
)

Enum values for ValidatorType

func (ValidatorType) MarshalValue

func (enum ValidatorType) MarshalValue() (string, error)

func (ValidatorType) MarshalValueBuf

func (enum ValidatorType) MarshalValueBuf(b []byte) ([]byte, error)

Directories

Path Synopsis
Package appconfigiface provides an interface to enable mocking the Amazon AppConfig service client for testing your code.
Package appconfigiface provides an interface to enable mocking the Amazon AppConfig service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL