Update Go AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2019-07-13 00:03:55 +03:00
committed by Andrey Smirnov
parent d08be990ef
commit 94a72b23ff
2183 changed files with 885887 additions and 228114 deletions
File diff suppressed because it is too large Load Diff
@@ -75,6 +75,14 @@ type AutoScalingPlansAPI interface {
DescribeScalingPlans(*autoscalingplans.DescribeScalingPlansInput) (*autoscalingplans.DescribeScalingPlansOutput, error)
DescribeScalingPlansWithContext(aws.Context, *autoscalingplans.DescribeScalingPlansInput, ...request.Option) (*autoscalingplans.DescribeScalingPlansOutput, error)
DescribeScalingPlansRequest(*autoscalingplans.DescribeScalingPlansInput) (*request.Request, *autoscalingplans.DescribeScalingPlansOutput)
GetScalingPlanResourceForecastData(*autoscalingplans.GetScalingPlanResourceForecastDataInput) (*autoscalingplans.GetScalingPlanResourceForecastDataOutput, error)
GetScalingPlanResourceForecastDataWithContext(aws.Context, *autoscalingplans.GetScalingPlanResourceForecastDataInput, ...request.Option) (*autoscalingplans.GetScalingPlanResourceForecastDataOutput, error)
GetScalingPlanResourceForecastDataRequest(*autoscalingplans.GetScalingPlanResourceForecastDataInput) (*request.Request, *autoscalingplans.GetScalingPlanResourceForecastDataOutput)
UpdateScalingPlan(*autoscalingplans.UpdateScalingPlanInput) (*autoscalingplans.UpdateScalingPlanOutput, error)
UpdateScalingPlanWithContext(aws.Context, *autoscalingplans.UpdateScalingPlanInput, ...request.Option) (*autoscalingplans.UpdateScalingPlanOutput, error)
UpdateScalingPlanRequest(*autoscalingplans.UpdateScalingPlanInput) (*request.Request, *autoscalingplans.UpdateScalingPlanOutput)
}
var _ AutoScalingPlansAPI = (*autoscalingplans.AutoScalingPlans)(nil)
+10 -7
View File
@@ -4,14 +4,17 @@
// requests to AWS Auto Scaling Plans.
//
// Use AWS Auto Scaling to quickly discover all the scalable AWS resources for
// your application and configure dynamic scaling for your scalable resources.
// your application and configure dynamic scaling and predictive scaling for
// your resources using scaling plans. Use this service in conjunction with
// the Amazon EC2 Auto Scaling, Application Auto Scaling, Amazon CloudWatch,
// and AWS CloudFormation services.
//
// To get started, create a scaling plan with a set of instructions used to
// configure dynamic scaling for the scalable resources in your application.
// AWS Auto Scaling creates target tracking scaling policies for the scalable
// resources in your scaling plan. Target tracking scaling policies adjust the
// capacity of your scalable resource as required to maintain resource utilization
// at the target value that you specified.
// Currently, predictive scaling is only available for Amazon EC2 Auto Scaling
// groups.
//
// For more information about AWS Auto Scaling, including information about
// granting IAM users required permissions for AWS Auto Scaling actions, see
// the AWS Auto Scaling User Guide (https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html).
//
// See https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06 for more information on this service.
//
+4 -2
View File
@@ -29,8 +29,9 @@ var initRequest func(*request.Request)
// Service information constants
const (
ServiceName = "autoscaling" // Service endpoint prefix API calls made to.
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
ServiceName = "autoscaling" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
ServiceID = "Auto Scaling Plans" // ServiceID is a unique identifer of a specific service.
)
// New creates a new instance of the AutoScalingPlans client with a session.
@@ -58,6 +59,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
cfg,
metadata.ClientInfo{
ServiceName: ServiceName,
ServiceID: ServiceID,
SigningName: signingName,
SigningRegion: signingRegion,
Endpoint: endpoint,