summaryrefslogtreecommitdiff
path: root/vendor/github.com
diff options
context:
space:
mode:
authorRenovate Bot <bot@renovateapp.com>2019-12-16 19:45:57 +0000
committerRenovate Bot <bot@renovateapp.com>2019-12-16 19:45:57 +0000
commit3c168473cc526cd5b01363f26ed701171bdfb0fe (patch)
tree770d2ce55e9ece752670b0fcea569c5b8152c9db /vendor/github.com
parentb34a2524c222afdf39b65c38aac01a1602a6b650 (diff)
Update module aws/aws-sdk-go to v1.26.3
Diffstat (limited to 'vendor/github.com')
-rw-r--r--vendor/github.com/aws/aws-sdk-go/aws/arn/arn.go7
-rw-r--r--vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go17
-rw-r--r--vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go71
-rw-r--r--vendor/github.com/aws/aws-sdk-go/aws/endpoints/endpoints.go6
-rw-r--r--vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go1
-rw-r--r--vendor/github.com/aws/aws-sdk-go/aws/version.go2
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/ec2/api.go168
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/ec2/service.go2
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/kms/api.go76
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/kms/errors.go8
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/kms/service.go2
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/s3/service.go2
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/secretsmanager/service.go2
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/ssm/api.go237
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go14
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/ssm/service.go2
-rw-r--r--vendor/github.com/aws/aws-sdk-go/service/sts/service.go2
17 files changed, 529 insertions, 90 deletions
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/arn/arn.go b/vendor/github.com/aws/aws-sdk-go/aws/arn/arn.go
index 854f939a..1c496742 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/arn/arn.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/arn/arn.go
@@ -75,10 +75,11 @@ func Parse(arn string) (ARN, error) {
}, nil
}
-// IsARN returns whether the given string is an arn
-// by looking for whether the string starts with arn:
+// IsARN returns whether the given string is an ARN by looking for
+// whether the string starts with "arn:" and contains the correct number
+// of sections delimited by colons(:).
func IsARN(arn string) bool {
- return strings.HasPrefix(arn, arnPrefix) && strings.Count(arn, ":") > arnSections-1
+ return strings.HasPrefix(arn, arnPrefix) && strings.Count(arn, ":") >= arnSections-1
}
// String returns the canonical representation of the ARN
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go b/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go
index 2e528d13..9f37f44b 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go
@@ -144,6 +144,13 @@ type AssumeRoleProvider struct {
// Session name, if you wish to reuse the credentials elsewhere.
RoleSessionName string
+ // Optional, you can pass tag key-value pairs to your session. These tags are called session tags.
+ Tags []*sts.Tag
+
+ // A list of keys for session tags that you want to set as transitive.
+ // If you set a tag key as transitive, the corresponding key and value passes to subsequent sessions in a role chain.
+ TransitiveTagKeys []*string
+
// Expiry duration of the STS credentials. Defaults to 15 minutes if not set.
Duration time.Duration
@@ -269,10 +276,12 @@ func (p *AssumeRoleProvider) Retrieve() (credentials.Value, error) {
}
jitter := time.Duration(sdkrand.SeededRand.Float64() * p.MaxJitterFrac * float64(p.Duration))
input := &sts.AssumeRoleInput{
- DurationSeconds: aws.Int64(int64((p.Duration - jitter) / time.Second)),
- RoleArn: aws.String(p.RoleARN),
- RoleSessionName: aws.String(p.RoleSessionName),
- ExternalId: p.ExternalID,
+ DurationSeconds: aws.Int64(int64((p.Duration - jitter) / time.Second)),
+ RoleArn: aws.String(p.RoleARN),
+ RoleSessionName: aws.String(p.RoleSessionName),
+ ExternalId: p.ExternalID,
+ Tags: p.Tags,
+ TransitiveTagKeys: p.TransitiveTagKeys,
}
if p.Policy != nil {
input.Policy = p.Policy
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
index 767b2f69..887de682 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
@@ -209,12 +209,42 @@ var awsPartition = partition{
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
- "me-south-1": endpoint{},
- "sa-east-1": endpoint{},
- "us-east-1": endpoint{},
- "us-east-2": endpoint{},
- "us-west-1": endpoint{},
- "us-west-2": endpoint{},
+ "fips-ca-central-1": endpoint{
+ Hostname: "acm-pca-fips.ca-central-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "ca-central-1",
+ },
+ },
+ "fips-us-east-1": endpoint{
+ Hostname: "acm-pca-fips.us-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-1",
+ },
+ },
+ "fips-us-east-2": endpoint{
+ Hostname: "acm-pca-fips.us-east-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-2",
+ },
+ },
+ "fips-us-west-1": endpoint{
+ Hostname: "acm-pca-fips.us-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-1",
+ },
+ },
+ "fips-us-west-2": endpoint{
+ Hostname: "acm-pca-fips.us-west-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-2",
+ },
+ },
+ "me-south-1": endpoint{},
+ "sa-east-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
"api.ecr": service{
@@ -523,6 +553,7 @@ var awsPartition = partition{
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
"me-south-1": endpoint{},
+ "sa-east-1": endpoint{},
"us-east-1": endpoint{},
"us-east-2": endpoint{},
"us-west-1": endpoint{},
@@ -856,6 +887,7 @@ var awsPartition = partition{
"codecommit": service{
Endpoints: endpoints{
+ "ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
"ap-south-1": endpoint{},
@@ -1279,6 +1311,12 @@ var awsPartition = partition{
Region: "ap-southeast-2",
},
},
+ "ca-central-1": endpoint{
+ Hostname: "rds.ca-central-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "ca-central-1",
+ },
+ },
"eu-central-1": endpoint{
Hostname: "rds.eu-central-1.amazonaws.com",
CredentialScope: credentialScope{
@@ -2465,9 +2503,10 @@ var awsPartition = partition{
},
},
Endpoints: endpoints{
- "eu-west-1": endpoint{},
- "us-east-1": endpoint{},
- "us-west-2": endpoint{},
+ "ap-southeast-2": endpoint{},
+ "eu-west-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
"monitoring": service{
@@ -3078,9 +3117,10 @@ var awsPartition = partition{
},
},
Endpoints: endpoints{
- "eu-west-1": endpoint{},
- "us-east-1": endpoint{},
- "us-west-2": endpoint{},
+ "ap-southeast-2": endpoint{},
+ "eu-west-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
"runtime.sagemaker": service{
@@ -4579,6 +4619,13 @@ var awscnPartition = partition{
},
},
},
+ "secretsmanager": service{
+
+ Endpoints: endpoints{
+ "cn-north-1": endpoint{},
+ "cn-northwest-1": endpoint{},
+ },
+ },
"sms": service{
Endpoints: endpoints{
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/endpoints.go b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/endpoints.go
index 1f53d9cb..ca956e5f 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/endpoints/endpoints.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/endpoints/endpoints.go
@@ -317,7 +317,7 @@ func (p Partition) EndpointFor(service, region string, opts ...func(*Options)) (
// Regions returns a map of Regions indexed by their ID. This is useful for
// enumerating over the regions in a partition.
func (p Partition) Regions() map[string]Region {
- rs := map[string]Region{}
+ rs := make(map[string]Region, len(p.p.Regions))
for id, r := range p.p.Regions {
rs[id] = Region{
id: id,
@@ -332,7 +332,7 @@ func (p Partition) Regions() map[string]Region {
// Services returns a map of Service indexed by their ID. This is useful for
// enumerating over the services in a partition.
func (p Partition) Services() map[string]Service {
- ss := map[string]Service{}
+ ss := make(map[string]Service, len(p.p.Services))
for id := range p.p.Services {
ss[id] = Service{
id: id,
@@ -419,7 +419,7 @@ func (s Service) Regions() map[string]Region {
// A region is the AWS region the service exists in. Whereas a Endpoint is
// an URL that can be resolved to a instance of a service.
func (s Service) Endpoints() map[string]Endpoint {
- es := map[string]Endpoint{}
+ es := make(map[string]Endpoint, len(s.p.Services[s.id].Endpoints))
for id := range s.p.Services[s.id].Endpoints {
es[id] = Endpoint{
id: id,
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go b/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go
index 8015acc6..356e5d9d 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/request/retryer.go
@@ -83,6 +83,7 @@ var retryableCodes = map[string]struct{}{
var throttleCodes = map[string]struct{}{
"ProvisionedThroughputExceededException": {},
+ "ThrottledException": {}, // SNS, XRay, ResourceGroupsTagging API
"Throttling": {},
"ThrottlingException": {},
"RequestLimitExceeded": {},
diff --git a/vendor/github.com/aws/aws-sdk-go/aws/version.go b/vendor/github.com/aws/aws-sdk-go/aws/version.go
index 437bc27a..aa96a1a2 100644
--- a/vendor/github.com/aws/aws-sdk-go/aws/version.go
+++ b/vendor/github.com/aws/aws-sdk-go/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.25.48"
+const SDKVersion = "1.26.3"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
index 2299b2c3..86f45e73 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
@@ -40585,6 +40585,92 @@ func (s *CapacityReservation) SetTotalInstanceCount(v int64) *CapacityReservatio
return s
}
+// Describes the strategy for using unused Capacity Reservations for fulfilling
+// On-Demand capacity.
+//
+// This strategy can only be used if the EC2 Fleet is of type instant.
+//
+// For more information about Capacity Reservations, see On-Demand Capacity
+// Reservations (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html)
+// in the Amazon Elastic Compute Cloud User Guide.
+type CapacityReservationOptions struct {
+ _ struct{} `type:"structure"`
+
+ // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand
+ // capacity.
+ //
+ // If you specify use-capacity-reservations-first, the fleet uses unused Capacity
+ // Reservations to fulfill On-Demand capacity up to the target On-Demand capacity.
+ // If the number of unused Capacity Reservations is less than the On-Demand
+ // target capacity, the remaining On-Demand target capacity is launched as usual.
+ // When unused Capacity Reservations are used to fulfil On-Demand capacity,
+ // the On-Demand allocation strategy (lowest-price or prioritized) is applied
+ // to them.
+ //
+ // If you do not specify a value, the fleet fulfils the On-Demand capacity as
+ // usual.
+ UsageStrategy *string `locationName:"usageStrategy" type:"string" enum:"FleetCapacityReservationUsageStrategy"`
+}
+
+// String returns the string representation
+func (s CapacityReservationOptions) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CapacityReservationOptions) GoString() string {
+ return s.String()
+}
+
+// SetUsageStrategy sets the UsageStrategy field's value.
+func (s *CapacityReservationOptions) SetUsageStrategy(v string) *CapacityReservationOptions {
+ s.UsageStrategy = &v
+ return s
+}
+
+// Describes the strategy for using unused Capacity Reservations for fulfilling
+// On-Demand capacity.
+//
+// This strategy can only be used if the EC2 Fleet is of type instant.
+//
+// For more information about Capacity Reservations, see On-Demand Capacity
+// Reservations (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-capacity-reservations.html)
+// in the Amazon Elastic Compute Cloud User Guide.
+type CapacityReservationOptionsRequest struct {
+ _ struct{} `type:"structure"`
+
+ // Indicates whether to use unused Capacity Reservations for fulfilling On-Demand
+ // capacity.
+ //
+ // If you specify use-capacity-reservations-first, the fleet uses unused Capacity
+ // Reservations to fulfill On-Demand capacity up to the target On-Demand capacity.
+ // If the number of unused Capacity Reservations is less than the On-Demand
+ // target capacity, the remaining On-Demand target capacity is launched as usual.
+ // When unused Capacity Reservations are used to fulfil On-Demand capacity,
+ // the On-Demand allocation strategy (lowest-price or prioritized) is applied
+ // to them.
+ //
+ // If you do not specify a value, the fleet fulfils the On-Demand capacity as
+ // usual.
+ UsageStrategy *string `type:"string" enum:"FleetCapacityReservationUsageStrategy"`
+}
+
+// String returns the string representation
+func (s CapacityReservationOptionsRequest) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s CapacityReservationOptionsRequest) GoString() string {
+ return s.String()
+}
+
+// SetUsageStrategy sets the UsageStrategy field's value.
+func (s *CapacityReservationOptionsRequest) SetUsageStrategy(v string) *CapacityReservationOptionsRequest {
+ s.UsageStrategy = &v
+ return s
+}
+
// Describes an instance's Capacity Reservation targeting option. You can specify
// only one parameter at a time. If you specify CapacityReservationPreference
// and CapacityReservationTarget, the request fails.
@@ -58389,8 +58475,9 @@ type DescribeInstancesInput struct {
// * hypervisor - The hypervisor type of the instance (ovm | xen).
//
// * iam-instance-profile.arn - The instance profile associated with the
- // instance. Specified as an ARN. image-id - The ID of the image used to
- // launch the instance.
+ // instance. Specified as an ARN.
+ //
+ // * image-id - The ID of the image used to launch the instance.
//
// * instance-id - The ID of the instance.
//
@@ -68934,7 +69021,7 @@ type DiskInfo struct {
// The number of disks with this configuration.
Count *int64 `locationName:"count" type:"integer"`
- // The size of the disk in GiB.
+ // The size of the disk in GB.
SizeInGB *int64 `locationName:"sizeInGB" type:"long"`
// The type of disk.
@@ -69103,8 +69190,9 @@ type EbsBlockDevice struct {
// size.
VolumeSize *int64 `locationName:"volumeSize" type:"integer"`
- // The volume type. If you set the type to io1, you must also specify the IOPS
- // that the volume supports.
+ // The volume type. If you set the type to io1, you must also specify the Iops
+ // parameter. If you set the type to gp2, st1, sc1, or standard, you must omit
+ // the Iops parameter.
//
// Default: gp2
VolumeType *string `locationName:"volumeType" type:"string" enum:"VolumeType"`
@@ -69527,8 +69615,13 @@ func (s *ElasticGpus) SetInstanceId(v string) *ElasticGpus {
type ElasticInferenceAccelerator struct {
_ struct{} `type:"structure"`
- // The type of elastic inference accelerator. The possible values are eia1.small,
- // eia1.medium, and eia1.large.
+ // The number of elastic inference accelerators of given type to be attached
+ // to the instance. Only positive values allowed. If not specified defaults
+ // to 1.
+ Count *int64 `min:"1" type:"integer"`
+
+ // The type of elastic inference accelerator. The possible values are eia1.medium,
+ // eia1.large, and eia1.xlarge.
//
// Type is a required field
Type *string `type:"string" required:"true"`
@@ -69547,6 +69640,9 @@ func (s ElasticInferenceAccelerator) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *ElasticInferenceAccelerator) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ElasticInferenceAccelerator"}
+ if s.Count != nil && *s.Count < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Count", 1))
+ }
if s.Type == nil {
invalidParams.Add(request.NewErrParamRequired("Type"))
}
@@ -69557,6 +69653,12 @@ func (s *ElasticInferenceAccelerator) Validate() error {
return nil
}
+// SetCount sets the Count field's value.
+func (s *ElasticInferenceAccelerator) SetCount(v int64) *ElasticInferenceAccelerator {
+ s.Count = &v
+ return s
+}
+
// SetType sets the Type field's value.
func (s *ElasticInferenceAccelerator) SetType(v string) *ElasticInferenceAccelerator {
s.Type = &v
@@ -78738,7 +78840,7 @@ type InstanceStorageInfo struct {
// Array describing the disks that are available for the instance type.
Disks []*DiskInfo `locationName:"disks" locationNameList:"item" type:"list"`
- // The total size of the disks, in GiB.
+ // The total size of the disks, in GB.
TotalSizeInGB *int64 `locationName:"totalSizeInGB" type:"long"`
}
@@ -80193,6 +80295,11 @@ func (s *LaunchTemplateEbsBlockDeviceRequest) SetVolumeType(v string) *LaunchTem
type LaunchTemplateElasticInferenceAccelerator struct {
_ struct{} `type:"structure"`
+ // The number of elastic inference accelerators of given type to be attached
+ // to the instance. Only positive values allowed. If not specified defaults
+ // to 1.
+ Count *int64 `min:"1" type:"integer"`
+
// The type of elastic inference accelerator. The possible values are eia1.medium,
// eia1.large, and eia1.xlarge.
//
@@ -80213,6 +80320,9 @@ func (s LaunchTemplateElasticInferenceAccelerator) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *LaunchTemplateElasticInferenceAccelerator) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "LaunchTemplateElasticInferenceAccelerator"}
+ if s.Count != nil && *s.Count < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("Count", 1))
+ }
if s.Type == nil {
invalidParams.Add(request.NewErrParamRequired("Type"))
}
@@ -80223,6 +80333,12 @@ func (s *LaunchTemplateElasticInferenceAccelerator) Validate() error {
return nil
}
+// SetCount sets the Count field's value.
+func (s *LaunchTemplateElasticInferenceAccelerator) SetCount(v int64) *LaunchTemplateElasticInferenceAccelerator {
+ s.Count = &v
+ return s
+}
+
// SetType sets the Type field's value.
func (s *LaunchTemplateElasticInferenceAccelerator) SetType(v string) *LaunchTemplateElasticInferenceAccelerator {
s.Type = &v
@@ -80233,6 +80349,11 @@ func (s *LaunchTemplateElasticInferenceAccelerator) SetType(v string) *LaunchTem
type LaunchTemplateElasticInferenceAcceleratorResponse struct {
_ struct{} `type:"structure"`
+ // The number of elastic inference accelerators of given type to be attached
+ // to the instance. Only positive values allowed. If not specified defaults
+ // to 1.
+ Count *int64 `locationName:"count" type:"integer"`
+
// The type of elastic inference accelerator. The possible values are eia1.medium,
// eia1.large, and eia1.xlarge.
Type *string `locationName:"type" type:"string"`
@@ -80248,6 +80369,12 @@ func (s LaunchTemplateElasticInferenceAcceleratorResponse) GoString() string {
return s.String()
}
+// SetCount sets the Count field's value.
+func (s *LaunchTemplateElasticInferenceAcceleratorResponse) SetCount(v int64) *LaunchTemplateElasticInferenceAcceleratorResponse {
+ s.Count = &v
+ return s
+}
+
// SetType sets the Type field's value.
func (s *LaunchTemplateElasticInferenceAcceleratorResponse) SetType(v string) *LaunchTemplateElasticInferenceAcceleratorResponse {
s.Type = &v
@@ -87704,6 +87831,10 @@ type OnDemandOptions struct {
// Fleet defaults to lowest-price.
AllocationStrategy *string `locationName:"allocationStrategy" type:"string" enum:"FleetOnDemandAllocationStrategy"`
+ // The strategy for using unused Capacity Reservations for fulfilling On-Demand
+ // capacity. Only available for fleets of type instant.
+ CapacityReservationOptions *CapacityReservationOptions `locationName:"capacityReservationOptions" type:"structure"`
+
// The maximum amount per hour for On-Demand Instances that you're willing to
// pay.
MaxTotalPrice *string `locationName:"maxTotalPrice" type:"string"`
@@ -87737,6 +87868,12 @@ func (s *OnDemandOptions) SetAllocationStrategy(v string) *OnDemandOptions {
return s
}
+// SetCapacityReservationOptions sets the CapacityReservationOptions field's value.
+func (s *OnDemandOptions) SetCapacityReservationOptions(v *CapacityReservationOptions) *OnDemandOptions {
+ s.CapacityReservationOptions = v
+ return s
+}
+
// SetMaxTotalPrice sets the MaxTotalPrice field's value.
func (s *OnDemandOptions) SetMaxTotalPrice(v string) *OnDemandOptions {
s.MaxTotalPrice = &v
@@ -87773,6 +87910,10 @@ type OnDemandOptionsRequest struct {
// Fleet defaults to lowest-price.
AllocationStrategy *string `type:"string" enum:"FleetOnDemandAllocationStrategy"`
+ // The strategy for using unused Capacity Reservations for fulfilling On-Demand
+ // capacity. Only available for fleets of type instant.
+ CapacityReservationOptions *CapacityReservationOptionsRequest `type:"structure"`
+
// The maximum amount per hour for On-Demand Instances that you're willing to
// pay.
MaxTotalPrice *string `type:"string"`
@@ -87806,6 +87947,12 @@ func (s *OnDemandOptionsRequest) SetAllocationStrategy(v string) *OnDemandOption
return s
}
+// SetCapacityReservationOptions sets the CapacityReservationOptions field's value.
+func (s *OnDemandOptionsRequest) SetCapacityReservationOptions(v *CapacityReservationOptionsRequest) *OnDemandOptionsRequest {
+ s.CapacityReservationOptions = v
+ return s
+}
+
// SetMaxTotalPrice sets the MaxTotalPrice field's value.
func (s *OnDemandOptionsRequest) SetMaxTotalPrice(v string) *OnDemandOptionsRequest {
s.MaxTotalPrice = &v
@@ -106481,6 +106628,11 @@ const (
)
const (
+ // FleetCapacityReservationUsageStrategyUseCapacityReservationsFirst is a FleetCapacityReservationUsageStrategy enum value
+ FleetCapacityReservationUsageStrategyUseCapacityReservationsFirst = "use-capacity-reservations-first"
+)
+
+const (
// FleetEventTypeInstanceChange is a FleetEventType enum value
FleetEventTypeInstanceChange = "instance-change"
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ec2/service.go b/vendor/github.com/aws/aws-sdk-go/service/ec2/service.go
index f8c07561..1bde2c2f 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ec2/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ec2/service.go
@@ -31,7 +31,7 @@ var initRequest func(*request.Request)
const (
ServiceName = "ec2" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
- ServiceID = "EC2" // ServiceID is a unique identifer of a specific service.
+ ServiceID = "EC2" // ServiceID is a unique identifier of a specific service.
)
// New creates a new instance of the EC2 client with a session.
diff --git a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go
index b53a5226..2d35146b 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/kms/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/kms/api.go
@@ -3731,7 +3731,7 @@ func (c *KMS) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Reques
// that are part of every AWS KMS operation. You also reduce of risk of encrypting
// data that cannot be decrypted. These features are not effective outside of
// AWS KMS. For details, see Special Considerations for Downloading Public Keys
-// (kms/latest/developerguide/get-public-key.html#get-public-key-considerations).
+// (https://docs.aws.amazon.com/kms/latest/developerguide/download-public-key.html#download-public-key-considerations).
//
// To help you use the public key safely outside of AWS KMS, GetPublicKey returns
// important information about the public key in the response, including:
@@ -5014,7 +5014,7 @@ func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, out
//
// Decrypts ciphertext and then reencrypts it entirely within AWS KMS. You can
// use this operation to change the customer master key (CMK) under which data
-// is encrypted, such as when you manually rotate (kms/latest/developerguide/rotate-keys.html#rotate-keys-manually)
+// is encrypted, such as when you manually rotate (https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-manually)
// a CMK or change the CMK that protects a ciphertext. You can also use it to
// reencrypt ciphertext under the same CMK, such as to change the encryption
// context of a ciphertext.
@@ -5649,6 +5649,14 @@ func (c *KMS) SignRequest(input *SignInput) (req *request.Request, output *SignO
// The request was rejected because an internal exception occurred. The request
// can be retried.
//
+// * ErrCodeInvalidStateException "KMSInvalidStateException"
+// The request was rejected because the state of the specified resource is not
+// valid for this request.
+//
+// For more information about how key state affects the use of a CMK, see How
+// Key State Affects Use of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
+// in the AWS Key Management Service Developer Guide .
+//
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Sign
func (c *KMS) Sign(input *SignInput) (*SignOutput, error) {
req, out := c.SignRequest(input)
@@ -6370,35 +6378,32 @@ func (c *KMS) VerifyRequest(input *VerifyInput) (req *request.Request, output *V
// Verify API operation for AWS Key Management Service.
//
-// Verifies a digital signature that was generated by the Sign operation. This
-// operation requires an asymmetric CMK with a KeyUsage value of SIGN_VERIFY.
+// Verifies a digital signature that was generated by the Sign operation.
//
// Verification confirms that an authorized user signed the message with the
-// specified key and signing algorithm, and the message hasn't changed since
-// it was signed. A digital signature is generated by using the private key
-// in an asymmetric CMK. The signature is verified by using the public key in
-// the same asymmetric CMK. For information about symmetric and asymmetric CMKs,
-// see Using Symmetric and Asymmetric CMKs (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
+// specified CMK and signing algorithm, and the message hasn't changed since
+// it was signed. If the signature is verified, the value of the SignatureValid
+// field in the response is True. If the signature verification fails, the Verify
+// operation fails with an KMSInvalidSignatureException exception.
+//
+// A digital signature is generated by using the private key in an asymmetric
+// CMK. The signature is verified by using the public key in the same asymmetric
+// CMK. For information about symmetric and asymmetric CMKs, see Using Symmetric
+// and Asymmetric CMKs (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html)
// in the AWS Key Management Service Developer Guide.
//
// To verify a digital signature, you can use the Verify operation. Specify
-// the same asymmetric CMK that was used by the Sign operation to generate the
-// digital signature.
+// the same asymmetric CMK, message, and signing algorithm that were used to
+// produce the signature.
//
// You can also verify the digital signature by using the public key of the
// CMK outside of AWS KMS. Use the GetPublicKey operation to download the public
// key in the asymmetric CMK and then use the public key to verify the signature
-// outside of AWS KMS.
-//
-// The advantage of using the Verify operation is that it is performed within
-// AWS KMS. As a result, it's easy to call, the operation is performed within
-// the FIPS boundary, it is logged in AWS CloudTrail, and you can use key policy
-// and IAM policy to determine who is authorized to use the CMK to verify signatures.
-//
-// The result of the Verify operation, which is represented by its HTTP status
-// code, does not indicate whether the signature verification succeeded or failed.
-// To determine whether the signature was verified, see the SignatureValid field
-// in the response.
+// outside of AWS KMS. The advantage of using the Verify operation is that it
+// is performed within AWS KMS. As a result, it's easy to call, the operation
+// is performed within the FIPS boundary, it is logged in AWS CloudTrail, and
+// you can use key policy and IAM policy to determine who is authorized to use
+// the CMK to verify signatures.
//
// The CMK that you use for this operation must be in a compatible key state.
// For details, see How Key State Affects Use of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
@@ -6449,6 +6454,19 @@ func (c *KMS) VerifyRequest(input *VerifyInput) (req *request.Request, output *V
// The request was rejected because an internal exception occurred. The request
// can be retried.
//
+// * ErrCodeInvalidStateException "KMSInvalidStateException"
+// The request was rejected because the state of the specified resource is not
+// valid for this request.
+//
+// For more information about how key state affects the use of a CMK, see How
+// Key State Affects Use of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html)
+// in the AWS Key Management Service Developer Guide .
+//
+// * ErrCodeKMSInvalidSignatureException "KMSInvalidSignatureException"
+// The request was rejected because the signature verification failed. Signature
+// verification fails when it cannot confirm that signature was produced by
+// signing the specified message with the specified CMK and signing algorithm.
+//
// See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Verify
func (c *KMS) Verify(input *VerifyInput) (*VerifyOutput, error) {
req, out := c.VerifyRequest(input)
@@ -12286,8 +12304,7 @@ type VerifyInput struct {
// Identifies the asymmetric CMK that will be used to verify the signature.
// This must be the same CMK that was used to generate the signature. If you
- // specify a different CMK, the value of the SignatureValid field in the response
- // will be False.
+ // specify a different CMK, the signature verification fails.
//
// To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name,
// or alias ARN. When using an alias name, prefix it with "alias/". To specify
@@ -12314,8 +12331,7 @@ type VerifyInput struct {
// digest of the message.
//
// If the digest of the message specified here is different from the message
- // digest that was signed, the SignatureValid value in the response will be
- // False.
+ // digest that was signed, the signature verification fails.
//
// Message is automatically base64 encoded/decoded by the SDK.
//
@@ -12335,8 +12351,7 @@ type VerifyInput struct {
Signature []byte `min:"1" type:"blob" required:"true"`
// The signing algorithm that was used to sign the message. If you submit a
- // different algorithm, the value of the SignatureValid field in the response
- // will be False.
+ // different algorithm, the signature verification fails.
//
// SigningAlgorithm is a required field
SigningAlgorithm *string `type:"string" required:"true" enum:"SigningAlgorithmSpec"`
@@ -12428,9 +12443,8 @@ type VerifyOutput struct {
// A Boolean value that indicates whether the signature was verified. A value
// of True indicates that the Signature was produced by signing the Message
- // with the specified KeyID and SigningAlgorithm. A value of False indicates
- // that the message, the algorithm, or the key changed since the message was
- // signed.
+ // with the specified KeyID and SigningAlgorithm. If the signature is not verified,
+ // the Verify operation fails with a KMSInvalidSignatureException exception.
SignatureValid *bool `type:"boolean"`
// The signing algorithm that was used to verify the signature.
diff --git a/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go b/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go
index a93ac64a..5bf4265c 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/kms/errors.go
@@ -275,6 +275,14 @@ const (
// in the AWS Key Management Service Developer Guide .
ErrCodeInvalidStateException = "KMSInvalidStateException"
+ // ErrCodeKMSInvalidSignatureException for service response error code
+ // "KMSInvalidSignatureException".
+ //
+ // The request was rejected because the signature verification failed. Signature
+ // verification fails when it cannot confirm that signature was produced by
+ // signing the specified message with the specified CMK and signing algorithm.
+ ErrCodeKMSInvalidSignatureException = "KMSInvalidSignatureException"
+
// ErrCodeKeyUnavailableException for service response error code
// "KeyUnavailableException".
//
diff --git a/vendor/github.com/aws/aws-sdk-go/service/kms/service.go b/vendor/github.com/aws/aws-sdk-go/service/kms/service.go
index efba0117..687a9d81 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/kms/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/kms/service.go
@@ -31,7 +31,7 @@ var initRequest func(*request.Request)
const (
ServiceName = "kms" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
- ServiceID = "KMS" // ServiceID is a unique identifer of a specific service.
+ ServiceID = "KMS" // ServiceID is a unique identifier of a specific service.
)
// New creates a new instance of the KMS client with a session.
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/service.go b/vendor/github.com/aws/aws-sdk-go/service/s3/service.go
index ba77bb81..c90199c4 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/s3/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/s3/service.go
@@ -31,7 +31,7 @@ var initRequest func(*request.Request)
const (
ServiceName = "s3" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
- ServiceID = "S3" // ServiceID is a unique identifer of a specific service.
+ ServiceID = "S3" // ServiceID is a unique identifier of a specific service.
)
// New creates a new instance of the S3 client with a session.
diff --git a/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/service.go b/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/service.go
index 1f7a1824..54b06293 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/secretsmanager/service.go
@@ -31,7 +31,7 @@ var initRequest func(*request.Request)
const (
ServiceName = "secretsmanager" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
- ServiceID = "Secrets Manager" // ServiceID is a unique identifer of a specific service.
+ ServiceID = "Secrets Manager" // ServiceID is a unique identifier of a specific service.
)
// New creates a new instance of the SecretsManager client with a session.
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go
index 78f44330..79307124 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/api.go
@@ -5420,6 +5420,103 @@ func (c *SSM) GetAutomationExecutionWithContext(ctx aws.Context, input *GetAutom
return out, req.Send()
}
+const opGetCalendarState = "GetCalendarState"
+
+// GetCalendarStateRequest generates a "aws/request.Request" representing the
+// client's request for the GetCalendarState operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetCalendarState for more information on using the GetCalendarState
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+//
+// // Example sending a request using the GetCalendarStateRequest method.
+// req, resp := client.GetCalendarStateRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCalendarState
+func (c *SSM) GetCalendarStateRequest(input *GetCalendarStateInput) (req *request.Request, output *GetCalendarStateOutput) {
+ op := &request.Operation{
+ Name: opGetCalendarState,
+ HTTPMethod: "POST",
+ HTTPPath: "/",
+ }
+
+ if input == nil {
+ input = &GetCalendarStateInput{}
+ }
+
+ output = &GetCalendarStateOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetCalendarState API operation for Amazon Simple Systems Manager (SSM).
+//
+// Gets the state of the AWS Systems Manager Change Calendar at an optional,
+// specified time. If you specify a time, GetCalendarState returns the state
+// of the calendar at a specific time, and returns the next time that the Change
+// Calendar state will transition. If you do not specify a time, GetCalendarState
+// assumes the current time. Change Calendar entries have two possible states:
+// OPEN or CLOSED. For more information about Systems Manager Change Calendar,
+// see AWS Systems Manager Change Calendar (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar.html)
+// in the AWS Systems Manager User Guide.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s
+// API operation GetCalendarState for usage and error information.
+//
+// Returned Error Codes:
+// * ErrCodeInternalServerError "InternalServerError"
+// An error occurred on the server side.
+//
+// * ErrCodeInvalidDocument "InvalidDocument"
+// The specified document does not exist.
+//
+// * ErrCodeInvalidDocumentType "InvalidDocumentType"
+// The document type is not valid. Valid document types are described in the
+// DocumentType property.
+//
+// * ErrCodeUnsupportedCalendarException "UnsupportedCalendarException"
+// The calendar entry contained in the specified Systems Manager document is
+// not supported.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCalendarState
+func (c *SSM) GetCalendarState(input *GetCalendarStateInput) (*GetCalendarStateOutput, error) {
+ req, out := c.GetCalendarStateRequest(input)
+ return out, req.Send()
+}
+
+// GetCalendarStateWithContext is the same as GetCalendarState with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetCalendarState for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *SSM) GetCalendarStateWithContext(ctx aws.Context, input *GetCalendarStateInput, opts ...request.Option) (*GetCalendarStateOutput, error) {
+ req, out := c.GetCalendarStateRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opGetCommandInvocation = "GetCommandInvocation"
// GetCommandInvocationRequest generates a "aws/request.Request" representing the
@@ -14853,7 +14950,7 @@ type ComplianceItem struct {
// An ID for the compliance item. For example, if the compliance item is a Windows
// patch, the ID could be the number of the KB article; for example: KB4010320.
- Id *string `min:"1" type:"string"`
+ Id *string `type:"string"`
// An ID for the resource. For a managed instance, this is the instance ID.
ResourceId *string `min:"1" type:"string"`
@@ -14948,7 +15045,7 @@ type ComplianceItemEntry struct {
// The compliance item ID. For example, if the compliance item is a Windows
// patch, the ID could be the number of the KB article.
- Id *string `min:"1" type:"string"`
+ Id *string `type:"string"`
// The severity of the compliance status. Severity can be one of the following:
// Critical, High, Medium, Low, Informational, Unspecified.
@@ -14980,9 +15077,6 @@ func (s ComplianceItemEntry) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *ComplianceItemEntry) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "ComplianceItemEntry"}
- if s.Id != nil && len(*s.Id) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Id", 1))
- }
if s.Severity == nil {
invalidParams.Add(request.NewErrParamRequired("Severity"))
}
@@ -21013,8 +21107,7 @@ type DescribePatchGroupStateOutput struct {
// The number of instances with installed patches.
InstancesWithInstalledPatches *int64 `type:"integer"`
- // The number of instances with patches installed that have not been rebooted
- // after the patch installation. The status of these instances is NON_COMPLIANT.
+ // Reserved for future use.
InstancesWithInstalledPendingRebootPatches *int64 `type:"integer"`
// The number of instances with patches installed that are specified in a RejectedPatches
@@ -22340,6 +22433,104 @@ func (s *GetAutomationExecutionOutput) SetAutomationExecution(v *AutomationExecu
return s
}
+type GetCalendarStateInput struct {
+ _ struct{} `type:"structure"`
+
+ // (Optional) The specific time for which you want to get calendar state information,
+ // in ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601) format. If you do not
+ // add AtTime, the current time is assumed.
+ AtTime *string `type:"string"`
+
+ // The names or Amazon Resource Names (ARNs) of the Systems Manager documents
+ // that represent the calendar entries for which you want to get the state.
+ //
+ // CalendarNames is a required field
+ CalendarNames []*string `type:"list" required:"true"`
+}
+
+// String returns the string representation
+func (s GetCalendarStateInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s GetCalendarStateInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetCalendarStateInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetCalendarStateInput"}
+ if s.CalendarNames == nil {
+ invalidParams.Add(request.NewErrParamRequired("CalendarNames"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAtTime sets the AtTime field's value.
+func (s *GetCalendarStateInput) SetAtTime(v string) *GetCalendarStateInput {
+ s.AtTime = &v
+ return s
+}
+
+// SetCalendarNames sets the CalendarNames field's value.
+func (s *GetCalendarStateInput) SetCalendarNames(v []*string) *GetCalendarStateInput {
+ s.CalendarNames = v
+ return s
+}
+
+type GetCalendarStateOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The time, as an ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601) string,
+ // that you specified in your command. If you did not specify a time, GetCalendarState
+ // uses the current time.
+ AtTime *string `type:"string"`
+
+ // The time, as an ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601) string,
+ // that the calendar state will change. If the current calendar state is OPEN,
+ // NextTransitionTime indicates when the calendar state changes to CLOSED, and
+ // vice-versa.
+ NextTransitionTime *string `type:"string"`
+
+ // The state of the calendar. An OPEN calendar indicates that actions are allowed
+ // to proceed, and a CLOSED calendar indicates that actions are not allowed
+ // to proceed.
+ State *string `type:"string" enum:"CalendarState"`
+}
+
+// String returns the string representation
+func (s GetCalendarStateOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s GetCalendarStateOutput) GoString() string {
+ return s.String()
+}
+
+// SetAtTime sets the AtTime field's value.
+func (s *GetCalendarStateOutput) SetAtTime(v string) *GetCalendarStateOutput {
+ s.AtTime = &v
+ return s
+}
+
+// SetNextTransitionTime sets the NextTransitionTime field's value.
+func (s *GetCalendarStateOutput) SetNextTransitionTime(v string) *GetCalendarStateOutput {
+ s.NextTransitionTime = &v
+ return s
+}
+
+// SetState sets the State field's value.
+func (s *GetCalendarStateOutput) SetState(v string) *GetCalendarStateOutput {
+ s.State = &v
+ return s
+}
+
type GetCommandInvocationInput struct {
_ struct{} `type:"structure"`
@@ -25841,7 +26032,7 @@ type InstancePatchState struct {
// on the instance.
InstalledOtherCount *int64 `type:"integer"`
- // The number of patches installed since the last time the instance was rebooted.
+ // Reserved for future use.
InstalledPendingRebootCount *int64 `type:"integer"`
// The number of instances with patches installed that are specified in a RejectedPatches
@@ -25858,8 +26049,7 @@ type InstancePatchState struct {
// InstanceId is a required field
InstanceId *string `type:"string" required:"true"`
- // The time of the last attempt to patch the instance with NoReboot specified
- // as the reboot option.
+ // Reserved for future use.
LastNoRebootInstallOperationTime *time.Time `type:"timestamp"`
// The number of patches from the patch baseline that are applicable for the
@@ -25897,18 +26087,7 @@ type InstancePatchState struct {
// PatchGroup is a required field
PatchGroup *string `min:"1" type:"string" required:"true"`
- // Indicates the reboot option specified in the patch baseline.
- //
- // Reboot options apply to Install operations only. Reboots are not attempted
- // for Patch Manager Scan operations.
- //
- // * RebootIfNeeded: Patch Manager tries to reboot the instance if it installed
- // any patches, or if any patches are detected with a status of InstalledPendingReboot.
- //
- // * NoReboot: Patch Manager attempts to install missing packages without
- // trying to reboot the system. Patches installed with this option are assigned
- // a status of InstalledPendingReboot. These patches might not be in effect
- // until a reboot is performed.
+ // Reserved for future use.
RebootOption *string `type:"string" enum:"RebootOption"`
// The ID of the patch baseline snapshot used during the patching operation
@@ -38162,6 +38341,14 @@ const (
)
const (
+ // CalendarStateOpen is a CalendarState enum value
+ CalendarStateOpen = "OPEN"
+
+ // CalendarStateClosed is a CalendarState enum value
+ CalendarStateClosed = "CLOSED"
+)
+
+const (
// CommandFilterKeyInvokedAfter is a CommandFilterKey enum value
CommandFilterKeyInvokedAfter = "InvokedAfter"
@@ -38331,6 +38518,9 @@ const (
// DocumentFormatJson is a DocumentFormat enum value
DocumentFormatJson = "JSON"
+
+ // DocumentFormatText is a DocumentFormat enum value
+ DocumentFormatText = "TEXT"
)
const (
@@ -38396,6 +38586,9 @@ const (
// DocumentTypeDeploymentStrategy is a DocumentType enum value
DocumentTypeDeploymentStrategy = "DeploymentStrategy"
+
+ // DocumentTypeChangeCalendar is a DocumentType enum value
+ DocumentTypeChangeCalendar = "ChangeCalendar"
)
const (
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go
index 856eab8b..0b437b65 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/errors.go
@@ -301,6 +301,13 @@ const (
// The version of the document schema is not supported.
ErrCodeInvalidDocumentSchemaVersion = "InvalidDocumentSchemaVersion"
+ // ErrCodeInvalidDocumentType for service response error code
+ // "InvalidDocumentType".
+ //
+ // The document type is not valid. Valid document types are described in the
+ // DocumentType property.
+ ErrCodeInvalidDocumentType = "InvalidDocumentType"
+
// ErrCodeInvalidDocumentVersion for service response error code
// "InvalidDocumentVersion".
//
@@ -711,6 +718,13 @@ const (
// The size of inventory data has exceeded the total size limit for the resource.
ErrCodeTotalSizeLimitExceededException = "TotalSizeLimitExceededException"
+ // ErrCodeUnsupportedCalendarException for service response error code
+ // "UnsupportedCalendarException".
+ //
+ // The calendar entry contained in the specified Systems Manager document is
+ // not supported.
+ ErrCodeUnsupportedCalendarException = "UnsupportedCalendarException"
+
// ErrCodeUnsupportedFeatureRequiredException for service response error code
// "UnsupportedFeatureRequiredException".
//
diff --git a/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go b/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go
index df40e5f9..772a1466 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/ssm/service.go
@@ -31,7 +31,7 @@ var initRequest func(*request.Request)
const (
ServiceName = "ssm" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
- ServiceID = "SSM" // ServiceID is a unique identifer of a specific service.
+ ServiceID = "SSM" // ServiceID is a unique identifier of a specific service.
)
// New creates a new instance of the SSM client with a session.
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/service.go b/vendor/github.com/aws/aws-sdk-go/service/sts/service.go
index 586faed1..d34a6855 100644
--- a/vendor/github.com/aws/aws-sdk-go/service/sts/service.go
+++ b/vendor/github.com/aws/aws-sdk-go/service/sts/service.go
@@ -31,7 +31,7 @@ var initRequest func(*request.Request)
const (
ServiceName = "sts" // Name of service.
EndpointsID = ServiceName // ID to lookup a service endpoint with.
- ServiceID = "STS" // ServiceID is a unique identifer of a specific service.
+ ServiceID = "STS" // ServiceID is a unique identifier of a specific service.
)
// New creates a new instance of the STS client with a session.