diff --git a/go.mod b/go.mod index fa8b7a2c22e..b852dd76d58 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/terraform-providers/terraform-provider-aws go 1.14 require ( - github.com/aws/aws-sdk-go v1.34.14 + github.com/aws/aws-sdk-go v1.34.17 github.com/beevik/etree v1.1.0 github.com/bflad/tfproviderdocs v0.7.0 github.com/bflad/tfproviderlint v0.18.0 diff --git a/go.sum b/go.sum index e38a0c66fde..518f37e0a2a 100644 --- a/go.sum +++ b/go.sum @@ -76,8 +76,8 @@ github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgI github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.31.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= -github.com/aws/aws-sdk-go v1.34.14 h1:G0jUdSDSp63P0oo/N3c/ldo7s8mYW3Kh/GPIJ+oESVQ= -github.com/aws/aws-sdk-go v1.34.14/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= +github.com/aws/aws-sdk-go v1.34.17 h1:9OzUgRrLmYm2mbfFx4v+2nBEg+Cvape1cvn9C3RNWTE= +github.com/aws/aws-sdk-go v1.34.17/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/beevik/etree v1.1.0 h1:T0xke/WvNtMoCqgzPhkX2r4rjY3GDZFi+FjpRZY2Jbs= github.com/beevik/etree v1.1.0/go.mod h1:r8Aw8JqVegEf0w2fDnATrX9VpkMcyFeM0FhwO62wh+A= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= 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 a496df4846f..b428b385afa 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 @@ -6213,6 +6213,12 @@ var awsPartition = partition{ "waf-regional": service{ Endpoints: endpoints{ + "af-south-1": endpoint{ + Hostname: "waf-regional.af-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "af-south-1", + }, + }, "ap-east-1": endpoint{ Hostname: "waf-regional.ap-east-1.amazonaws.com", CredentialScope: credentialScope{ @@ -6267,6 +6273,12 @@ var awsPartition = partition{ Region: "eu-north-1", }, }, + "eu-south-1": endpoint{ + Hostname: "waf-regional.eu-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-south-1", + }, + }, "eu-west-1": endpoint{ Hostname: "waf-regional.eu-west-1.amazonaws.com", CredentialScope: credentialScope{ @@ -6285,6 +6297,12 @@ var awsPartition = partition{ Region: "eu-west-3", }, }, + "fips-af-south-1": endpoint{ + Hostname: "waf-regional-fips.af-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "af-south-1", + }, + }, "fips-ap-east-1": endpoint{ Hostname: "waf-regional-fips.ap-east-1.amazonaws.com", CredentialScope: credentialScope{ @@ -6339,6 +6357,12 @@ var awsPartition = partition{ Region: "eu-north-1", }, }, + "fips-eu-south-1": endpoint{ + Hostname: "waf-regional-fips.eu-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-south-1", + }, + }, "fips-eu-west-1": endpoint{ Hostname: "waf-regional-fips.eu-west-1.amazonaws.com", CredentialScope: credentialScope{ @@ -8136,20 +8160,18 @@ var awsusgovPartition = partition{ "kinesis": service{ Endpoints: endpoints{ - "fips-us-gov-east-1": endpoint{ - Hostname: "kinesis-fips.us-gov-east-1.amazonaws.com", + "us-gov-east-1": endpoint{ + Hostname: "kinesis.us-gov-east-1.amazonaws.com", CredentialScope: credentialScope{ Region: "us-gov-east-1", }, }, - "fips-us-gov-west-1": endpoint{ - Hostname: "kinesis-fips.us-gov-west-1.amazonaws.com", + "us-gov-west-1": endpoint{ + Hostname: "kinesis.us-gov-west-1.amazonaws.com", CredentialScope: credentialScope{ Region: "us-gov-west-1", }, }, - "us-gov-east-1": endpoint{}, - "us-gov-west-1": endpoint{}, }, }, "kinesisanalytics": service{ 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 1d19f8ad33b..db84131873d 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.34.14" +const SDKVersion = "1.34.17" 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 dfbaad61741..b85c5b2aeae 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 @@ -69575,12 +69575,12 @@ type DescribeTransitGatewayAttachmentsInput struct { // // * resource-owner-id - The ID of the AWS account that owns the resource. // - // * resource-type - The resource type (vpc | vpn | direct-connect-gateway - // | tgw-peering). + // * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway + // | peering. // - // * state - The state of the attachment (available | deleted | deleting - // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected - // | rejecting). + // * state - The state of the attachment. Valid values are available | deleted + // | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance + // | pending | rollingBack | rejected | rejecting. // // * transit-gateway-attachment-id - The ID of the attachment. // @@ -69822,9 +69822,9 @@ type DescribeTransitGatewayPeeringAttachmentsInput struct { // * remote-owner-id - The ID of the AWS account in the remote Region that // owns the transit gateway. // - // * state - The state of the peering attachment (available | deleted | deleting - // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected - // | rejecting). + // * state - The state of the peering attachment. Valid values are available + // | deleted | deleting | failed | failing | initiatingRequest | modifying + // | pendingAcceptance | pending | rollingBack | rejected | rejecting). // // * transit-gateway-id - The ID of the transit gateway. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` @@ -69943,9 +69943,8 @@ type DescribeTransitGatewayRouteTablesInput struct { // * default-propagation-route-table - Indicates whether this is the default // propagation route table for the transit gateway (true | false). // - // * state - The state of the attachment (available | deleted | deleting - // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected - // | rejecting). + // * state - The state of the route table (available | deleting | deleted + // | pending). // // * transit-gateway-id - The ID of the transit gateway. // @@ -70061,9 +70060,9 @@ type DescribeTransitGatewayVpcAttachmentsInput struct { // One or more filters. The possible values are: // - // * state - The state of the attachment (available | deleted | deleting - // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected - // | rejecting). + // * state - The state of the attachment. Valid values are available | deleted + // | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance + // | pending | rollingBack | rejected | rejecting. // // * transit-gateway-attachment-id - The ID of the attachment. // @@ -70208,9 +70207,8 @@ type DescribeTransitGatewaysInput struct { // // * owner-id - The ID of the AWS account that owns the transit gateway. // - // * state - The state of the attachment (available | deleted | deleting - // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected - // | rejecting). + // * state - The state of the transit gateway (available | deleted | deleting + // | modifying | pending). // // * transit-gateway-id - The ID of the transit gateway. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` @@ -76746,13 +76744,11 @@ type ExportTransitGatewayRoutesInput struct { // routes in your route table and you specify supernet-of-match as 10.0.1.0/30, // then the result returns 10.0.1.0/29. // - // * state - The state of the attachment (available | deleted | deleting - // | failed | modifying | pendingAcceptance | pending | rollingBack | rejected - // | rejecting). + // * state - The state of the route (active | blackhole). // // * transit-gateway-route-destination-cidr-block - The CIDR range. // - // * type - The type of route (active | blackhole). + // * type - The type of route (propagated | static). Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The name of the S3 bucket. @@ -79894,8 +79890,8 @@ type GetTransitGatewayPrefixListReferencesInput struct { // // * attachment.resource-id - The ID of the resource for the attachment. // - // * attachment.resource-type - The type of resource for the attachment (vpc - // | vpn | direct-connect-gateway | tgw-peering). + // * attachment.resource-type - The type of resource for the attachment. + // Valid values are vpc | vpn | direct-connect-gateway | peering. // // * attachment.transit-gateway-attachment-id - The ID of the attachment. // @@ -80025,8 +80021,8 @@ type GetTransitGatewayRouteTableAssociationsInput struct { // // * resource-id - The ID of the resource. // - // * resource-type - The resource type (vpc | vpn | direct-connect-gateway - // | tgw-peering). + // * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway + // | peering. // // * transit-gateway-attachment-id - The ID of the attachment. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` @@ -80146,8 +80142,8 @@ type GetTransitGatewayRouteTablePropagationsInput struct { // // * resource-id - The ID of the resource. // - // * resource-type - The resource type (vpc | vpn | direct-connect-gateway - // | tgw-peering). + // * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway + // | peering. // // * transit-gateway-attachment-id - The ID of the attachment. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` @@ -104970,8 +104966,8 @@ type SearchTransitGatewayRoutesInput struct { // // * attachment.resource-id - The resource id of the transit gateway attachment. // - // * attachment.resource-type - The attachment resource type (vpc | vpn | - // direct-connect-gateway | tgw-peering). + // * attachment.resource-type - The attachment resource type. Valid values + // are vpc | vpn | direct-connect-gateway | peering. // // * prefix-list-id - The ID of the prefix list. // @@ -109766,7 +109762,7 @@ type TransitGatewayAssociation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The resource type. + // The resource type. Note that the tgw-peering resource type has been deprecated. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` // The state of the association. @@ -109835,10 +109831,10 @@ type TransitGatewayAttachment struct { // The ID of the AWS account that owns the resource. ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` - // The resource type. + // The resource type. Note that the tgw-peering resource type has been deprecated. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` - // The attachment state. + // The attachment state. Note that the initiating state has been deprecated. State *string `locationName:"state" type:"string" enum:"TransitGatewayAttachmentState"` // The tags for the attachment. @@ -110548,7 +110544,8 @@ type TransitGatewayPeeringAttachment struct { // Information about the requester transit gateway. RequesterTgwInfo *PeeringTgwInfo `locationName:"requesterTgwInfo" type:"structure"` - // The state of the transit gateway peering attachment. + // The state of the transit gateway peering attachment. Note that the initiating + // state has been deprecated. State *string `locationName:"state" type:"string" enum:"TransitGatewayAttachmentState"` // The status of the transit gateway peering attachment. @@ -110620,7 +110617,7 @@ type TransitGatewayPrefixListAttachment struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The resource type. + // The resource type. Note that the tgw-peering resource type has been deprecated. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` // The ID of the attachment. @@ -110731,7 +110728,7 @@ type TransitGatewayPropagation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The resource type. + // The resource type. Note that the tgw-peering resource type has been deprecated. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` // The state. @@ -110934,7 +110931,7 @@ type TransitGatewayRouteAttachment struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The resource type. + // The resource type. Note that the tgw-peering resource type has been deprecated. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` // The ID of the attachment. @@ -111056,7 +111053,7 @@ type TransitGatewayRouteTableAssociation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The resource type. + // The resource type. Note that the tgw-peering resource type has been deprecated. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` // The state of the association. @@ -111107,7 +111104,7 @@ type TransitGatewayRouteTablePropagation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` - // The type of resource. + // The type of resource. Note that the tgw-peering resource type has been deprecated. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` // The state of the resource. @@ -111161,7 +111158,8 @@ type TransitGatewayVpcAttachment struct { // The VPC attachment options. Options *TransitGatewayVpcAttachmentOptions `locationName:"options" type:"structure"` - // The state of the VPC attachment. + // The state of the VPC attachment. Note that the initiating state has been + // deprecated. State *string `locationName:"state" type:"string" enum:"TransitGatewayAttachmentState"` // The IDs of the subnets. @@ -119759,6 +119757,9 @@ const ( // TransitGatewayAttachmentResourceTypeDirectConnectGateway is a TransitGatewayAttachmentResourceType enum value TransitGatewayAttachmentResourceTypeDirectConnectGateway = "direct-connect-gateway" + // TransitGatewayAttachmentResourceTypePeering is a TransitGatewayAttachmentResourceType enum value + TransitGatewayAttachmentResourceTypePeering = "peering" + // TransitGatewayAttachmentResourceTypeTgwPeering is a TransitGatewayAttachmentResourceType enum value TransitGatewayAttachmentResourceTypeTgwPeering = "tgw-peering" ) @@ -119769,6 +119770,7 @@ func TransitGatewayAttachmentResourceType_Values() []string { TransitGatewayAttachmentResourceTypeVpc, TransitGatewayAttachmentResourceTypeVpn, TransitGatewayAttachmentResourceTypeDirectConnectGateway, + TransitGatewayAttachmentResourceTypePeering, TransitGatewayAttachmentResourceTypeTgwPeering, } } @@ -119777,6 +119779,9 @@ const ( // TransitGatewayAttachmentStateInitiating is a TransitGatewayAttachmentState enum value TransitGatewayAttachmentStateInitiating = "initiating" + // TransitGatewayAttachmentStateInitiatingRequest is a TransitGatewayAttachmentState enum value + TransitGatewayAttachmentStateInitiatingRequest = "initiatingRequest" + // TransitGatewayAttachmentStatePendingAcceptance is a TransitGatewayAttachmentState enum value TransitGatewayAttachmentStatePendingAcceptance = "pendingAcceptance" @@ -119815,6 +119820,7 @@ const ( func TransitGatewayAttachmentState_Values() []string { return []string{ TransitGatewayAttachmentStateInitiating, + TransitGatewayAttachmentStateInitiatingRequest, TransitGatewayAttachmentStatePendingAcceptance, TransitGatewayAttachmentStateRollingBack, TransitGatewayAttachmentStatePending, diff --git a/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go b/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go index afae1141d29..8dfeb33e1d3 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/guardduty/api.go @@ -5844,7 +5844,7 @@ func (s ArchiveFindingsOutput) GoString() string { return s.String() } -// Contains information about the API operation. +// Contains information about the API action. type AwsApiCallAction struct { _ struct{} `type:"structure"` @@ -5857,7 +5857,10 @@ type AwsApiCallAction struct { // The domain information for the AWS API call. DomainDetails *DomainDetails `locationName:"domainDetails" type:"structure"` - // The remote IP information of the connection. + // The error code of the failed AWS API action. + ErrorCode *string `locationName:"errorCode" type:"string"` + + // The remote IP information of the connection that initiated the AWS API call. RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"` // The AWS service name whose API was invoked. @@ -5892,6 +5895,12 @@ func (s *AwsApiCallAction) SetDomainDetails(v *DomainDetails) *AwsApiCallAction return s } +// SetErrorCode sets the ErrorCode field's value. +func (s *AwsApiCallAction) SetErrorCode(v string) *AwsApiCallAction { + s.ErrorCode = &v + return s +} + // SetRemoteIpDetails sets the RemoteIpDetails field's value. func (s *AwsApiCallAction) SetRemoteIpDetails(v *RemoteIpDetails) *AwsApiCallAction { s.RemoteIpDetails = v @@ -7466,7 +7475,7 @@ func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccoun } // Contains information on the server side encryption method used in the S3 -// bucket. See S3 Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/atest/dev/serv-side-encryption.html) +// bucket. See S3 Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) // for more information. type DefaultServerSideEncryption struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go index 6a2f30f2a36..911563bfee5 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/mediapackage/api.go @@ -2791,6 +2791,14 @@ type DashPackage struct { // Duration (in seconds) to delay live content before presentation. SuggestedPresentationDelaySeconds *int64 `locationName:"suggestedPresentationDelaySeconds" type:"integer"` + + // Determines the type of UTCTiming included in the Media Presentation Description + // (MPD) + UtcTiming *string `locationName:"utcTiming" type:"string" enum:"UtcTiming"` + + // Specifies the value attribute of the UTCTiming field when utcTiming is set + // to HTTP-ISO or HTTP-HEAD + UtcTimingUri *string `locationName:"utcTimingUri" type:"string"` } // String returns the string representation @@ -2896,6 +2904,18 @@ func (s *DashPackage) SetSuggestedPresentationDelaySeconds(v int64) *DashPackage return s } +// SetUtcTiming sets the UtcTiming field's value. +func (s *DashPackage) SetUtcTiming(v string) *DashPackage { + s.UtcTiming = &v + return s +} + +// SetUtcTimingUri sets the UtcTimingUri field's value. +func (s *DashPackage) SetUtcTimingUri(v string) *DashPackage { + s.UtcTimingUri = &v + return s +} + type DeleteChannelInput struct { _ struct{} `type:"structure"` @@ -6135,6 +6155,26 @@ func StreamOrder_Values() []string { } } +const ( + // UtcTimingNone is a UtcTiming enum value + UtcTimingNone = "NONE" + + // UtcTimingHttpHead is a UtcTiming enum value + UtcTimingHttpHead = "HTTP-HEAD" + + // UtcTimingHttpIso is a UtcTiming enum value + UtcTimingHttpIso = "HTTP-ISO" +) + +// UtcTiming_Values returns all elements of the UtcTiming enum +func UtcTiming_Values() []string { + return []string{ + UtcTimingNone, + UtcTimingHttpHead, + UtcTimingHttpIso, + } +} + const ( // __AdTriggersElementSpliceInsert is a __AdTriggersElement enum value __AdTriggersElementSpliceInsert = "SPLICE_INSERT" diff --git a/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go b/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go index 543ae2d5cdb..f3db2b8f0e8 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/securityhub/api.go @@ -11229,6 +11229,10 @@ type AwsSecurityFinding struct { // A user-defined note added to a finding. Note *Note `type:"structure"` + // Provides an overview of the patch compliance status for an instance against + // a selected compliance standard. + PatchSummary *PatchSummary `type:"structure"` + // The details of process-related information about a finding. Process *ProcessDetails `type:"structure"` @@ -11386,6 +11390,11 @@ func (s *AwsSecurityFinding) Validate() error { invalidParams.AddNested("Note", err.(request.ErrInvalidParams)) } } + if s.PatchSummary != nil { + if err := s.PatchSummary.Validate(); err != nil { + invalidParams.AddNested("PatchSummary", err.(request.ErrInvalidParams)) + } + } if s.RelatedFindings != nil { for i, v := range s.RelatedFindings { if v == nil { @@ -11507,6 +11516,12 @@ func (s *AwsSecurityFinding) SetNote(v *Note) *AwsSecurityFinding { return s } +// SetPatchSummary sets the PatchSummary field's value. +func (s *AwsSecurityFinding) SetPatchSummary(v *PatchSummary) *AwsSecurityFinding { + s.PatchSummary = v + return s +} + // SetProcess sets the Process field's value. func (s *AwsSecurityFinding) SetProcess(v *ProcessDetails) *AwsSecurityFinding { s.Process = v @@ -16920,6 +16935,149 @@ func (s *NumberFilter) SetLte(v float64) *NumberFilter { return s } +// Provides an overview of the patch compliance status for an instance against +// a selected compliance standard. +type PatchSummary struct { + _ struct{} `type:"structure"` + + // The number of patches from the compliance standard that failed to install. + FailedCount *int64 `type:"integer"` + + // The identifier of the compliance standard that was used to determine the + // patch compliance status. + // + // Id is a required field + Id *string `type:"string" required:"true"` + + // The number of patches from the compliance standard that were installed successfully. + InstalledCount *int64 `type:"integer"` + + // The number of installed patches that are not part of the compliance standard. + InstalledOtherCount *int64 `type:"integer"` + + // The number of patches that were installed since the last time the instance + // was rebooted. + InstalledPendingReboot *int64 `type:"integer"` + + // The number of patches that are installed but are also on a list of patches + // that the customer rejected. + InstalledRejectedCount *int64 `type:"integer"` + + // The number of patches that are part of the compliance standard but are not + // installed. The count includes patches that failed to install. + MissingCount *int64 `type:"integer"` + + // The type of patch operation performed. For Patch Manager, the values are + // SCAN and INSTALL. + Operation *string `type:"string"` + + // Indicates when the operation completed. + // + // Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time + // Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot + // contain spaces. For example, 2020-03-22T13:22:13.933Z. + OperationEndTime *string `type:"string"` + + // Indicates when the operation started. + // + // Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time + // Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot + // contain spaces. For example, 2020-03-22T13:22:13.933Z. + OperationStartTime *string `type:"string"` + + // The reboot option specified for the instance. + RebootOption *string `type:"string"` +} + +// String returns the string representation +func (s PatchSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PatchSummary) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PatchSummary) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PatchSummary"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFailedCount sets the FailedCount field's value. +func (s *PatchSummary) SetFailedCount(v int64) *PatchSummary { + s.FailedCount = &v + return s +} + +// SetId sets the Id field's value. +func (s *PatchSummary) SetId(v string) *PatchSummary { + s.Id = &v + return s +} + +// SetInstalledCount sets the InstalledCount field's value. +func (s *PatchSummary) SetInstalledCount(v int64) *PatchSummary { + s.InstalledCount = &v + return s +} + +// SetInstalledOtherCount sets the InstalledOtherCount field's value. +func (s *PatchSummary) SetInstalledOtherCount(v int64) *PatchSummary { + s.InstalledOtherCount = &v + return s +} + +// SetInstalledPendingReboot sets the InstalledPendingReboot field's value. +func (s *PatchSummary) SetInstalledPendingReboot(v int64) *PatchSummary { + s.InstalledPendingReboot = &v + return s +} + +// SetInstalledRejectedCount sets the InstalledRejectedCount field's value. +func (s *PatchSummary) SetInstalledRejectedCount(v int64) *PatchSummary { + s.InstalledRejectedCount = &v + return s +} + +// SetMissingCount sets the MissingCount field's value. +func (s *PatchSummary) SetMissingCount(v int64) *PatchSummary { + s.MissingCount = &v + return s +} + +// SetOperation sets the Operation field's value. +func (s *PatchSummary) SetOperation(v string) *PatchSummary { + s.Operation = &v + return s +} + +// SetOperationEndTime sets the OperationEndTime field's value. +func (s *PatchSummary) SetOperationEndTime(v string) *PatchSummary { + s.OperationEndTime = &v + return s +} + +// SetOperationStartTime sets the OperationStartTime field's value. +func (s *PatchSummary) SetOperationStartTime(v string) *PatchSummary { + s.OperationStartTime = &v + return s +} + +// SetRebootOption sets the RebootOption field's value. +func (s *PatchSummary) SetRebootOption(v string) *PatchSummary { + s.RebootOption = &v + return s +} + // A range of ports. type PortRange struct { _ struct{} `type:"structure"` diff --git a/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go b/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go index 30d4443a14e..51650161c36 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sfn/api.go @@ -2525,9 +2525,13 @@ type ActivityScheduledEventDetails struct { // The maximum allowed duration between two heartbeats for the activity task. HeartbeatInSeconds *int64 `locationName:"heartbeatInSeconds" type:"long"` - // The JSON data input to the activity task. + // The JSON data input to the activity task. Length constraints apply to the + // payload size, and are expressed as bytes in UTF-8 encoding. Input *string `locationName:"input" type:"string" sensitive:"true"` + // Contains details about the input for an execution history event. + InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"` + // The Amazon Resource Name (ARN) of the scheduled activity. // // Resource is a required field @@ -2559,6 +2563,12 @@ func (s *ActivityScheduledEventDetails) SetInput(v string) *ActivityScheduledEve return s } +// SetInputDetails sets the InputDetails field's value. +func (s *ActivityScheduledEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *ActivityScheduledEventDetails { + s.InputDetails = v + return s +} + // SetResource sets the Resource field's value. func (s *ActivityScheduledEventDetails) SetResource(v string) *ActivityScheduledEventDetails { s.Resource = &v @@ -2601,8 +2611,12 @@ func (s *ActivityStartedEventDetails) SetWorkerName(v string) *ActivityStartedEv type ActivitySucceededEventDetails struct { _ struct{} `type:"structure"` - // The JSON data output by the activity task. + // The JSON data output by the activity task. Length constraints apply to the + // payload size, and are expressed as bytes in UTF-8 encoding. Output *string `locationName:"output" type:"string" sensitive:"true"` + + // Contains details about the output of an execution history event. + OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"` } // String returns the string representation @@ -2621,6 +2635,12 @@ func (s *ActivitySucceededEventDetails) SetOutput(v string) *ActivitySucceededEv return s } +// SetOutputDetails sets the OutputDetails field's value. +func (s *ActivitySucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *ActivitySucceededEventDetails { + s.OutputDetails = v + return s +} + // Contains details about an activity timeout that occurred during an execution. type ActivityTimedOutEventDetails struct { _ struct{} `type:"structure"` @@ -2711,6 +2731,31 @@ func (s *ActivityWorkerLimitExceeded) RequestID() string { return s.RespMetadata.RequestID } +// Provides details about execution input. +type CloudWatchEventsExecutionDataDetails struct { + _ struct{} `type:"structure"` + + // Indicates whether input or output was included in the response. Always true + // for API calls, but may be false for CloudWatch Events. + Included *bool `locationName:"included" type:"boolean"` +} + +// String returns the string representation +func (s CloudWatchEventsExecutionDataDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CloudWatchEventsExecutionDataDetails) GoString() string { + return s.String() +} + +// SetIncluded sets the Included field's value. +func (s *CloudWatchEventsExecutionDataDetails) SetIncluded(v bool) *CloudWatchEventsExecutionDataDetails { + s.Included = &v + return s +} + type CloudWatchLogsLogGroup struct { _ struct{} `type:"structure"` @@ -3315,10 +3360,12 @@ type DescribeExecutionOutput struct { // ExecutionArn is a required field ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"` - // The string that contains the JSON input data of the execution. - // - // Input is a required field - Input *string `locationName:"input" type:"string" required:"true" sensitive:"true"` + // The string that contains the JSON input data of the execution. Length constraints + // apply to the payload size, and are expressed as bytes in UTF-8 encoding. + Input *string `locationName:"input" type:"string" sensitive:"true"` + + // Provides details about execution input. + InputDetails *CloudWatchEventsExecutionDataDetails `locationName:"inputDetails" type:"structure"` // The name of the execution. // @@ -3338,12 +3385,16 @@ type DescribeExecutionOutput struct { // A-Z, a-z, - and _. Name *string `locationName:"name" min:"1" type:"string"` - // The JSON output data of the execution. + // The JSON output data of the execution. Length constraints apply to the payload + // size, and are expressed as bytes in UTF-8 encoding. // // This field is set only if the execution succeeds. If the execution fails, // this field is null. Output *string `locationName:"output" type:"string" sensitive:"true"` + // Provides details about execution input. + OutputDetails *CloudWatchEventsExecutionDataDetails `locationName:"outputDetails" type:"structure"` + // The date the execution is started. // // StartDate is a required field @@ -3385,6 +3436,12 @@ func (s *DescribeExecutionOutput) SetInput(v string) *DescribeExecutionOutput { return s } +// SetInputDetails sets the InputDetails field's value. +func (s *DescribeExecutionOutput) SetInputDetails(v *CloudWatchEventsExecutionDataDetails) *DescribeExecutionOutput { + s.InputDetails = v + return s +} + // SetName sets the Name field's value. func (s *DescribeExecutionOutput) SetName(v string) *DescribeExecutionOutput { s.Name = &v @@ -3397,6 +3454,12 @@ func (s *DescribeExecutionOutput) SetOutput(v string) *DescribeExecutionOutput { return s } +// SetOutputDetails sets the OutputDetails field's value. +func (s *DescribeExecutionOutput) SetOutputDetails(v *CloudWatchEventsExecutionDataDetails) *DescribeExecutionOutput { + s.OutputDetails = v + return s +} + // SetStartDate sets the StartDate field's value. func (s *DescribeExecutionOutput) SetStartDate(v time.Time) *DescribeExecutionOutput { s.StartDate = &v @@ -4036,9 +4099,13 @@ func (s *ExecutionListItem) SetStopDate(v time.Time) *ExecutionListItem { type ExecutionStartedEventDetails struct { _ struct{} `type:"structure"` - // The JSON data input to the execution. + // The JSON data input to the execution. Length constraints apply to the payload + // size, and are expressed as bytes in UTF-8 encoding. Input *string `locationName:"input" type:"string" sensitive:"true"` + // Contains details about the input for an execution history event. + InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"` + // The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda // tasks. RoleArn *string `locationName:"roleArn" min:"1" type:"string"` @@ -4060,6 +4127,12 @@ func (s *ExecutionStartedEventDetails) SetInput(v string) *ExecutionStartedEvent return s } +// SetInputDetails sets the InputDetails field's value. +func (s *ExecutionStartedEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *ExecutionStartedEventDetails { + s.InputDetails = v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *ExecutionStartedEventDetails) SetRoleArn(v string) *ExecutionStartedEventDetails { s.RoleArn = &v @@ -4070,8 +4143,12 @@ func (s *ExecutionStartedEventDetails) SetRoleArn(v string) *ExecutionStartedEve type ExecutionSucceededEventDetails struct { _ struct{} `type:"structure"` - // The JSON data output by the execution. + // The JSON data output by the execution. Length constraints apply to the payload + // size, and are expressed as bytes in UTF-8 encoding. Output *string `locationName:"output" type:"string" sensitive:"true"` + + // Contains details about the output of an execution history event. + OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"` } // String returns the string representation @@ -4090,6 +4167,12 @@ func (s *ExecutionSucceededEventDetails) SetOutput(v string) *ExecutionSucceeded return s } +// SetOutputDetails sets the OutputDetails field's value. +func (s *ExecutionSucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *ExecutionSucceededEventDetails { + s.OutputDetails = v + return s +} + // Contains details about the execution timeout that occurred during the execution. type ExecutionTimedOutEventDetails struct { _ struct{} `type:"structure"` @@ -4182,7 +4265,8 @@ func (s *GetActivityTaskInput) SetWorkerName(v string) *GetActivityTaskInput { type GetActivityTaskOutput struct { _ struct{} `type:"structure"` - // The string that contains the JSON input data for the task. + // The string that contains the JSON input data for the task. Length constraints + // apply to the payload size, and are expressed as bytes in UTF-8 encoding. Input *string `locationName:"input" type:"string" sensitive:"true"` // A token that identifies the scheduled task. This token must be copied and @@ -4221,6 +4305,10 @@ type GetExecutionHistoryInput struct { // ExecutionArn is a required field ExecutionArn *string `locationName:"executionArn" min:"1" type:"string" required:"true"` + // You can select whether execution data (input or output of a history event) + // is returned. The default is true. + IncludeExecutionData *bool `locationName:"includeExecutionData" type:"boolean"` + // The maximum number of results that are returned per call. You can use nextToken // to obtain further pages of results. The default is 100 and the maximum allowed // page size is 1000. A value of 0 uses the default. @@ -4275,6 +4363,12 @@ func (s *GetExecutionHistoryInput) SetExecutionArn(v string) *GetExecutionHistor return s } +// SetIncludeExecutionData sets the IncludeExecutionData field's value. +func (s *GetExecutionHistoryInput) SetIncludeExecutionData(v bool) *GetExecutionHistoryInput { + s.IncludeExecutionData = &v + return s +} + // SetMaxResults sets the MaxResults field's value. func (s *GetExecutionHistoryInput) SetMaxResults(v int64) *GetExecutionHistoryInput { s.MaxResults = &v @@ -4680,6 +4774,31 @@ func (s *HistoryEvent) SetType(v string) *HistoryEvent { return s } +// Contains details about the data from an execution's events. Always true for +// API calls, but may be false for CloudWatch Logs. +type HistoryEventExecutionDataDetails struct { + _ struct{} `type:"structure"` + + // Indicates whether input or output was truncated in the response. Always false. + Truncated *bool `locationName:"truncated" type:"boolean"` +} + +// String returns the string representation +func (s HistoryEventExecutionDataDetails) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s HistoryEventExecutionDataDetails) GoString() string { + return s.String() +} + +// SetTruncated sets the Truncated field's value. +func (s *HistoryEventExecutionDataDetails) SetTruncated(v bool) *HistoryEventExecutionDataDetails { + s.Truncated = &v + return s +} + // The provided Amazon Resource Name (ARN) is invalid. type InvalidArn struct { _ struct{} `type:"structure"` @@ -5142,9 +5261,13 @@ func (s *LambdaFunctionScheduleFailedEventDetails) SetError(v string) *LambdaFun type LambdaFunctionScheduledEventDetails struct { _ struct{} `type:"structure"` - // The JSON data input to the lambda function. + // The JSON data input to the lambda function. Length constraints apply to the + // payload size, and are expressed as bytes in UTF-8 encoding. Input *string `locationName:"input" type:"string" sensitive:"true"` + // Contains details about input for an execution history event. + InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"` + // The Amazon Resource Name (ARN) of the scheduled lambda function. // // Resource is a required field @@ -5170,6 +5293,12 @@ func (s *LambdaFunctionScheduledEventDetails) SetInput(v string) *LambdaFunction return s } +// SetInputDetails sets the InputDetails field's value. +func (s *LambdaFunctionScheduledEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *LambdaFunctionScheduledEventDetails { + s.InputDetails = v + return s +} + // SetResource sets the Resource field's value. func (s *LambdaFunctionScheduledEventDetails) SetResource(v string) *LambdaFunctionScheduledEventDetails { s.Resource = &v @@ -5220,8 +5349,12 @@ func (s *LambdaFunctionStartFailedEventDetails) SetError(v string) *LambdaFuncti type LambdaFunctionSucceededEventDetails struct { _ struct{} `type:"structure"` - // The JSON data output by the lambda function. + // The JSON data output by the lambda function. Length constraints apply to + // the payload size, and are expressed as bytes in UTF-8 encoding. Output *string `locationName:"output" type:"string" sensitive:"true"` + + // Contains details about the output of an execution history event. + OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"` } // String returns the string representation @@ -5240,6 +5373,12 @@ func (s *LambdaFunctionSucceededEventDetails) SetOutput(v string) *LambdaFunctio return s } +// SetOutputDetails sets the OutputDetails field's value. +func (s *LambdaFunctionSucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *LambdaFunctionSucceededEventDetails { + s.OutputDetails = v + return s +} + // Contains details about a lambda function timeout that occurred during an // execution. type LambdaFunctionTimedOutEventDetails struct { @@ -5687,7 +5826,7 @@ type LoggingConfiguration struct { // be logged. Limited to size 1. Required, if your log level is not set to OFF. Destinations []*LogDestination `locationName:"destinations" type:"list"` - // Determines whether execution data is included in your log. When set to FALSE, + // Determines whether execution data is included in your log. When set to false, // data is excluded. IncludeExecutionData *bool `locationName:"includeExecutionData" type:"boolean"` @@ -6051,7 +6190,8 @@ func (s SendTaskHeartbeatOutput) GoString() string { type SendTaskSuccessInput struct { _ struct{} `type:"structure"` - // The JSON output of the task. + // The JSON output of the task. Length constraints apply to the payload size, + // and are expressed as bytes in UTF-8 encoding. // // Output is a required field Output *string `locationName:"output" type:"string" required:"true" sensitive:"true"` @@ -6128,6 +6268,9 @@ type StartExecutionInput struct { // // If you don't include any JSON input data, you still must include the two // braces, for example: "input": "{}" + // + // Length constraints apply to the payload size, and are expressed as bytes + // in UTF-8 encoding. Input *string `locationName:"input" type:"string" sensitive:"true"` // The name of the execution. This name must be unique for your AWS account, @@ -6244,9 +6387,13 @@ func (s *StartExecutionOutput) SetStartDate(v time.Time) *StartExecutionOutput { type StateEnteredEventDetails struct { _ struct{} `type:"structure"` - // The string that contains the JSON input data for the state. + // The string that contains the JSON input data for the state. Length constraints + // apply to the payload size, and are expressed as bytes in UTF-8 encoding. Input *string `locationName:"input" type:"string" sensitive:"true"` + // Contains details about the input for an execution history event. + InputDetails *HistoryEventExecutionDataDetails `locationName:"inputDetails" type:"structure"` + // The name of the state. // // Name is a required field @@ -6269,6 +6416,12 @@ func (s *StateEnteredEventDetails) SetInput(v string) *StateEnteredEventDetails return s } +// SetInputDetails sets the InputDetails field's value. +func (s *StateEnteredEventDetails) SetInputDetails(v *HistoryEventExecutionDataDetails) *StateEnteredEventDetails { + s.InputDetails = v + return s +} + // SetName sets the Name field's value. func (s *StateEnteredEventDetails) SetName(v string) *StateEnteredEventDetails { s.Name = &v @@ -6299,8 +6452,12 @@ type StateExitedEventDetails struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The JSON output data of the state. + // The JSON output data of the state. Length constraints apply to the payload + // size, and are expressed as bytes in UTF-8 encoding. Output *string `locationName:"output" type:"string" sensitive:"true"` + + // Contains details about the output of an execution history event. + OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"` } // String returns the string representation @@ -6325,6 +6482,12 @@ func (s *StateExitedEventDetails) SetOutput(v string) *StateExitedEventDetails { return s } +// SetOutputDetails sets the OutputDetails field's value. +func (s *StateExitedEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *StateExitedEventDetails { + s.OutputDetails = v + return s +} + // A state machine with the same name but a different definition or role ARN // already exists. type StateMachineAlreadyExists struct { @@ -7013,7 +7176,11 @@ func (s *TaskFailedEventDetails) SetResourceType(v string) *TaskFailedEventDetai type TaskScheduledEventDetails struct { _ struct{} `type:"structure"` - // The JSON data passed to the resource referenced in a task state. + // The maximum allowed duration between two heartbeats for the task. + HeartbeatInSeconds *int64 `locationName:"heartbeatInSeconds" type:"long"` + + // The JSON data passed to the resource referenced in a task state. Length constraints + // apply to the payload size, and are expressed as bytes in UTF-8 encoding. // // Parameters is a required field Parameters *string `locationName:"parameters" type:"string" required:"true" sensitive:"true"` @@ -7047,6 +7214,12 @@ func (s TaskScheduledEventDetails) GoString() string { return s.String() } +// SetHeartbeatInSeconds sets the HeartbeatInSeconds field's value. +func (s *TaskScheduledEventDetails) SetHeartbeatInSeconds(v int64) *TaskScheduledEventDetails { + s.HeartbeatInSeconds = &v + return s +} + // SetParameters sets the Parameters field's value. func (s *TaskScheduledEventDetails) SetParameters(v string) *TaskScheduledEventDetails { s.Parameters = &v @@ -7228,9 +7401,13 @@ func (s *TaskSubmitFailedEventDetails) SetResourceType(v string) *TaskSubmitFail type TaskSubmittedEventDetails struct { _ struct{} `type:"structure"` - // The response from a resource when a task has started. + // The response from a resource when a task has started. Length constraints + // apply to the payload size, and are expressed as bytes in UTF-8 encoding. Output *string `locationName:"output" type:"string" sensitive:"true"` + // Contains details about the output of an execution history event. + OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"` + // The service name of the resource in a task state. // // Resource is a required field @@ -7258,6 +7435,12 @@ func (s *TaskSubmittedEventDetails) SetOutput(v string) *TaskSubmittedEventDetai return s } +// SetOutputDetails sets the OutputDetails field's value. +func (s *TaskSubmittedEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *TaskSubmittedEventDetails { + s.OutputDetails = v + return s +} + // SetResource sets the Resource field's value. func (s *TaskSubmittedEventDetails) SetResource(v string) *TaskSubmittedEventDetails { s.Resource = &v @@ -7275,9 +7458,13 @@ type TaskSucceededEventDetails struct { _ struct{} `type:"structure"` // The full JSON response from a resource when a task has succeeded. This response - // becomes the output of the related task. + // becomes the output of the related task. Length constraints apply to the payload + // size, and are expressed as bytes in UTF-8 encoding. Output *string `locationName:"output" type:"string" sensitive:"true"` + // Contains details about the output of an execution history event. + OutputDetails *HistoryEventExecutionDataDetails `locationName:"outputDetails" type:"structure"` + // The service name of the resource in a task state. // // Resource is a required field @@ -7305,6 +7492,12 @@ func (s *TaskSucceededEventDetails) SetOutput(v string) *TaskSucceededEventDetai return s } +// SetOutputDetails sets the OutputDetails field's value. +func (s *TaskSucceededEventDetails) SetOutputDetails(v *HistoryEventExecutionDataDetails) *TaskSucceededEventDetails { + s.OutputDetails = v + return s +} + // SetResource sets the Resource field's value. func (s *TaskSucceededEventDetails) SetResource(v string) *TaskSucceededEventDetails { s.Resource = &v diff --git a/vendor/modules.txt b/vendor/modules.txt index 34d4db1ce96..e86673f810a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -29,7 +29,7 @@ github.com/apparentlymart/go-cidr/cidr github.com/apparentlymart/go-textseg/textseg # github.com/armon/go-radix v1.0.0 github.com/armon/go-radix -# github.com/aws/aws-sdk-go v1.34.14 +# github.com/aws/aws-sdk-go v1.34.17 ## explicit github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws/arn