From 520610df1b8ce4a2bb5d103154f4c8d9056c4075 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:32:43 -0500 Subject: [PATCH] Release v1.50.19 (2024-02-15) (#5171) Release v1.50.19 (2024-02-15) === ### Service Client Updates * `service/artifact`: Updates service API, documentation, paginators, and examples * `service/codepipeline`: Updates service API and documentation * Add ability to override timeout on action level. * `service/detective`: Updates service documentation * `service/guardduty`: Updates service API and documentation * Marked fields IpAddressV4, PrivateIpAddress, Email as Sensitive. * `service/healthlake`: Updates service API and documentation * `service/opensearch`: Updates service API and documentation * `service/polly`: Updates service API * Amazon Polly adds 1 new voice - Burcu (tr-TR) * `service/sagemaker`: Updates service API and documentation * This release adds a new API UpdateClusterSoftware for SageMaker HyperPod. This API allows users to patch HyperPod clusters with latest platform softwares. * `service/secretsmanager`: Updates service documentation * Doc only update for Secrets Manager --- CHANGELOG.md | 19 + aws/endpoints/defaults.go | 18 + aws/version.go | 2 +- models/apis/artifact/2018-05-10/api-2.json | 540 ++++ models/apis/artifact/2018-05-10/docs-2.json | 307 +++ .../2018-05-10/endpoint-rule-set-1.json | 350 +++ .../artifact/2018-05-10/endpoint-tests-1.json | 314 +++ .../apis/artifact/2018-05-10/examples-1.json | 5 + .../artifact/2018-05-10/paginators-1.json | 10 + .../apis/codepipeline/2015-07-09/api-2.json | 9 +- .../apis/codepipeline/2015-07-09/docs-2.json | 6 + models/apis/detective/2018-10-26/docs-2.json | 98 +- models/apis/guardduty/2017-11-28/api-2.json | 15 +- models/apis/guardduty/2017-11-28/docs-2.json | 19 +- models/apis/healthlake/2017-07-01/api-2.json | 16 + models/apis/healthlake/2017-07-01/docs-2.json | 30 +- .../2017-07-01/endpoint-rule-set-1.json | 366 ++- models/apis/opensearch/2021-01-01/api-2.json | 8 + models/apis/opensearch/2021-01-01/docs-2.json | 40 +- models/apis/polly/2016-06-10/api-2.json | 3 +- models/apis/sagemaker/2017-07-24/api-2.json | 27 + models/apis/sagemaker/2017-07-24/docs-2.json | 21 +- .../secretsmanager/2017-10-17/docs-2.json | 4 +- models/endpoints/endpoints.json | 13 + service/artifact/api.go | 2187 +++++++++++++++++ service/artifact/artifactiface/interface.go | 91 + service/artifact/doc.go | 29 + service/artifact/errors.go | 62 + service/artifact/service.go | 106 + service/codepipeline/api.go | 14 + service/detective/api.go | 212 +- service/detective/doc.go | 2 +- service/detective/errors.go | 14 +- service/guardduty/api.go | 48 +- service/healthlake/api.go | 116 +- service/opensearchservice/api.go | 69 +- service/opensearchservice/doc.go | 13 +- service/polly/api.go | 4 + service/sagemaker/api.go | 175 +- service/sagemaker/sagemakeriface/interface.go | 4 + service/secretsmanager/api.go | 10 +- 41 files changed, 4947 insertions(+), 449 deletions(-) create mode 100644 models/apis/artifact/2018-05-10/api-2.json create mode 100644 models/apis/artifact/2018-05-10/docs-2.json create mode 100644 models/apis/artifact/2018-05-10/endpoint-rule-set-1.json create mode 100644 models/apis/artifact/2018-05-10/endpoint-tests-1.json create mode 100644 models/apis/artifact/2018-05-10/examples-1.json create mode 100644 models/apis/artifact/2018-05-10/paginators-1.json create mode 100644 service/artifact/api.go create mode 100644 service/artifact/artifactiface/interface.go create mode 100644 service/artifact/doc.go create mode 100644 service/artifact/errors.go create mode 100644 service/artifact/service.go diff --git a/CHANGELOG.md b/CHANGELOG.md index b2a38104a86..75e52296bdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +Release v1.50.19 (2024-02-15) +=== + +### Service Client Updates +* `service/artifact`: Updates service API, documentation, paginators, and examples +* `service/codepipeline`: Updates service API and documentation + * Add ability to override timeout on action level. +* `service/detective`: Updates service documentation +* `service/guardduty`: Updates service API and documentation + * Marked fields IpAddressV4, PrivateIpAddress, Email as Sensitive. +* `service/healthlake`: Updates service API and documentation +* `service/opensearch`: Updates service API and documentation +* `service/polly`: Updates service API + * Amazon Polly adds 1 new voice - Burcu (tr-TR) +* `service/sagemaker`: Updates service API and documentation + * This release adds a new API UpdateClusterSoftware for SageMaker HyperPod. This API allows users to patch HyperPod clusters with latest platform softwares. +* `service/secretsmanager`: Updates service documentation + * Doc only update for Secrets Manager + Release v1.50.18 (2024-02-14) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 65acc40c78b..141ed3b8312 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -661,6 +661,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "acm-pca-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "acm-pca-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -694,6 +703,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "acm-pca-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ diff --git a/aws/version.go b/aws/version.go index e21ac40acb5..8adbffbc646 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.50.18" +const SDKVersion = "1.50.19" diff --git a/models/apis/artifact/2018-05-10/api-2.json b/models/apis/artifact/2018-05-10/api-2.json new file mode 100644 index 00000000000..38c6a17d5d4 --- /dev/null +++ b/models/apis/artifact/2018-05-10/api-2.json @@ -0,0 +1,540 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2018-05-10", + "endpointPrefix":"artifact", + "jsonVersion":"1.1", + "protocol":"rest-json", + "serviceFullName":"AWS Artifact", + "serviceId":"Artifact", + "signatureVersion":"v4", + "signingName":"artifact", + "uid":"artifact-2018-05-10" + }, + "operations":{ + "GetAccountSettings":{ + "name":"GetAccountSettings", + "http":{ + "method":"GET", + "requestUri":"/v1/account-settings/get", + "responseCode":200 + }, + "input":{"shape":"GetAccountSettingsRequest"}, + "output":{"shape":"GetAccountSettingsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ] + }, + "GetReport":{ + "name":"GetReport", + "http":{ + "method":"GET", + "requestUri":"/v1/report/get", + "responseCode":200 + }, + "input":{"shape":"GetReportRequest"}, + "output":{"shape":"GetReportResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ] + }, + "GetReportMetadata":{ + "name":"GetReportMetadata", + "http":{ + "method":"GET", + "requestUri":"/v1/report/getMetadata", + "responseCode":200 + }, + "input":{"shape":"GetReportMetadataRequest"}, + "output":{"shape":"GetReportMetadataResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ] + }, + "GetTermForReport":{ + "name":"GetTermForReport", + "http":{ + "method":"GET", + "requestUri":"/v1/report/getTermForReport", + "responseCode":200 + }, + "input":{"shape":"GetTermForReportRequest"}, + "output":{"shape":"GetTermForReportResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ] + }, + "ListReports":{ + "name":"ListReports", + "http":{ + "method":"GET", + "requestUri":"/v1/report/list", + "responseCode":200 + }, + "input":{"shape":"ListReportsRequest"}, + "output":{"shape":"ListReportsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ] + }, + "PutAccountSettings":{ + "name":"PutAccountSettings", + "http":{ + "method":"PUT", + "requestUri":"/v1/account-settings/put", + "responseCode":200 + }, + "input":{"shape":"PutAccountSettingsRequest"}, + "output":{"shape":"PutAccountSettingsResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "idempotent":true + } + }, + "shapes":{ + "AcceptanceType":{ + "type":"string", + "enum":[ + "PASSTHROUGH", + "EXPLICIT" + ] + }, + "AccessDeniedException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "AccountSettings":{ + "type":"structure", + "members":{ + "notificationSubscriptionStatus":{"shape":"NotificationSubscriptionStatus"} + } + }, + "ConflictException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "message":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"String"} + }, + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "GetAccountSettingsRequest":{ + "type":"structure", + "members":{ + } + }, + "GetAccountSettingsResponse":{ + "type":"structure", + "members":{ + "accountSettings":{"shape":"AccountSettings"} + } + }, + "GetReportMetadataRequest":{ + "type":"structure", + "required":["reportId"], + "members":{ + "reportId":{ + "shape":"ReportId", + "location":"querystring", + "locationName":"reportId" + }, + "reportVersion":{ + "shape":"VersionAttribute", + "location":"querystring", + "locationName":"reportVersion" + } + } + }, + "GetReportMetadataResponse":{ + "type":"structure", + "members":{ + "reportDetails":{"shape":"ReportDetail"} + } + }, + "GetReportRequest":{ + "type":"structure", + "required":[ + "reportId", + "termToken" + ], + "members":{ + "reportId":{ + "shape":"ReportId", + "location":"querystring", + "locationName":"reportId" + }, + "reportVersion":{ + "shape":"VersionAttribute", + "location":"querystring", + "locationName":"reportVersion" + }, + "termToken":{ + "shape":"ShortStringAttribute", + "location":"querystring", + "locationName":"termToken" + } + } + }, + "GetReportResponse":{ + "type":"structure", + "members":{ + "documentPresignedUrl":{"shape":"GetReportResponseDocumentPresignedUrlString"} + } + }, + "GetReportResponseDocumentPresignedUrlString":{ + "type":"string", + "max":10240, + "min":1 + }, + "GetTermForReportRequest":{ + "type":"structure", + "required":["reportId"], + "members":{ + "reportId":{ + "shape":"ReportId", + "location":"querystring", + "locationName":"reportId" + }, + "reportVersion":{ + "shape":"VersionAttribute", + "location":"querystring", + "locationName":"reportVersion" + } + } + }, + "GetTermForReportResponse":{ + "type":"structure", + "members":{ + "documentPresignedUrl":{"shape":"GetTermForReportResponseDocumentPresignedUrlString"}, + "termToken":{"shape":"String"} + } + }, + "GetTermForReportResponseDocumentPresignedUrlString":{ + "type":"string", + "max":10240, + "min":1 + }, + "Integer":{ + "type":"integer", + "box":true + }, + "InternalServerException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "retryAfterSeconds":{ + "shape":"Integer", + "location":"header", + "locationName":"Retry-After" + } + }, + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true, + "retryable":{"throttling":false} + }, + "ListReportsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResultsAttribute", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"NextTokenAttribute", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListReportsResponse":{ + "type":"structure", + "members":{ + "nextToken":{"shape":"NextTokenAttribute"}, + "reports":{"shape":"ReportsList"} + } + }, + "LongStringAttribute":{ + "type":"string", + "max":1024, + "min":1, + "pattern":"^[^<>]*$" + }, + "MaxResultsAttribute":{ + "type":"integer", + "box":true, + "max":300, + "min":1 + }, + "NextTokenAttribute":{ + "type":"string", + "max":2048, + "min":1 + }, + "NotificationSubscriptionStatus":{ + "type":"string", + "enum":[ + "SUBSCRIBED", + "NOT_SUBSCRIBED" + ] + }, + "PublishedState":{ + "type":"string", + "enum":[ + "PUBLISHED", + "UNPUBLISHED" + ] + }, + "PutAccountSettingsRequest":{ + "type":"structure", + "members":{ + "notificationSubscriptionStatus":{"shape":"NotificationSubscriptionStatus"} + } + }, + "PutAccountSettingsResponse":{ + "type":"structure", + "members":{ + "accountSettings":{"shape":"AccountSettings"} + } + }, + "ReportDetail":{ + "type":"structure", + "members":{ + "acceptanceType":{"shape":"AcceptanceType"}, + "arn":{"shape":"LongStringAttribute"}, + "category":{"shape":"ShortStringAttribute"}, + "companyName":{"shape":"ShortStringAttribute"}, + "createdAt":{"shape":"TimestampAttribute"}, + "deletedAt":{"shape":"TimestampAttribute"}, + "description":{"shape":"LongStringAttribute"}, + "id":{"shape":"ReportId"}, + "lastModifiedAt":{"shape":"TimestampAttribute"}, + "name":{"shape":"ShortStringAttribute"}, + "periodEnd":{"shape":"TimestampAttribute"}, + "periodStart":{"shape":"TimestampAttribute"}, + "productName":{"shape":"ShortStringAttribute"}, + "sequenceNumber":{"shape":"SequenceNumberAttribute"}, + "series":{"shape":"ShortStringAttribute"}, + "state":{"shape":"PublishedState"}, + "statusMessage":{"shape":"StatusMessage"}, + "termArn":{"shape":"LongStringAttribute"}, + "uploadState":{"shape":"UploadState"}, + "version":{"shape":"VersionAttribute"} + } + }, + "ReportId":{ + "type":"string", + "pattern":"^report-[a-zA-Z0-9]{16}$" + }, + "ReportSummary":{ + "type":"structure", + "members":{ + "arn":{"shape":"LongStringAttribute"}, + "category":{"shape":"ShortStringAttribute"}, + "companyName":{"shape":"ShortStringAttribute"}, + "description":{"shape":"LongStringAttribute"}, + "id":{"shape":"ReportId"}, + "name":{"shape":"ShortStringAttribute"}, + "periodEnd":{"shape":"TimestampAttribute"}, + "periodStart":{"shape":"TimestampAttribute"}, + "productName":{"shape":"ShortStringAttribute"}, + "series":{"shape":"ShortStringAttribute"}, + "state":{"shape":"PublishedState"}, + "statusMessage":{"shape":"StatusMessage"}, + "uploadState":{"shape":"UploadState"}, + "version":{"shape":"VersionAttribute"} + } + }, + "ReportsList":{ + "type":"list", + "member":{"shape":"ReportSummary"} + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "message":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"String"} + }, + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "SequenceNumberAttribute":{ + "type":"long", + "box":true, + "min":1 + }, + "ServiceQuotaExceededException":{ + "type":"structure", + "required":[ + "message", + "quotaCode", + "resourceId", + "resourceType", + "serviceCode" + ], + "members":{ + "message":{"shape":"String"}, + "quotaCode":{"shape":"String"}, + "resourceId":{"shape":"String"}, + "resourceType":{"shape":"String"}, + "serviceCode":{"shape":"String"} + }, + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "ShortStringAttribute":{ + "type":"string", + "max":256, + "min":1, + "pattern":"^[a-zA-Z0-9_\\-\\s]*$" + }, + "StatusMessage":{"type":"string"}, + "String":{"type":"string"}, + "ThrottlingException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"}, + "quotaCode":{"shape":"String"}, + "retryAfterSeconds":{ + "shape":"Integer", + "location":"header", + "locationName":"Retry-After" + }, + "serviceCode":{"shape":"String"} + }, + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true, + "retryable":{"throttling":true} + }, + "TimestampAttribute":{ + "type":"timestamp", + "timestampFormat":"iso8601" + }, + "UploadState":{ + "type":"string", + "enum":[ + "PROCESSING", + "COMPLETE", + "FAILED", + "FAULT" + ] + }, + "ValidationException":{ + "type":"structure", + "required":[ + "message", + "reason" + ], + "members":{ + "fieldList":{"shape":"ValidationExceptionFieldList"}, + "message":{"shape":"String"}, + "reason":{"shape":"ValidationExceptionReason"} + }, + "error":{ + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "ValidationExceptionField":{ + "type":"structure", + "required":[ + "message", + "name" + ], + "members":{ + "message":{"shape":"String"}, + "name":{"shape":"String"} + } + }, + "ValidationExceptionFieldList":{ + "type":"list", + "member":{"shape":"ValidationExceptionField"} + }, + "ValidationExceptionReason":{ + "type":"string", + "enum":[ + "unknownOperation", + "cannotParse", + "fieldValidationFailed", + "invalidToken", + "other" + ] + }, + "VersionAttribute":{ + "type":"long", + "box":true, + "min":1 + } + } +} diff --git a/models/apis/artifact/2018-05-10/docs-2.json b/models/apis/artifact/2018-05-10/docs-2.json new file mode 100644 index 00000000000..33093aaaeea --- /dev/null +++ b/models/apis/artifact/2018-05-10/docs-2.json @@ -0,0 +1,307 @@ +{ + "version": "2.0", + "service": "
This reference provides descriptions of the low-level AWS Artifact Service API.
", + "operations": { + "GetAccountSettings": "Get the account settings for Artifact.
", + "GetReport": "Get the content for a single report.
", + "GetReportMetadata": "Get the metadata for a single report.
", + "GetTermForReport": "Get the Term content associated with a single report.
", + "ListReports": "List available reports.
", + "PutAccountSettings": "Put the account settings for Artifact.
" + }, + "shapes": { + "AcceptanceType": { + "base": null, + "refs": { + "ReportDetail$acceptanceType": "Acceptance type for report.
" + } + }, + "AccessDeniedException": { + "base": "User does not have sufficient access to perform this action.
", + "refs": { + } + }, + "AccountSettings": { + "base": "Account settings for the customer.
", + "refs": { + "GetAccountSettingsResponse$accountSettings": null, + "PutAccountSettingsResponse$accountSettings": null + } + }, + "ConflictException": { + "base": "Request to create/modify content would result in a conflict.
", + "refs": { + } + }, + "GetAccountSettingsRequest": { + "base": null, + "refs": { + } + }, + "GetAccountSettingsResponse": { + "base": null, + "refs": { + } + }, + "GetReportMetadataRequest": { + "base": null, + "refs": { + } + }, + "GetReportMetadataResponse": { + "base": null, + "refs": { + } + }, + "GetReportRequest": { + "base": null, + "refs": { + } + }, + "GetReportResponse": { + "base": null, + "refs": { + } + }, + "GetReportResponseDocumentPresignedUrlString": { + "base": null, + "refs": { + "GetReportResponse$documentPresignedUrl": "Presigned S3 url to access the report content.
" + } + }, + "GetTermForReportRequest": { + "base": null, + "refs": { + } + }, + "GetTermForReportResponse": { + "base": null, + "refs": { + } + }, + "GetTermForReportResponseDocumentPresignedUrlString": { + "base": null, + "refs": { + "GetTermForReportResponse$documentPresignedUrl": "Presigned S3 url to access the term content.
" + } + }, + "Integer": { + "base": null, + "refs": { + "InternalServerException$retryAfterSeconds": "Number of seconds in which the caller can retry the request.
", + "ThrottlingException$retryAfterSeconds": "Number of seconds in which the caller can retry the request.
" + } + }, + "InternalServerException": { + "base": "An unknown server exception has occurred.
", + "refs": { + } + }, + "ListReportsRequest": { + "base": null, + "refs": { + } + }, + "ListReportsResponse": { + "base": null, + "refs": { + } + }, + "LongStringAttribute": { + "base": null, + "refs": { + "ReportDetail$arn": "ARN for the report resource.
", + "ReportDetail$description": "Description for the report resource.
", + "ReportDetail$termArn": "Unique resource ARN for term resource.
", + "ReportSummary$arn": "ARN for the report resource.
", + "ReportSummary$description": "Description for the report resource.
" + } + }, + "MaxResultsAttribute": { + "base": null, + "refs": { + "ListReportsRequest$maxResults": "Maximum number of resources to return in the paginated response.
" + } + }, + "NextTokenAttribute": { + "base": null, + "refs": { + "ListReportsRequest$nextToken": "Pagination token to request the next page of resources.
", + "ListReportsResponse$nextToken": "Pagination token to request the next page of resources.
" + } + }, + "NotificationSubscriptionStatus": { + "base": null, + "refs": { + "AccountSettings$notificationSubscriptionStatus": "Notification subscription status of the customer.
", + "PutAccountSettingsRequest$notificationSubscriptionStatus": "Desired notification subscription status.
" + } + }, + "PublishedState": { + "base": null, + "refs": { + "ReportDetail$state": "Current state of the report resource
", + "ReportSummary$state": "Current state of the report resource.
" + } + }, + "PutAccountSettingsRequest": { + "base": null, + "refs": { + } + }, + "PutAccountSettingsResponse": { + "base": null, + "refs": { + } + }, + "ReportDetail": { + "base": "Full detail for report resource metadata.
", + "refs": { + "GetReportMetadataResponse$reportDetails": "Report resource detail.
" + } + }, + "ReportId": { + "base": null, + "refs": { + "GetReportMetadataRequest$reportId": "Unique resource ID for the report resource.
", + "GetReportRequest$reportId": "Unique resource ID for the report resource.
", + "GetTermForReportRequest$reportId": "Unique resource ID for the report resource.
", + "ReportDetail$id": "Unique resource ID for the report resource.
", + "ReportSummary$id": "Unique resource ID for the report resource.
" + } + }, + "ReportSummary": { + "base": "Summary for report resource.
", + "refs": { + "ReportsList$member": null + } + }, + "ReportsList": { + "base": null, + "refs": { + "ListReportsResponse$reports": "List of report resources.
" + } + }, + "ResourceNotFoundException": { + "base": "Request references a resource which does not exist.
", + "refs": { + } + }, + "SequenceNumberAttribute": { + "base": null, + "refs": { + "ReportDetail$sequenceNumber": "Sequence number to enforce optimistic locking.
" + } + }, + "ServiceQuotaExceededException": { + "base": "Request would cause a service quota to be exceeded.
", + "refs": { + } + }, + "ShortStringAttribute": { + "base": null, + "refs": { + "GetReportRequest$termToken": "Unique download token provided by GetTermForReport API.
", + "ReportDetail$category": "Category for the report resource.
", + "ReportDetail$companyName": "Associated company name for the report resource.
", + "ReportDetail$name": "Name for the report resource.
", + "ReportDetail$productName": "Associated product name for the report resource.
", + "ReportDetail$series": "Series for the report resource.
", + "ReportSummary$category": "Category for the report resource.
", + "ReportSummary$companyName": "Associated company name for the report resource.
", + "ReportSummary$name": "Name for the report resource.
", + "ReportSummary$productName": "Associated product name for the report resource.
", + "ReportSummary$series": "Series for the report resource.
" + } + }, + "StatusMessage": { + "base": null, + "refs": { + "ReportDetail$statusMessage": "The message associated with the current upload state.
", + "ReportSummary$statusMessage": "The message associated with the current upload state.
" + } + }, + "String": { + "base": null, + "refs": { + "AccessDeniedException$message": null, + "ConflictException$message": null, + "ConflictException$resourceId": "Identifier of the affected resource.
", + "ConflictException$resourceType": "Type of the affected resource.
", + "GetTermForReportResponse$termToken": "Unique token representing this request event.
", + "InternalServerException$message": null, + "ResourceNotFoundException$message": null, + "ResourceNotFoundException$resourceId": "Identifier of the affected resource.
", + "ResourceNotFoundException$resourceType": "Type of the affected resource.
", + "ServiceQuotaExceededException$message": null, + "ServiceQuotaExceededException$quotaCode": "Code for the affected quota.
", + "ServiceQuotaExceededException$resourceId": "Identifier of the affected resource.
", + "ServiceQuotaExceededException$resourceType": "Type of the affected resource.
", + "ServiceQuotaExceededException$serviceCode": "Code for the affected service.
", + "ThrottlingException$message": null, + "ThrottlingException$quotaCode": "Code for the affected quota.
", + "ThrottlingException$serviceCode": "Code for the affected service.
", + "ValidationException$message": null, + "ValidationExceptionField$message": "Message describing why the field failed validation.
", + "ValidationExceptionField$name": "Name of validation exception.
" + } + }, + "ThrottlingException": { + "base": "Request was denied due to request throttling.
", + "refs": { + } + }, + "TimestampAttribute": { + "base": null, + "refs": { + "ReportDetail$createdAt": "Timestamp indicating when the report resource was created.
", + "ReportDetail$deletedAt": "Timestamp indicating when the report resource was deleted.
", + "ReportDetail$lastModifiedAt": "Timestamp indicating when the report resource was last modified.
", + "ReportDetail$periodEnd": "Timestamp indicating the report resource effective end.
", + "ReportDetail$periodStart": "Timestamp indicating the report resource effective start.
", + "ReportSummary$periodEnd": "Timestamp indicating the report resource effective end.
", + "ReportSummary$periodStart": "Timestamp indicating the report resource effective start.
" + } + }, + "UploadState": { + "base": null, + "refs": { + "ReportDetail$uploadState": "The current state of the document upload.
", + "ReportSummary$uploadState": "The current state of the document upload.
" + } + }, + "ValidationException": { + "base": "Request fails to satisfy the constraints specified by an AWS service.
", + "refs": { + } + }, + "ValidationExceptionField": { + "base": "Validation exception message and name.
", + "refs": { + "ValidationExceptionFieldList$member": null + } + }, + "ValidationExceptionFieldList": { + "base": null, + "refs": { + "ValidationException$fieldList": "The field that caused the error, if applicable.
" + } + }, + "ValidationExceptionReason": { + "base": null, + "refs": { + "ValidationException$reason": "Reason the request failed validation.
" + } + }, + "VersionAttribute": { + "base": null, + "refs": { + "GetReportMetadataRequest$reportVersion": "Version for the report resource.
", + "GetReportRequest$reportVersion": "Version for the report resource.
", + "GetTermForReportRequest$reportVersion": "Version for the report resource.
", + "ReportDetail$version": "Version for the report resource.
", + "ReportSummary$version": "Version for the report resource.
" + } + } + } +} diff --git a/models/apis/artifact/2018-05-10/endpoint-rule-set-1.json b/models/apis/artifact/2018-05-10/endpoint-rule-set-1.json new file mode 100644 index 00000000000..49efffd7577 --- /dev/null +++ b/models/apis/artifact/2018-05-10/endpoint-rule-set-1.json @@ -0,0 +1,350 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://artifact-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://artifact-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://artifact.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://artifact.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] +} \ No newline at end of file diff --git a/models/apis/artifact/2018-05-10/endpoint-tests-1.json b/models/apis/artifact/2018-05-10/endpoint-tests-1.json new file mode 100644 index 00000000000..d78df5725d4 --- /dev/null +++ b/models/apis/artifact/2018-05-10/endpoint-tests-1.json @@ -0,0 +1,314 @@ +{ + "testCases": [ + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://artifact.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://artifact.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://artifact.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://artifact.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/artifact/2018-05-10/examples-1.json b/models/apis/artifact/2018-05-10/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/artifact/2018-05-10/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/artifact/2018-05-10/paginators-1.json b/models/apis/artifact/2018-05-10/paginators-1.json new file mode 100644 index 00000000000..f8c85144258 --- /dev/null +++ b/models/apis/artifact/2018-05-10/paginators-1.json @@ -0,0 +1,10 @@ +{ + "pagination": { + "ListReports": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "reports" + } + } +} diff --git a/models/apis/codepipeline/2015-07-09/api-2.json b/models/apis/codepipeline/2015-07-09/api-2.json index 11fd05f262a..4ff1ee5e099 100644 --- a/models/apis/codepipeline/2015-07-09/api-2.json +++ b/models/apis/codepipeline/2015-07-09/api-2.json @@ -732,7 +732,8 @@ "inputArtifacts":{"shape":"InputArtifactList"}, "roleArn":{"shape":"RoleArn"}, "region":{"shape":"AWSRegionName"}, - "namespace":{"shape":"ActionNamespace"} + "namespace":{"shape":"ActionNamespace"}, + "timeoutInMinutes":{"shape":"ActionTimeout"} } }, "ActionExecution":{ @@ -881,6 +882,12 @@ "type":"list", "member":{"shape":"ActionState"} }, + "ActionTimeout":{ + "type":"integer", + "box":true, + "max":86400, + "min":5 + }, "ActionType":{ "type":"structure", "required":[ diff --git a/models/apis/codepipeline/2015-07-09/docs-2.json b/models/apis/codepipeline/2015-07-09/docs-2.json index 2fbf47c7edf..9579c520e03 100644 --- a/models/apis/codepipeline/2015-07-09/docs-2.json +++ b/models/apis/codepipeline/2015-07-09/docs-2.json @@ -302,6 +302,12 @@ "StageState$actionStates": "The state of the stage.
" } }, + "ActionTimeout": { + "base": null, + "refs": { + "ActionDeclaration$timeoutInMinutes": "A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline . This attribute is available only to the manual approval ActionType.
" + } + }, "ActionType": { "base": "Returns information about the details of an action type.
", "refs": { diff --git a/models/apis/detective/2018-10-26/docs-2.json b/models/apis/detective/2018-10-26/docs-2.json index 93a31bfde86..6a3a0e3b83f 100644 --- a/models/apis/detective/2018-10-26/docs-2.json +++ b/models/apis/detective/2018-10-26/docs-2.json @@ -1,11 +1,11 @@ { "version": "2.0", - "service": "Detective uses machine learning and purpose-built visualizations to help you to analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by Amazon GuardDuty.
The Detective API primarily supports the creation and management of behavior graphs. A behavior graph contains the extracted data from a set of member accounts, and is created and managed by an administrator account.
To add a member account to the behavior graph, the administrator account sends an invitation to the account. When the account accepts the invitation, it becomes a member account in the behavior graph.
Detective is also integrated with Organizations. The organization management account designates the Detective administrator account for the organization. That account becomes the administrator account for the organization behavior graph. The Detective administrator account is also the delegated administrator account for Detective in Organizations.
The Detective administrator account can enable any organization account as a member account in the organization behavior graph. The organization accounts do not receive invitations. The Detective administrator account can also invite other accounts to the organization behavior graph.
Every behavior graph is specific to a Region. You can only use the API to manage behavior graphs that belong to the Region that is associated with the currently selected endpoint.
The administrator account for a behavior graph can use the Detective API to do the following:
Enable and disable Detective. Enabling Detective creates a new behavior graph.
View the list of member accounts in a behavior graph.
Add member accounts to a behavior graph.
Remove member accounts from a behavior graph.
Apply tags to a behavior graph.
The organization management account can use the Detective API to select the delegated administrator for Detective.
The Detective administrator account for an organization can use the Detective API to do the following:
Perform all of the functions of an administrator account.
Determine whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
An invited member account can use the Detective API to do the following:
View the list of behavior graphs that they are invited to.
Accept an invitation to contribute to a behavior graph.
Decline an invitation to contribute to a behavior graph.
Remove their account from a behavior graph.
All API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail.
We replaced the term \"master account\" with the term \"administrator account.\" An administrator account is used to centrally manage multiple accounts. In the case of Detective, the administrator account manages the accounts in their behavior graph.
Detective uses machine learning and purpose-built visualizations to help you to analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by Amazon GuardDuty.
The Detective API primarily supports the creation and management of behavior graphs. A behavior graph contains the extracted data from a set of member accounts, and is created and managed by an administrator account.
To add a member account to the behavior graph, the administrator account sends an invitation to the account. When the account accepts the invitation, it becomes a member account in the behavior graph.
Detective is also integrated with Organizations. The organization management account designates the Detective administrator account for the organization. That account becomes the administrator account for the organization behavior graph. The Detective administrator account is also the delegated administrator account for Detective in Organizations.
The Detective administrator account can enable any organization account as a member account in the organization behavior graph. The organization accounts do not receive invitations. The Detective administrator account can also invite other accounts to the organization behavior graph.
Every behavior graph is specific to a Region. You can only use the API to manage behavior graphs that belong to the Region that is associated with the currently selected endpoint.
The administrator account for a behavior graph can use the Detective API to do the following:
Enable and disable Detective. Enabling Detective creates a new behavior graph.
View the list of member accounts in a behavior graph.
Add member accounts to a behavior graph.
Remove member accounts from a behavior graph.
Apply tags to a behavior graph.
The organization management account can use the Detective API to select the delegated administrator for Detective.
The Detective administrator account for an organization can use the Detective API to do the following:
Perform all of the functions of an administrator account.
Determine whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
An invited member account can use the Detective API to do the following:
View the list of behavior graphs that they are invited to.
Accept an invitation to contribute to a behavior graph.
Decline an invitation to contribute to a behavior graph.
Remove their account from a behavior graph.
All API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail.
We replaced the term \"master account\" with the term \"administrator account\". An administrator account is used to centrally manage multiple accounts. In the case of Detective, the administrator account manages the accounts in their behavior graph.
Accepts an invitation for the member account to contribute data to a behavior graph. This operation can only be called by an invited member account.
The request provides the ARN of behavior graph.
The member account status in the graph must be INVITED
.
Gets data source package information for the behavior graph.
", "BatchGetMembershipDatasources": "Gets information on the data source package history for an account.
", - "CreateGraph": "Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective.
Before you try to enable Detective, make sure that your account has been enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, then when you make the request to enable Detective, it checks whether your data volume is within the Detective quota. If it exceeds the quota, then you cannot enable Detective.
The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph.
CreateGraph
triggers a process to create the corresponding data tables for the new behavior graph.
An account can only be the administrator account for one behavior graph within a Region. If the same account calls CreateGraph
with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.
Creates a new behavior graph for the calling account, and sets that account as the administrator account. This operation is called by the account that is enabling Detective.
The operation also enables Detective for the calling account in the currently selected Region. It returns the ARN of the new behavior graph.
CreateGraph
triggers a process to create the corresponding data tables for the new behavior graph.
An account can only be the administrator account for one behavior graph within a Region. If the same account calls CreateGraph
with the same administrator account, it always returns the same behavior graph ARN. It does not create a new behavior graph.
CreateMembers
is used to send invitations to accounts. For the organization behavior graph, the Detective administrator account uses CreateMembers
to enable organization accounts as member accounts.
For invited accounts, CreateMembers
sends a request to invite the specified Amazon Web Services accounts to be member accounts in the behavior graph. This operation can only be called by the administrator account for a behavior graph.
CreateMembers
verifies the accounts and then invites the verified accounts. The administrator can optionally specify to not send invitation emails to the member accounts. This would be used when the administrator manages their member accounts centrally.
For organization accounts in the organization behavior graph, CreateMembers
attempts to enable the accounts. The organization accounts do not receive invitations.
The request provides the behavior graph ARN and the list of accounts to invite or to enable.
The response separates the requested accounts into two lists:
The accounts that CreateMembers
was able to process. For invited accounts, includes member accounts that are being verified, that have passed verification and are to be invited, and that have failed verification. For organization accounts in the organization behavior graph, includes accounts that can be enabled and that cannot be enabled.
The accounts that CreateMembers
was unable to process. This list includes accounts that were already invited to be member accounts in the behavior graph.
Disables the specified behavior graph and queues it to be deleted. This operation removes the behavior graph from each member account's list of behavior graphs.
DeleteGraph
can only be called by the administrator account for a behavior graph.
Removes the specified member accounts from the behavior graph. The removed accounts no longer contribute data to the behavior graph. This operation can only be called by the administrator account for the behavior graph.
For invited accounts, the removed accounts are deleted from the list of accounts in the behavior graph. To restore the account, the administrator account must send another invitation.
For organization accounts in the organization behavior graph, the Detective administrator account can always enable the organization account again. Organization accounts that are not enabled as member accounts are not included in the ListMembers
results for the organization behavior graph.
An administrator account cannot use DeleteMembers
to remove their own account from the behavior graph. To disable a behavior graph, the administrator account uses the DeleteGraph
API method.
Removes the Detective administrator account in the current Region. Deletes the organization behavior graph.
Can only be called by the organization management account.
Removing the Detective administrator account does not affect the delegated administrator account for Detective in Organizations.
To remove the delegated administrator account in Organizations, use the Organizations API. Removing the delegated administrator account also removes the Detective administrator account in all Regions, except for Regions where the Detective administrator account is the organization management account.
", "DisassociateMembership": "Removes the member account from the specified behavior graph. This operation can only be called by an invited member account that has the ENABLED
status.
DisassociateMembership
cannot be called by an organization account in the organization behavior graph. For the organization behavior graph, the Detective administrator account determines which organization accounts to enable or disable as member accounts.
Designates the Detective administrator account for the organization in the current Region.
If the account does not have Detective enabled, then enables Detective for that account and creates a new behavior graph.
Can only be called by the organization management account.
If the organization has a delegated administrator account in Organizations, then the Detective administrator account must be either the delegated administrator account or the organization management account.
If the organization does not have a delegated administrator account in Organizations, then you can choose any account in the organization. If you choose an account other than the organization management account, Detective calls Organizations to make that account the delegated administrator account for Detective. The organization management account cannot be the delegated administrator account.
", - "GetInvestigation": "Returns the investigation results of an investigation for a behavior graph.
", + "GetInvestigation": "Detective investigations lets you investigate IAM users and IAM roles using indicators of compromise. An indicator of compromise (IOC) is an artifact observed in or on a network, system, or environment that can (with a high level of confidence) identify malicious activity or a security incident. GetInvestigation
returns the investigation results of an investigation for a behavior graph.
Returns the membership details for specified member accounts for a behavior graph.
", "ListDatasourcePackages": "Lists data source packages in the behavior graph.
", "ListGraphs": "Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account.
Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.
", - "ListIndicators": "Get the indicators from an investigation
", - "ListInvestigations": "List all Investigations.
", + "ListIndicators": "Gets the indicators from an investigation. You can use the information from the indicators to determine if an IAM user and/or IAM role is involved in an unusual activity that could indicate malicious behavior and its impact.
", + "ListInvestigations": "Detective investigations lets you investigate IAM users and IAM roles using indicators of compromise. An indicator of compromise (IOC) is an artifact observed in or on a network, system, or environment that can (with a high level of confidence) identify malicious activity or a security incident. ListInvestigations
lists all active Detective investigations.
Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by an invited member account.
Open invitations are invitations that the member account has not responded to.
The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.
", "ListMembers": "Retrieves the list of member accounts for a behavior graph.
For invited accounts, the results do not include member accounts that were removed from the behavior graph.
For the organization behavior graph, the results do not include organization accounts that the Detective administrator account has not enabled as member accounts.
", "ListOrganizationAdminAccounts": "Returns information about the Detective administrator account for an organization. Can only be called by the organization management account.
", "ListTagsForResource": "Returns the tag values that are assigned to a behavior graph.
", "RejectInvitation": "Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by an invited member account that has the INVITED
status.
RejectInvitation
cannot be called by an organization account in the organization behavior graph. In the organization behavior graph, organization accounts do not receive an invitation.
initiate an investigation on an entity in a graph
", + "StartInvestigation": "Detective investigations lets you investigate IAM users and IAM roles using indicators of compromise. An indicator of compromise (IOC) is an artifact observed in or on a network, system, or environment that can (with a high level of confidence) identify malicious activity or a security incident. StartInvestigation
initiates an investigation on an entity in a behavior graph.
Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED
.
For valid member accounts, the status is updated as follows.
If Detective enabled the member account, then the new status is ENABLED
.
If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED
.
Applies tag values to a behavior graph.
", "UntagResource": "Removes tags from a behavior graph.
", "UpdateDatasourcePackages": "Starts a data source packages for the behavior graph.
", - "UpdateInvestigationState": "Update the state of an investigation.
", + "UpdateInvestigationState": "Updates the state of an investigation.
", "UpdateOrganizationConfiguration": "Updates the configuration for the Organizations integration in the current Region. Can only be called by the Detective administrator account for the organization.
" }, "shapes": { @@ -42,7 +42,7 @@ "APIName": { "base": null, "refs": { - "TTPsObservedDetail$APIName": "The name of the API where the TTP was observed.
" + "TTPsObservedDetail$APIName": "The name of the API where the tactics, techniques, and procedure (TTP) was observed.
" } }, "APISuccessCount": { @@ -118,10 +118,10 @@ "AiPaginationToken": { "base": null, "refs": { - "ListIndicatorsRequest$NextToken": "List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
", - "ListIndicatorsResponse$NextToken": "List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
", - "ListInvestigationsRequest$NextToken": "List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
", - "ListInvestigationsResponse$NextToken": "List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
" + "ListIndicatorsRequest$NextToken": "Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
", + "ListIndicatorsResponse$NextToken": "Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
", + "ListInvestigationsRequest$NextToken": "Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.
", + "ListInvestigationsResponse$NextToken": "Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours.
" } }, "Aso": { @@ -301,16 +301,16 @@ "EntityArn": { "base": null, "refs": { - "GetInvestigationResponse$EntityArn": "The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
", + "GetInvestigationResponse$EntityArn": "The unique Amazon Resource Name (ARN). Detective supports IAM user ARNs and IAM role ARNs.
", "InvestigationDetail$EntityArn": "The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
", - "RelatedFindingDetail$Arn": "The ARN of the related finding.
", + "RelatedFindingDetail$Arn": "The Amazon Resource Name (ARN) of the related finding.
", "StartInvestigationRequest$EntityArn": "The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
" } }, "EntityType": { "base": null, "refs": { - "GetInvestigationResponse$EntityType": "Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.
", + "GetInvestigationResponse$EntityType": "Type of entity. For example, Amazon Web Services accounts, such as an IAM user and/or IAM role.
", "InvestigationDetail$EntityType": "Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.
" } }, @@ -351,13 +351,13 @@ "FilterCriteria": { "base": "Details on the criteria used to define the filter for investigation results.
", "refs": { - "ListInvestigationsRequest$FilterCriteria": "Filter the investigation results based on a criteria.
" + "ListInvestigationsRequest$FilterCriteria": "Filters the investigation results based on a criteria.
" } }, "FlaggedIpAddressDetail": { "base": "Contains information on suspicious IP addresses identified as indicators of compromise. This indicator is derived from Amazon Web Services threat intelligence.
", "refs": { - "IndicatorDetail$FlaggedIpAddressDetail": "Suspicious IP addresses that are flagged, which indicates critical or severe threats based on threat intelligence by Detective. This indicator is derived from AWS threat intelligence.
" + "IndicatorDetail$FlaggedIpAddressDetail": "Suspicious IP addresses that are flagged, which indicates critical or severe threats based on threat intelligence by Detective. This indicator is derived from Amazon Web Services threat intelligence.
" } }, "GetInvestigationRequest": { @@ -398,27 +398,27 @@ "DeleteMembersRequest$GraphArn": "The ARN of the behavior graph to remove members from.
", "DescribeOrganizationConfigurationRequest$GraphArn": "The ARN of the organization behavior graph.
", "DisassociateMembershipRequest$GraphArn": "The ARN of the behavior graph to remove the member account from.
The member account's member status in the behavior graph must be ENABLED
.
The ARN of the behavior graph.
", - "GetInvestigationResponse$GraphArn": "The ARN of the behavior graph.
", + "GetInvestigationRequest$GraphArn": "The Amazon Resource Name (ARN) of the behavior graph.
", + "GetInvestigationResponse$GraphArn": "The Amazon Resource Name (ARN) of the behavior graph.
", "GetMembersRequest$GraphArn": "The ARN of the behavior graph for which to request the member details.
", "Graph$Arn": "The ARN of the behavior graph.
", "GraphArnList$member": null, "ListDatasourcePackagesRequest$GraphArn": "The ARN of the behavior graph.
", - "ListIndicatorsRequest$GraphArn": "The ARN of the behavior graph.
", - "ListIndicatorsResponse$GraphArn": "The ARN of the behavior graph.
", - "ListInvestigationsRequest$GraphArn": "The ARN of the behavior graph.
", + "ListIndicatorsRequest$GraphArn": "The Amazon Resource Name (ARN) of the behavior graph.
", + "ListIndicatorsResponse$GraphArn": "The Amazon Resource Name (ARN) of the behavior graph.
", + "ListInvestigationsRequest$GraphArn": "The Amazon Resource Name (ARN) of the behavior graph.
", "ListMembersRequest$GraphArn": "The ARN of the behavior graph for which to retrieve the list of member accounts.
", "ListTagsForResourceRequest$ResourceArn": "The ARN of the behavior graph for which to retrieve the tag values.
", "MemberDetail$GraphArn": "The ARN of the behavior graph.
", "MembershipDatasources$GraphArn": "The ARN of the organization behavior graph.
", "RejectInvitationRequest$GraphArn": "The ARN of the behavior graph to reject the invitation to.
The member account's current member status in the behavior graph must be INVITED
.
The ARN of the behavior graph.
", + "StartInvestigationRequest$GraphArn": "The Amazon Resource Name (ARN) of the behavior graph.
", "StartMonitoringMemberRequest$GraphArn": "The ARN of the behavior graph.
", "TagResourceRequest$ResourceArn": "The ARN of the behavior graph to assign the tags to.
", "UnprocessedGraph$GraphArn": "The ARN of the organization behavior graph.
", "UntagResourceRequest$ResourceArn": "The ARN of the behavior graph to remove the tags from.
", "UpdateDatasourcePackagesRequest$GraphArn": "The ARN of the behavior graph.
", - "UpdateInvestigationStateRequest$GraphArn": "The ARN of the behavior graph.
", + "UpdateInvestigationStateRequest$GraphArn": "The Amazon Resource Name (ARN) of the behavior graph.
", "UpdateOrganizationConfigurationRequest$GraphArn": "The ARN of the organization behavior graph.
" } }, @@ -453,28 +453,28 @@ } }, "Indicator": { - "base": "Investigations triages indicators of compromises such as a finding and surfaces only the most critical and suspicious issues, so you can focus on high-level investigations.
", + "base": "Detective investigations triages indicators of compromises such as a finding and surfaces only the most critical and suspicious issues, so you can focus on high-level investigations. An Indicator
lets you determine if an Amazon Web Services resource is involved in unusual activity that could indicate malicious behavior and its impact.
Details about the indicators of compromise which are used to determine if a resource is involved in a security incident.
", + "base": "Details about the indicators of compromise which are used to determine if a resource is involved in a security incident. An indicator of compromise (IOC) is an artifact observed in or on a network, system, or environment that can (with a high level of confidence) identify malicious activity or a security incident. For the list of indicators of compromise that are generated by Detective investigations, see Detective investigations.
", "refs": { - "Indicator$IndicatorDetail": "Details about the indicator of compromise.
" + "Indicator$IndicatorDetail": "Details about the indicators of compromise that are used to determine if a resource is involved in a security incident. An indicator of compromise (IOC) is an artifact observed in or on a network, system, or environment that can (with a high level of confidence) identify malicious activity or a security incident.
" } }, "IndicatorType": { "base": null, "refs": { - "Indicator$IndicatorType": "The type of indicator.
", - "ListIndicatorsRequest$IndicatorType": "See Detective investigations..
" + "Indicator$IndicatorType": "The type of indicator.
", + "ListIndicatorsRequest$IndicatorType": "For the list of indicators of compromise that are generated by Detective investigations, see Detective investigations.
" } }, "Indicators": { "base": null, "refs": { - "ListIndicatorsResponse$Indicators": "Indicators of compromise listed based on severity.
" + "ListIndicatorsResponse$Indicators": "Lists the indicators of compromise.
" } }, "InternalServerException": { @@ -483,7 +483,7 @@ } }, "InvestigationDetail": { - "base": "Details about the investigation related to a potential security event identified by Detective
", + "base": "Details about the investigation related to a potential security event identified by Detective.
", "refs": { "InvestigationDetails$member": null } @@ -491,7 +491,7 @@ "InvestigationDetails": { "base": null, "refs": { - "ListInvestigationsResponse$InvestigationDetails": "Investigations details lists the summary of uncommon behavior or malicious activity which indicates a compromise.
" + "ListInvestigationsResponse$InvestigationDetails": "Lists the summary of uncommon behavior or malicious activity which indicates a compromise.
" } }, "InvestigationId": { @@ -516,18 +516,18 @@ "base": null, "refs": { "FlaggedIpAddressDetail$IpAddress": "IP address of the suspicious entity.
", - "ImpossibleTravelDetail$StartingIpAddress": "IP address where the resource was first used in the impossible travel
", + "ImpossibleTravelDetail$StartingIpAddress": "IP address where the resource was first used in the impossible travel.
", "ImpossibleTravelDetail$EndingIpAddress": "IP address where the resource was last used in the impossible travel.
", "NewGeolocationDetail$IpAddress": "IP address using which the resource was accessed.
", "RelatedFindingDetail$IpAddress": "The IP address of the finding.
", - "TTPsObservedDetail$IpAddress": "The IP address where the TTP was observed.
" + "TTPsObservedDetail$IpAddress": "The IP address where the tactics, techniques, and procedure (TTP) was observed.
" } }, "IsNewForEntireAccount": { "base": null, "refs": { - "NewAsoDetail$IsNewForEntireAccount": "Checks if the ASO is for new for the entire account.
", - "NewGeolocationDetail$IsNewForEntireAccount": "Checks if the gelocation is new for the entire account.
", + "NewAsoDetail$IsNewForEntireAccount": "Checks if the Autonomous System Organization (ASO) is new for the entire account.
", + "NewGeolocationDetail$IsNewForEntireAccount": "Checks if the geolocation is new for the entire account.
", "NewUserAgentDetail$IsNewForEntireAccount": "Checks if the user agent is new for the entire account.
" } }, @@ -621,7 +621,7 @@ "Location": { "base": null, "refs": { - "ImpossibleTravelDetail$StartingLocation": "Location where the resource was first used in the impossible travel
", + "ImpossibleTravelDetail$StartingLocation": "Location where the resource was first used in the impossible travel.
", "ImpossibleTravelDetail$EndingLocation": "Location where the resource was last used in the impossible travel.
", "NewGeolocationDetail$Location": "Location where the resource was accessed.
" } @@ -629,8 +629,8 @@ "MaxResults": { "base": null, "refs": { - "ListIndicatorsRequest$MaxResults": "List the maximum number of indicators in a page.
", - "ListInvestigationsRequest$MaxResults": "List the maximum number of investigations in a page.
" + "ListIndicatorsRequest$MaxResults": "Lists the maximum number of indicators in a page.
", + "ListInvestigationsRequest$MaxResults": "Lists the maximum number of investigations in a page.
" } }, "MemberDetail": { @@ -769,14 +769,14 @@ } }, "ServiceQuotaExceededException": { - "base": "This request cannot be completed for one of the following reasons.
The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.
The request would cause the data rate for the behavior graph to exceed the maximum allowed.
Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.
This request cannot be completed for one of the following reasons.
This request cannot be completed if it would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1,200 member accounts.
This request cannot be completed if the current volume ingested is above the limit of 10 TB per day. Detective will not allow you to add additional member accounts.
Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.
", + "GetInvestigationResponse$Severity": "The severity assigned is based on the likelihood and impact of the indicators of compromise discovered in the investigation.
", "InvestigationDetail$Severity": "Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.
" } }, @@ -810,7 +810,7 @@ "State": { "base": null, "refs": { - "GetInvestigationResponse$State": "The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.
", + "GetInvestigationResponse$State": "The current state of the investigation. An archived investigation indicates that you have completed reviewing the investigation.
", "InvestigationDetail$State": "The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.
", "UpdateInvestigationStateRequest$State": "The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.
" } @@ -818,7 +818,7 @@ "Status": { "base": null, "refs": { - "GetInvestigationResponse$Status": "Status based on the completion status of the investigation.
", + "GetInvestigationResponse$Status": "The status based on the completion status of the investigation.
", "InvestigationDetail$Status": "Status based on the completion status of the investigation.
" } }, @@ -892,18 +892,18 @@ "Administrator$DelegationTime": "The date and time when the Detective administrator account was enabled. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The data and time when the member account data volume was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
A timestamp representing the start of the time period from when data is filtered, including the start date.
", - "DateFilter$EndInclusive": "A timestamp representing the end date of the time period until when data is filtered , including the end date.
", - "GetInvestigationResponse$CreatedTime": "The UTC time stamp of the creation time of the investigation report.
", - "GetInvestigationResponse$ScopeStartTime": "The start date and time for the scope time set to generate the investigation report.
", - "GetInvestigationResponse$ScopeEndTime": "The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.
", + "DateFilter$EndInclusive": "A timestamp representing the end date of the time period until when data is filtered, including the end date.
", + "GetInvestigationResponse$CreatedTime": "The creation time of the investigation report in UTC time stamp format.
", + "GetInvestigationResponse$ScopeStartTime": "The start date and time used to set the scope time within which you want to generate the investigation report. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The date and time that the behavior graph was created. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The UTC time stamp of the creation time of the investigation report.
", + "InvestigationDetail$CreatedTime": "The time stamp of the creation time of the investigation report. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
For invited accounts, the date and time that Detective sent the invitation to the account. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The date and time that the member account was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The data and time when the member account data volume was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The date and time when the graph utilization percentage was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The data and time when the investigation ended. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
The data and time when data collection began for a source package. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z
.
Retrieves an Amazon GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
", "GetFilter": "Returns the details of the filter specified by the filter name.
", "GetFindings": "Describes Amazon GuardDuty findings specified by finding IDs.
", - "GetFindingsStatistics": "Lists Amazon GuardDuty findings statistics for the specified detector ID.
", + "GetFindingsStatistics": "Lists Amazon GuardDuty findings statistics for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
", "GetIPSet": "Retrieves the IPSet specified by the ipSetId
.
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
", "GetMalwareScanSettings": "Returns the details of the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
", @@ -48,7 +48,7 @@ "ListCoverage": "Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization.
Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources.
", "ListDetectors": "Lists detectorIds of all the existing Amazon GuardDuty detector resources.
", "ListFilters": "Returns a paginated list of the current filters.
", - "ListFindings": "Lists Amazon GuardDuty findings for the specified detector ID.
", + "ListFindings": "Lists GuardDuty findings for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
", "ListIPSets": "Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated administrator account.
", "ListInvitations": "Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
", "ListMembers": "Lists details about all member accounts for the current GuardDuty administrator account.
", @@ -62,7 +62,7 @@ "TagResource": "Adds tags to a resource.
", "UnarchiveFindings": "Unarchives GuardDuty findings specified by the findingIds
.
Removes tags from a resource.
", - "UpdateDetector": "Updates the Amazon GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
", + "UpdateDetector": "Updates the GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
", "UpdateFilter": "Updates the filter specified by the filter name.
", "UpdateFindingsFeedback": "Marks the specified GuardDuty findings as useful or not useful.
", "UpdateIPSet": "Updates the IPSet specified by the IPSet ID.
", @@ -2649,6 +2649,15 @@ "VpcConfig$SecurityGroups": "The identifier of the security group attached to the Lambda function.
" } }, + "SensitiveString": { + "base": null, + "refs": { + "LocalIpDetails$IpAddressV4": "The IPv4 local address of the connection.
", + "NetworkInterface$PrivateIpAddress": "The private IP address of the EC2 instance.
", + "PrivateIpAddressDetails$PrivateIpAddress": "The private IP address of the EC2 instance.
", + "RemoteIpDetails$IpAddressV4": "The IPv4 remote address of the connection.
" + } + }, "Service": { "base": "Contains additional information about the generated finding.
", "refs": { @@ -2914,7 +2923,6 @@ "ListPublishingDestinationsResponse$NextToken": "A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken
value returned from the previous request to continue listing results after the first page.
You can use this parameter to paginate results in the response. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
", "ListThreatIntelSetsResponse$NextToken": "The pagination parameter to be used on the next list operation to retrieve more items.
", - "LocalIpDetails$IpAddressV4": "The IPv4 local address of the connection.
", "LocalPortDetails$PortName": "The port name of the local connection.
", "LoginAttribute$User": "Indicates the user name which attempted to log in.
", "LoginAttribute$Application": "Indicates the application name used to attempt log in.
", @@ -2933,7 +2941,6 @@ "NetworkConnectionAction$Protocol": "The network connection protocol.
", "NetworkInterface$NetworkInterfaceId": "The ID of the network interface.
", "NetworkInterface$PrivateDnsName": "The private DNS name of the EC2 instance.
", - "NetworkInterface$PrivateIpAddress": "The private IP address of the EC2 instance.
", "NetworkInterface$PublicDnsName": "The public DNS name of the EC2 instance.
", "NetworkInterface$PublicIp": "The public IP address of the EC2 instance.
", "NetworkInterface$SubnetId": "The subnet ID of the EC2 instance.
", @@ -2946,7 +2953,6 @@ "Organization$Org": "The name of the internet provider.
", "Owner$Id": "The canonical user ID of the bucket owner. For information about locating your canonical user ID see Finding Your Account Canonical User ID.
", "PrivateIpAddressDetails$PrivateDnsName": "The private DNS name of the EC2 instance.
", - "PrivateIpAddressDetails$PrivateIpAddress": "The private IP address of the EC2 instance.
", "ProcessDetails$Name": "The name of the process.
", "ProcessDetails$ExecutablePath": "The absolute path of the process executable file.
", "ProcessDetails$ExecutableSha256": "The SHA256
hash of the process executable.
The version of the Secure Socket Layer (SSL) used for the network.
", "RdsDbUserDetails$AuthMethod": "The authentication method used by the user involved in the finding.
", "RemoteAccountDetails$AccountId": "The Amazon Web Services account ID of the remote API caller.
", - "RemoteIpDetails$IpAddressV4": "The IPv4 remote address of the connection.
", "RemotePortDetails$PortName": "The port name of the remote connection.
", "Resource$ResourceType": "The type of Amazon Web Services resource.
", "ResourceList$member": null, diff --git a/models/apis/healthlake/2017-07-01/api-2.json b/models/apis/healthlake/2017-07-01/api-2.json index 6939b0169ac..fc22d568411 100644 --- a/models/apis/healthlake/2017-07-01/api-2.json +++ b/models/apis/healthlake/2017-07-01/api-2.json @@ -456,6 +456,8 @@ "type":"string", "enum":["R4"] }, + "GenericDouble":{"type":"double"}, + "GenericLong":{"type":"long"}, "IamRoleArn":{ "type":"string", "max":2048, @@ -490,6 +492,7 @@ "DatastoreId":{"shape":"DatastoreId"}, "InputDataConfig":{"shape":"InputDataConfig"}, "JobOutputDataConfig":{"shape":"OutputDataConfig"}, + "JobProgressReport":{"shape":"JobProgressReport"}, "DataAccessRoleArn":{"shape":"IamRoleArn"}, "Message":{"shape":"Message"} } @@ -525,6 +528,19 @@ "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$" }, + "JobProgressReport":{ + "type":"structure", + "members":{ + "TotalNumberOfScannedFiles":{"shape":"GenericLong"}, + "TotalSizeOfScannedFilesInMB":{"shape":"GenericDouble"}, + "TotalNumberOfImportedFiles":{"shape":"GenericLong"}, + "TotalNumberOfResourcesScanned":{"shape":"GenericLong"}, + "TotalNumberOfResourcesImported":{"shape":"GenericLong"}, + "TotalNumberOfResourcesWithCustomerError":{"shape":"GenericLong"}, + "TotalNumberOfFilesReadWithCustomerError":{"shape":"GenericLong"}, + "Throughput":{"shape":"GenericDouble"} + } + }, "JobStatus":{ "type":"string", "enum":[ diff --git a/models/apis/healthlake/2017-07-01/docs-2.json b/models/apis/healthlake/2017-07-01/docs-2.json index c5235afb508..c57f36d573c 100644 --- a/models/apis/healthlake/2017-07-01/docs-2.json +++ b/models/apis/healthlake/2017-07-01/docs-2.json @@ -215,6 +215,24 @@ "DatastoreProperties$DatastoreTypeVersion": "The FHIR version. Only R4 version data is supported.
" } }, + "GenericDouble": { + "base": null, + "refs": { + "JobProgressReport$TotalSizeOfScannedFilesInMB": "The size (in MB) of the files scanned from the input S3 bucket.
", + "JobProgressReport$Throughput": "The throughput (in MB/sec) of the import job.
" + } + }, + "GenericLong": { + "base": null, + "refs": { + "JobProgressReport$TotalNumberOfScannedFiles": "The number of files scanned from input S3 bucket.
", + "JobProgressReport$TotalNumberOfImportedFiles": "The number of files imported so far.
", + "JobProgressReport$TotalNumberOfResourcesScanned": "The number of resources scanned from the input S3 bucket.
", + "JobProgressReport$TotalNumberOfResourcesImported": "The number of resources imported so far.
", + "JobProgressReport$TotalNumberOfResourcesWithCustomerError": "The number of resources that failed due to customer error.
", + "JobProgressReport$TotalNumberOfFilesReadWithCustomerError": "The number of files that failed to be read from the input S3 bucket due to customer error.
" + } + }, "IamRoleArn": { "base": null, "refs": { @@ -232,16 +250,16 @@ } }, "ImportJobProperties": { - "base": "Displays the properties of the import job, including the ID, Arn, Name, and the status of the data store.
", + "base": "Displays the properties of the import job, including the ID, Arn, Name, the status of the job, and the progress report of the job.
", "refs": { - "DescribeFHIRImportJobResponse$ImportJobProperties": "The properties of the Import job request, including the ID, ARN, name, and the status of the job.
", + "DescribeFHIRImportJobResponse$ImportJobProperties": "The properties of the Import job request, including the ID, ARN, name, status of the job, and the progress report of the job.
", "ImportJobPropertiesList$member": null } }, "ImportJobPropertiesList": { "base": null, "refs": { - "ListFHIRImportJobsResponse$ImportJobPropertiesList": "The properties of a listed FHIR import jobs, including the ID, ARN, name, and the status of the job.
" + "ListFHIRImportJobsResponse$ImportJobPropertiesList": "The properties of a listed FHIR import jobs, including the ID, ARN, name, the status of the job, and the progress report of the job.
" } }, "InputDataConfig": { @@ -278,6 +296,12 @@ "StartFHIRImportJobRequest$JobName": "The name of the FHIR Import job in the StartFHIRImport job request.
" } }, + "JobProgressReport": { + "base": "The progress report of an import job.
", + "refs": { + "ImportJobProperties$JobProgressReport": "Displays the progress of the import job, including total resources scanned, total resources ingested, and total size of data ingested.
" + } + }, "JobStatus": { "base": null, "refs": { diff --git a/models/apis/healthlake/2017-07-01/endpoint-rule-set-1.json b/models/apis/healthlake/2017-07-01/endpoint-rule-set-1.json index 8acf26e8a35..b06ae2be7c1 100644 --- a/models/apis/healthlake/2017-07-01/endpoint-rule-set-1.json +++ b/models/apis/healthlake/2017-07-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://healthlake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://healthlake-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://healthlake-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://healthlake-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://healthlake.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://healthlake.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://healthlake.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://healthlake.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index 05f411a57dc..a03f6971d0e 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -3446,6 +3446,14 @@ "t3.large.search", "t3.xlarge.search", "t3.2xlarge.search", + "or1.medium.search", + "or1.large.search", + "or1.xlarge.search", + "or1.2xlarge.search", + "or1.4xlarge.search", + "or1.8xlarge.search", + "or1.12xlarge.search", + "or1.16xlarge.search", "ultrawarm1.medium.search", "ultrawarm1.large.search", "ultrawarm1.xlarge.search", diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index 58025b01f07..652b89685ff 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "Use the Amazon OpenSearch Service configuration API to create, configure, and manage OpenSearch Service domains.
For sample code that uses the configuration API, see the Amazon OpenSearch Service Developer Guide . The guide also contains sample code for sending signed HTTP requests to the OpenSearch APIs. The endpoint for configuration service requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see Amazon Web Services service endpoints.
", + "service": "Use the Amazon OpenSearch Service configuration API to create, configure, and manage OpenSearch Service domains. The endpoint for configuration service requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. For a current list of supported Regions and endpoints, see Amazon Web Services service endpoints.
", "operations": { "AcceptInboundConnection": "Allows the destination Amazon OpenSearch Service domain owner to accept an inbound cross-cluster search connection request. For more information, see Cross-cluster search for Amazon OpenSearch Service.
", "AddDataSource": "Creates a new direct-query data source to the specified domain. For more information, see Creating Amazon OpenSearch Service data source integrations with Amazon S3.
", @@ -372,7 +372,7 @@ "ClusterConfig$WarmEnabled": "Whether to enable warm storage for the cluster.
", "ClusterConfig$MultiAZWithStandbyEnabled": "A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
", "CognitoOptions$Enabled": "Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
", - "ColdStorageOptions$Enabled": "Whether to enable or disable cold storage on the domain.
", + "ColdStorageOptions$Enabled": "Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage to enable cold storage.
", "DescribeDomainHealthResponse$DedicatedMaster": "A boolean that indicates if dedicated master nodes are activated for the domain.
", "DescribeDryRunProgressRequest$LoadDryRunConfig": "Whether to include the configuration of the dry run in the response. The configuration specifies the updates that you're planning to make on the domain.
", "DomainEndpointOptions$EnforceHTTPS": "True to require that all traffic to the domain arrive over HTTPS.
", @@ -1867,36 +1867,36 @@ } }, "NextToken": { - "base": "When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial DescribeDomainAutoTunes
operation returns a nextToken
, you can include the returned nextToken
in subsequent DescribeDomainAutoTunes
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial DescribeInboundConnections
operation returns a nextToken
, you can include the returned nextToken
in subsequent DescribeInboundConnections
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial DescribeOutboundConnections
operation returns a nextToken
, you can include the returned nextToken
in subsequent DescribeOutboundConnections
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial DescribePackageFilters
operation returns a nextToken
, you can include the returned nextToken
in subsequent DescribePackageFilters
operations, which returns results in the next page.
If your initial DescribeReservedInstanceOfferings
operation returns a nextToken
, you can include the returned nextToken
in subsequent DescribeReservedInstanceOfferings
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial DescribeReservedInstances
operation returns a nextToken
, you can include the returned nextToken
in subsequent DescribeReservedInstances
operations, which returns results in the next page.
If your initial GetPackageVersionHistory
operation returns a nextToken
, you can include the returned nextToken
in subsequent GetPackageVersionHistory
operations, which returns results in the next page.
If your initial GetUpgradeHistory
operation returns a nextToken
, you can include the returned nextToken
in subsequent GetUpgradeHistory
operations, which returns results in the next page.
If your initial ListDomainMaintenances
operation returns a nextToken
, include the returned nextToken
in subsequent ListDomainMaintenances
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial ListDomainsForPackage
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListDomainsForPackage
operations, which returns results in the next page.
If your initial ListInstanceTypeDetails
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListInstanceTypeDetails
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial ListPackagesForDomain
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListPackagesForDomain
operations, which returns results in the next page.
If your initial ListScheduledActions
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListScheduledActions
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial ListVersions
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListVersions
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial ListVpcEndpointAccess
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListVpcEndpointAccess
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial ListEndpointsForDomain
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListEndpointsForDomain
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
If your initial ListVpcEndpoints
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListVpcEndpoints
operations, which returns results in the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
", "CancelledChangeProperty$ActiveValue": "The current value of the property, after the change was cancelled.
", "DeleteDataSourceResponse$Message": "A message associated with deletion of the data source.
", - "DescribePackagesResponse$NextToken": "When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
The current status of the dry run.
", "DryRunProgressStatus$CreationDate": "The timestamp when the dry run was initiated.
", "DryRunProgressStatus$UpdateDate": "The timestamp when the dry run was last updated.
", "EndpointsMap$key": null, - "GetPackageVersionHistoryResponse$NextToken": "When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
The name of the property that is currently being modified.
", "ModifyingProperties$ActiveValue": "The current value of the domain property that is being modified.
", "ModifyingProperties$PendingValue": "The value that the property that is currently being modified will eventually have.
", diff --git a/models/apis/polly/2016-06-10/api-2.json b/models/apis/polly/2016-06-10/api-2.json index cb5a6beed12..a423cffc9dd 100644 --- a/models/apis/polly/2016-06-10/api-2.json +++ b/models/apis/polly/2016-06-10/api-2.json @@ -868,7 +868,8 @@ "Isabelle", "Zayd", "Danielle", - "Gregory" + "Gregory", + "Burcu" ] }, "VoiceList":{ diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 4c358380ad2..3eac61fdbee 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -3191,6 +3191,19 @@ {"shape":"ConflictException"} ] }, + "UpdateClusterSoftware":{ + "name":"UpdateClusterSoftware", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateClusterSoftwareRequest"}, + "output":{"shape":"UpdateClusterSoftwareResponse"}, + "errors":[ + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} + ] + }, "UpdateCodeRepository":{ "name":"UpdateCodeRepository", "http":{ @@ -22111,6 +22124,20 @@ "ClusterArn":{"shape":"ClusterArn"} } }, + "UpdateClusterSoftwareRequest":{ + "type":"structure", + "required":["ClusterName"], + "members":{ + "ClusterName":{"shape":"ClusterNameOrArn"} + } + }, + "UpdateClusterSoftwareResponse":{ + "type":"structure", + "required":["ClusterArn"], + "members":{ + "ClusterArn":{"shape":"ClusterArn"} + } + }, "UpdateCodeRepositoryInput":{ "type":"structure", "required":["CodeRepositoryName"], diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 89ad2deb3b3..76d71c81409 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -288,7 +288,8 @@ "UpdateAction": "Updates an action.
", "UpdateAppImageConfig": "Updates the properties of an AppImageConfig.
", "UpdateArtifact": "Updates an artifact.
", - "UpdateCluster": "Update a SageMaker HyperPod cluster.
", + "UpdateCluster": "Updates a SageMaker HyperPod cluster.
", + "UpdateClusterSoftware": "Updates the platform software of a SageMaker HyperPod cluster for security patching. To learn how to use this API, see Update the SageMaker HyperPod platform software of a cluster.
", "UpdateCodeRepository": "Updates the specified Git repository with the specified values.
", "UpdateContext": "Updates a context.
", "UpdateDeviceFleet": "Updates a fleet of devices.
", @@ -1979,7 +1980,8 @@ "CreateClusterResponse$ClusterArn": "The Amazon Resource Name (ARN) of the cluster.
", "DeleteClusterResponse$ClusterArn": "The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster to delete.
", "DescribeClusterResponse$ClusterArn": "The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
", - "UpdateClusterResponse$ClusterArn": "The Amazon Resource Name (ARN) of the updated SageMaker HyperPod cluster.
" + "UpdateClusterResponse$ClusterArn": "The Amazon Resource Name (ARN) of the updated SageMaker HyperPod cluster.
", + "UpdateClusterSoftwareResponse$ClusterArn": "The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster being updated for security patching.
" } }, "ClusterInstanceCount": { @@ -2075,7 +2077,8 @@ "DescribeClusterNodeRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which the instance is.
", "DescribeClusterRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.
", "ListClusterNodesRequest$ClusterName": "The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
", - "UpdateClusterRequest$ClusterName": "Specify the name of the SageMaker HyperPod cluster you want to update.
" + "UpdateClusterRequest$ClusterName": "Specify the name of the SageMaker HyperPod cluster you want to update.
", + "UpdateClusterSoftwareRequest$ClusterName": "Specify the name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster you want to update for security patching.
" } }, "ClusterNodeDetails": { @@ -9385,7 +9388,7 @@ } }, "ModelArtifacts": { - "base": "Provides information about the location that is configured for storing model artifacts.
Model artifacts are the output that results from training a model, and typically consist of trained parameters, a model definition that describes how to compute inferences, and other metadata.
", + "base": "Provides information about the location that is configured for storing model artifacts.
Model artifacts are outputs that result from training a model. They typically consist of trained parameters, a model definition that describes how to compute inferences, and other metadata. A SageMaker container stores your trained model artifacts in the /opt/ml/model
directory. After training has completed, by default, these artifacts are uploaded to your Amazon S3 bucket as compressed files.
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
", "DescribeTrainingJobResponse$ModelArtifacts": "Information about the Amazon S3 location that is configured for storing model artifacts.
", @@ -15759,6 +15762,16 @@ "refs": { } }, + "UpdateClusterSoftwareRequest": { + "base": null, + "refs": { + } + }, + "UpdateClusterSoftwareResponse": { + "base": null, + "refs": { + } + }, "UpdateCodeRepositoryInput": { "base": null, "refs": { diff --git a/models/apis/secretsmanager/2017-10-17/docs-2.json b/models/apis/secretsmanager/2017-10-17/docs-2.json index 8cdb1cfec8d..44c02c7eaec 100644 --- a/models/apis/secretsmanager/2017-10-17/docs-2.json +++ b/models/apis/secretsmanager/2017-10-17/docs-2.json @@ -12,7 +12,7 @@ "GetResourcePolicy": "Retrieves the JSON text of the resource-based policy document attached to the secret. For more information about permissions policies attached to a secret, see Permissions policies attached to a secret.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:GetResourcePolicy
. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
Retrieves the contents of the encrypted fields SecretString
or SecretBinary
from the specified version of a secret, whichever contains content.
To retrieve the values for a group of secrets, call BatchGetSecretValue.
We recommend that you cache your secret values by using client-side caching. Caching secrets improves speed and reduces your costs. For more information, see Cache secrets for your applications.
To retrieve the previous version of a secret, use VersionStage
and specify AWSPREVIOUS. To revert to the previous version of a secret, call UpdateSecretVersionStage.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:GetSecretValue
. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key aws/secretsmanager
, then you also need kms:Decrypt
permissions for that key. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions of a secret. For more information, see Secrets Manager concepts: Versions.
To list the secrets in the account, use ListSecrets.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:ListSecretVersionIds
. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.
ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. To get the latest information for a specific secret, use DescribeSecret.
To list the versions of a secret, use ListSecretVersionIds.
To retrieve the values for the secrets, call BatchGetSecretValue or GetSecretValue.
For information about finding secrets in the console, see Find secrets in Secrets Manager.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:ListSecrets
. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.
All Secrets Manager operations are eventually consistent. ListSecrets might not reflect changes from the last five minutes. You can get more recent information for a specific secret by calling DescribeSecret.
To list the versions of a secret, use ListSecretVersionIds.
To retrieve the values for the secrets, call BatchGetSecretValue or GetSecretValue.
For information about finding secrets in the console, see Find secrets in Secrets Manager.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:ListSecrets
. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
Attaches a resource-based permission policy to a secret. A resource-based policy is optional. For more information, see Authentication and access control for Secrets Manager
For information about attaching a policy in the console, see Attach a permissions policy to a secret.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:PutResourcePolicy
. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString
value or a new SecretBinary
value.
We recommend you avoid calling PutSecretValue
at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue
more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.
You can specify the staging labels to attach to the new version in VersionStages
. If you don't include VersionStages
, then Secrets Manager automatically moves the staging label AWSCURRENT
to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT
to it. If this operation moves the staging label AWSCURRENT
from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS
to the version that AWSCURRENT
was removed from.
This operation is idempotent. If you call this operation with a ClientRequestToken
that matches an existing version's VersionId, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary
or SecretString
because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:PutSecretValue
. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.
Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.
Required permissions: secretsmanager:RemoveRegionsFromReplication
. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.
The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation or rotation has been disabled, Secrets Manager returns null.
", + "DescribeSecretResponse$NextRotationDate": "The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation or rotation has been disabled, Secrets Manager returns null. If rotation fails, Secrets Manager retries the entire rotation process multiple times. If rotation is unsuccessful, this date may be in the past.
", "SecretListEntry$NextRotationDate": "The next rotation is scheduled to occur on or before this date. If the secret isn't configured for rotation or rotation has been disabled, Secrets Manager returns null.
" } }, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 4a8041be452..760a86de543 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -349,6 +349,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "acm-pca-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -364,6 +370,13 @@ "deprecated" : true, "hostname" : "acm-pca-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "acm-pca-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" diff --git a/service/artifact/api.go b/service/artifact/api.go new file mode 100644 index 00000000000..27f5a16dfae --- /dev/null +++ b/service/artifact/api.go @@ -0,0 +1,2187 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package artifact + +import ( + "fmt" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awsutil" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/private/protocol" +) + +const opGetAccountSettings = "GetAccountSettings" + +// GetAccountSettingsRequest generates a "aws/request.Request" representing the +// client's request for the GetAccountSettings 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 GetAccountSettings for more information on using the GetAccountSettings +// 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 GetAccountSettingsRequest method. +// req, resp := client.GetAccountSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetAccountSettings +func (c *Artifact) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) { + op := &request.Operation{ + Name: opGetAccountSettings, + HTTPMethod: "GET", + HTTPPath: "/v1/account-settings/get", + } + + if input == nil { + input = &GetAccountSettingsInput{} + } + + output = &GetAccountSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAccountSettings API operation for AWS Artifact. +// +// Get the account settings for Artifact. +// +// 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 AWS Artifact's +// API operation GetAccountSettings for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ConflictException +// Request to create/modify content would result in a conflict. +// +// - InternalServerException +// An unknown server exception has occurred. +// +// - ValidationException +// Request fails to satisfy the constraints specified by an AWS service. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetAccountSettings +func (c *Artifact) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) { + req, out := c.GetAccountSettingsRequest(input) + return out, req.Send() +} + +// GetAccountSettingsWithContext is the same as GetAccountSettings with the addition of +// the ability to pass a context and additional request options. +// +// See GetAccountSettings 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 *Artifact) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error) { + req, out := c.GetAccountSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReport = "GetReport" + +// GetReportRequest generates a "aws/request.Request" representing the +// client's request for the GetReport 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 GetReport for more information on using the GetReport +// 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 GetReportRequest method. +// req, resp := client.GetReportRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReport +func (c *Artifact) GetReportRequest(input *GetReportInput) (req *request.Request, output *GetReportOutput) { + op := &request.Operation{ + Name: opGetReport, + HTTPMethod: "GET", + HTTPPath: "/v1/report/get", + } + + if input == nil { + input = &GetReportInput{} + } + + output = &GetReportOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetReport API operation for AWS Artifact. +// +// Get the content for a single report. +// +// 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 AWS Artifact's +// API operation GetReport for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ConflictException +// Request to create/modify content would result in a conflict. +// +// - InternalServerException +// An unknown server exception has occurred. +// +// - ValidationException +// Request fails to satisfy the constraints specified by an AWS service. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReport +func (c *Artifact) GetReport(input *GetReportInput) (*GetReportOutput, error) { + req, out := c.GetReportRequest(input) + return out, req.Send() +} + +// GetReportWithContext is the same as GetReport with the addition of +// the ability to pass a context and additional request options. +// +// See GetReport 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 *Artifact) GetReportWithContext(ctx aws.Context, input *GetReportInput, opts ...request.Option) (*GetReportOutput, error) { + req, out := c.GetReportRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetReportMetadata = "GetReportMetadata" + +// GetReportMetadataRequest generates a "aws/request.Request" representing the +// client's request for the GetReportMetadata 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 GetReportMetadata for more information on using the GetReportMetadata +// 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 GetReportMetadataRequest method. +// req, resp := client.GetReportMetadataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadata +func (c *Artifact) GetReportMetadataRequest(input *GetReportMetadataInput) (req *request.Request, output *GetReportMetadataOutput) { + op := &request.Operation{ + Name: opGetReportMetadata, + HTTPMethod: "GET", + HTTPPath: "/v1/report/getMetadata", + } + + if input == nil { + input = &GetReportMetadataInput{} + } + + output = &GetReportMetadataOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetReportMetadata API operation for AWS Artifact. +// +// Get the metadata for a single report. +// +// 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 AWS Artifact's +// API operation GetReportMetadata for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - InternalServerException +// An unknown server exception has occurred. +// +// - ValidationException +// Request fails to satisfy the constraints specified by an AWS service. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetReportMetadata +func (c *Artifact) GetReportMetadata(input *GetReportMetadataInput) (*GetReportMetadataOutput, error) { + req, out := c.GetReportMetadataRequest(input) + return out, req.Send() +} + +// GetReportMetadataWithContext is the same as GetReportMetadata with the addition of +// the ability to pass a context and additional request options. +// +// See GetReportMetadata 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 *Artifact) GetReportMetadataWithContext(ctx aws.Context, input *GetReportMetadataInput, opts ...request.Option) (*GetReportMetadataOutput, error) { + req, out := c.GetReportMetadataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetTermForReport = "GetTermForReport" + +// GetTermForReportRequest generates a "aws/request.Request" representing the +// client's request for the GetTermForReport 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 GetTermForReport for more information on using the GetTermForReport +// 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 GetTermForReportRequest method. +// req, resp := client.GetTermForReportRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetTermForReport +func (c *Artifact) GetTermForReportRequest(input *GetTermForReportInput) (req *request.Request, output *GetTermForReportOutput) { + op := &request.Operation{ + Name: opGetTermForReport, + HTTPMethod: "GET", + HTTPPath: "/v1/report/getTermForReport", + } + + if input == nil { + input = &GetTermForReportInput{} + } + + output = &GetTermForReportOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTermForReport API operation for AWS Artifact. +// +// Get the Term content associated with a single report. +// +// 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 AWS Artifact's +// API operation GetTermForReport for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ConflictException +// Request to create/modify content would result in a conflict. +// +// - InternalServerException +// An unknown server exception has occurred. +// +// - ValidationException +// Request fails to satisfy the constraints specified by an AWS service. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/GetTermForReport +func (c *Artifact) GetTermForReport(input *GetTermForReportInput) (*GetTermForReportOutput, error) { + req, out := c.GetTermForReportRequest(input) + return out, req.Send() +} + +// GetTermForReportWithContext is the same as GetTermForReport with the addition of +// the ability to pass a context and additional request options. +// +// See GetTermForReport 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 *Artifact) GetTermForReportWithContext(ctx aws.Context, input *GetTermForReportInput, opts ...request.Option) (*GetTermForReportOutput, error) { + req, out := c.GetTermForReportRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListReports = "ListReports" + +// ListReportsRequest generates a "aws/request.Request" representing the +// client's request for the ListReports 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 ListReports for more information on using the ListReports +// 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 ListReportsRequest method. +// req, resp := client.ListReportsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReports +func (c *Artifact) ListReportsRequest(input *ListReportsInput) (req *request.Request, output *ListReportsOutput) { + op := &request.Operation{ + Name: opListReports, + HTTPMethod: "GET", + HTTPPath: "/v1/report/list", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListReportsInput{} + } + + output = &ListReportsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListReports API operation for AWS Artifact. +// +// List available reports. +// +// 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 AWS Artifact's +// API operation ListReports for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - InternalServerException +// An unknown server exception has occurred. +// +// - ValidationException +// Request fails to satisfy the constraints specified by an AWS service. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/ListReports +func (c *Artifact) ListReports(input *ListReportsInput) (*ListReportsOutput, error) { + req, out := c.ListReportsRequest(input) + return out, req.Send() +} + +// ListReportsWithContext is the same as ListReports with the addition of +// the ability to pass a context and additional request options. +// +// See ListReports 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 *Artifact) ListReportsWithContext(ctx aws.Context, input *ListReportsInput, opts ...request.Option) (*ListReportsOutput, error) { + req, out := c.ListReportsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListReportsPages iterates over the pages of a ListReports operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListReports method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListReports operation. +// pageNum := 0 +// err := client.ListReportsPages(params, +// func(page *artifact.ListReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *Artifact) ListReportsPages(input *ListReportsInput, fn func(*ListReportsOutput, bool) bool) error { + return c.ListReportsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListReportsPagesWithContext same as ListReportsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Artifact) ListReportsPagesWithContext(ctx aws.Context, input *ListReportsInput, fn func(*ListReportsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListReportsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListReportsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListReportsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opPutAccountSettings = "PutAccountSettings" + +// PutAccountSettingsRequest generates a "aws/request.Request" representing the +// client's request for the PutAccountSettings 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 PutAccountSettings for more information on using the PutAccountSettings +// 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 PutAccountSettingsRequest method. +// req, resp := client.PutAccountSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutAccountSettings +func (c *Artifact) PutAccountSettingsRequest(input *PutAccountSettingsInput) (req *request.Request, output *PutAccountSettingsOutput) { + op := &request.Operation{ + Name: opPutAccountSettings, + HTTPMethod: "PUT", + HTTPPath: "/v1/account-settings/put", + } + + if input == nil { + input = &PutAccountSettingsInput{} + } + + output = &PutAccountSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutAccountSettings API operation for AWS Artifact. +// +// Put the account settings for Artifact. +// +// 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 AWS Artifact's +// API operation PutAccountSettings for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFoundException +// Request references a resource which does not exist. +// +// - ThrottlingException +// Request was denied due to request throttling. +// +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ConflictException +// Request to create/modify content would result in a conflict. +// +// - InternalServerException +// An unknown server exception has occurred. +// +// - ValidationException +// Request fails to satisfy the constraints specified by an AWS service. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10/PutAccountSettings +func (c *Artifact) PutAccountSettings(input *PutAccountSettingsInput) (*PutAccountSettingsOutput, error) { + req, out := c.PutAccountSettingsRequest(input) + return out, req.Send() +} + +// PutAccountSettingsWithContext is the same as PutAccountSettings with the addition of +// the ability to pass a context and additional request options. +// +// See PutAccountSettings 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 *Artifact) PutAccountSettingsWithContext(ctx aws.Context, input *PutAccountSettingsInput, opts ...request.Option) (*PutAccountSettingsOutput, error) { + req, out := c.PutAccountSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// User does not have sufficient access to perform this action. +type AccessDeniedException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccessDeniedException) GoString() string { + return s.String() +} + +func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { + return &AccessDeniedException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *AccessDeniedException) Code() string { + return "AccessDeniedException" +} + +// Message returns the exception's message. +func (s *AccessDeniedException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *AccessDeniedException) OrigErr() error { + return nil +} + +func (s *AccessDeniedException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *AccessDeniedException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *AccessDeniedException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Account settings for the customer. +type AccountSettings struct { + _ struct{} `type:"structure"` + + // Notification subscription status of the customer. + NotificationSubscriptionStatus *string `locationName:"notificationSubscriptionStatus" type:"string" enum:"NotificationSubscriptionStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AccountSettings) GoString() string { + return s.String() +} + +// SetNotificationSubscriptionStatus sets the NotificationSubscriptionStatus field's value. +func (s *AccountSettings) SetNotificationSubscriptionStatus(v string) *AccountSettings { + s.NotificationSubscriptionStatus = &v + return s +} + +// Request to create/modify content would result in a conflict. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // Identifier of the affected resource. + // + // ResourceId is a required field + ResourceId *string `locationName:"resourceId" type:"string" required:"true"` + + // Type of the affected resource. + // + // ResourceType is a required field + ResourceType *string `locationName:"resourceType" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +type GetAccountSettingsInput struct { + _ struct{} `type:"structure" nopayload:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAccountSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAccountSettingsInput) GoString() string { + return s.String() +} + +type GetAccountSettingsOutput struct { + _ struct{} `type:"structure"` + + // Account settings for the customer. + AccountSettings *AccountSettings `locationName:"accountSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAccountSettingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetAccountSettingsOutput) GoString() string { + return s.String() +} + +// SetAccountSettings sets the AccountSettings field's value. +func (s *GetAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *GetAccountSettingsOutput { + s.AccountSettings = v + return s +} + +type GetReportInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Unique resource ID for the report resource. + // + // ReportId is a required field + ReportId *string `location:"querystring" locationName:"reportId" type:"string" required:"true"` + + // Version for the report resource. + ReportVersion *int64 `location:"querystring" locationName:"reportVersion" min:"1" type:"long"` + + // Unique download token provided by GetTermForReport API. + // + // TermToken is a required field + TermToken *string `location:"querystring" locationName:"termToken" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReportInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReportInput"} + if s.ReportId == nil { + invalidParams.Add(request.NewErrParamRequired("ReportId")) + } + if s.ReportVersion != nil && *s.ReportVersion < 1 { + invalidParams.Add(request.NewErrParamMinValue("ReportVersion", 1)) + } + if s.TermToken == nil { + invalidParams.Add(request.NewErrParamRequired("TermToken")) + } + if s.TermToken != nil && len(*s.TermToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TermToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReportId sets the ReportId field's value. +func (s *GetReportInput) SetReportId(v string) *GetReportInput { + s.ReportId = &v + return s +} + +// SetReportVersion sets the ReportVersion field's value. +func (s *GetReportInput) SetReportVersion(v int64) *GetReportInput { + s.ReportVersion = &v + return s +} + +// SetTermToken sets the TermToken field's value. +func (s *GetReportInput) SetTermToken(v string) *GetReportInput { + s.TermToken = &v + return s +} + +type GetReportMetadataInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Unique resource ID for the report resource. + // + // ReportId is a required field + ReportId *string `location:"querystring" locationName:"reportId" type:"string" required:"true"` + + // Version for the report resource. + ReportVersion *int64 `location:"querystring" locationName:"reportVersion" min:"1" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportMetadataInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportMetadataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetReportMetadataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetReportMetadataInput"} + if s.ReportId == nil { + invalidParams.Add(request.NewErrParamRequired("ReportId")) + } + if s.ReportVersion != nil && *s.ReportVersion < 1 { + invalidParams.Add(request.NewErrParamMinValue("ReportVersion", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReportId sets the ReportId field's value. +func (s *GetReportMetadataInput) SetReportId(v string) *GetReportMetadataInput { + s.ReportId = &v + return s +} + +// SetReportVersion sets the ReportVersion field's value. +func (s *GetReportMetadataInput) SetReportVersion(v int64) *GetReportMetadataInput { + s.ReportVersion = &v + return s +} + +type GetReportMetadataOutput struct { + _ struct{} `type:"structure"` + + // Report resource detail. + ReportDetails *ReportDetail `locationName:"reportDetails" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportMetadataOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportMetadataOutput) GoString() string { + return s.String() +} + +// SetReportDetails sets the ReportDetails field's value. +func (s *GetReportMetadataOutput) SetReportDetails(v *ReportDetail) *GetReportMetadataOutput { + s.ReportDetails = v + return s +} + +type GetReportOutput struct { + _ struct{} `type:"structure"` + + // Presigned S3 url to access the report content. + DocumentPresignedUrl *string `locationName:"documentPresignedUrl" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetReportOutput) GoString() string { + return s.String() +} + +// SetDocumentPresignedUrl sets the DocumentPresignedUrl field's value. +func (s *GetReportOutput) SetDocumentPresignedUrl(v string) *GetReportOutput { + s.DocumentPresignedUrl = &v + return s +} + +type GetTermForReportInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Unique resource ID for the report resource. + // + // ReportId is a required field + ReportId *string `location:"querystring" locationName:"reportId" type:"string" required:"true"` + + // Version for the report resource. + ReportVersion *int64 `location:"querystring" locationName:"reportVersion" min:"1" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTermForReportInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTermForReportInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTermForReportInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTermForReportInput"} + if s.ReportId == nil { + invalidParams.Add(request.NewErrParamRequired("ReportId")) + } + if s.ReportVersion != nil && *s.ReportVersion < 1 { + invalidParams.Add(request.NewErrParamMinValue("ReportVersion", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetReportId sets the ReportId field's value. +func (s *GetTermForReportInput) SetReportId(v string) *GetTermForReportInput { + s.ReportId = &v + return s +} + +// SetReportVersion sets the ReportVersion field's value. +func (s *GetTermForReportInput) SetReportVersion(v int64) *GetTermForReportInput { + s.ReportVersion = &v + return s +} + +type GetTermForReportOutput struct { + _ struct{} `type:"structure"` + + // Presigned S3 url to access the term content. + DocumentPresignedUrl *string `locationName:"documentPresignedUrl" min:"1" type:"string"` + + // Unique token representing this request event. + TermToken *string `locationName:"termToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTermForReportOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTermForReportOutput) GoString() string { + return s.String() +} + +// SetDocumentPresignedUrl sets the DocumentPresignedUrl field's value. +func (s *GetTermForReportOutput) SetDocumentPresignedUrl(v string) *GetTermForReportOutput { + s.DocumentPresignedUrl = &v + return s +} + +// SetTermToken sets the TermToken field's value. +func (s *GetTermForReportOutput) SetTermToken(v string) *GetTermForReportOutput { + s.TermToken = &v + return s +} + +// An unknown server exception has occurred. +type InternalServerException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // Number of seconds in which the caller can retry the request. + RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InternalServerException) GoString() string { + return s.String() +} + +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InternalServerException) Code() string { + return "InternalServerException" +} + +// Message returns the exception's message. +func (s *InternalServerException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *InternalServerException) OrigErr() error { + return nil +} + +func (s *InternalServerException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *InternalServerException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *InternalServerException) RequestID() string { + return s.RespMetadata.RequestID +} + +type ListReportsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Maximum number of resources to return in the paginated response. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // Pagination token to request the next page of resources. + NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReportsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReportsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListReportsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListReportsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListReportsInput) SetMaxResults(v int64) *ListReportsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReportsInput) SetNextToken(v string) *ListReportsInput { + s.NextToken = &v + return s +} + +type ListReportsOutput struct { + _ struct{} `type:"structure"` + + // Pagination token to request the next page of resources. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // List of report resources. + Reports []*ReportSummary `locationName:"reports" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReportsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListReportsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListReportsOutput) SetNextToken(v string) *ListReportsOutput { + s.NextToken = &v + return s +} + +// SetReports sets the Reports field's value. +func (s *ListReportsOutput) SetReports(v []*ReportSummary) *ListReportsOutput { + s.Reports = v + return s +} + +type PutAccountSettingsInput struct { + _ struct{} `type:"structure"` + + // Desired notification subscription status. + NotificationSubscriptionStatus *string `locationName:"notificationSubscriptionStatus" type:"string" enum:"NotificationSubscriptionStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutAccountSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutAccountSettingsInput) GoString() string { + return s.String() +} + +// SetNotificationSubscriptionStatus sets the NotificationSubscriptionStatus field's value. +func (s *PutAccountSettingsInput) SetNotificationSubscriptionStatus(v string) *PutAccountSettingsInput { + s.NotificationSubscriptionStatus = &v + return s +} + +type PutAccountSettingsOutput struct { + _ struct{} `type:"structure"` + + // Account settings for the customer. + AccountSettings *AccountSettings `locationName:"accountSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutAccountSettingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutAccountSettingsOutput) GoString() string { + return s.String() +} + +// SetAccountSettings sets the AccountSettings field's value. +func (s *PutAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *PutAccountSettingsOutput { + s.AccountSettings = v + return s +} + +// Full detail for report resource metadata. +type ReportDetail struct { + _ struct{} `type:"structure"` + + // Acceptance type for report. + AcceptanceType *string `locationName:"acceptanceType" type:"string" enum:"AcceptanceType"` + + // ARN for the report resource. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // Category for the report resource. + Category *string `locationName:"category" min:"1" type:"string"` + + // Associated company name for the report resource. + CompanyName *string `locationName:"companyName" min:"1" type:"string"` + + // Timestamp indicating when the report resource was created. + CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` + + // Timestamp indicating when the report resource was deleted. + DeletedAt *time.Time `locationName:"deletedAt" type:"timestamp" timestampFormat:"iso8601"` + + // Description for the report resource. + Description *string `locationName:"description" min:"1" type:"string"` + + // Unique resource ID for the report resource. + Id *string `locationName:"id" type:"string"` + + // Timestamp indicating when the report resource was last modified. + LastModifiedAt *time.Time `locationName:"lastModifiedAt" type:"timestamp" timestampFormat:"iso8601"` + + // Name for the report resource. + Name *string `locationName:"name" min:"1" type:"string"` + + // Timestamp indicating the report resource effective end. + PeriodEnd *time.Time `locationName:"periodEnd" type:"timestamp" timestampFormat:"iso8601"` + + // Timestamp indicating the report resource effective start. + PeriodStart *time.Time `locationName:"periodStart" type:"timestamp" timestampFormat:"iso8601"` + + // Associated product name for the report resource. + ProductName *string `locationName:"productName" min:"1" type:"string"` + + // Sequence number to enforce optimistic locking. + SequenceNumber *int64 `locationName:"sequenceNumber" min:"1" type:"long"` + + // Series for the report resource. + Series *string `locationName:"series" min:"1" type:"string"` + + // Current state of the report resource + State *string `locationName:"state" type:"string" enum:"PublishedState"` + + // The message associated with the current upload state. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // Unique resource ARN for term resource. + TermArn *string `locationName:"termArn" min:"1" type:"string"` + + // The current state of the document upload. + UploadState *string `locationName:"uploadState" type:"string" enum:"UploadState"` + + // Version for the report resource. + Version *int64 `locationName:"version" min:"1" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReportDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReportDetail) GoString() string { + return s.String() +} + +// SetAcceptanceType sets the AcceptanceType field's value. +func (s *ReportDetail) SetAcceptanceType(v string) *ReportDetail { + s.AcceptanceType = &v + return s +} + +// SetArn sets the Arn field's value. +func (s *ReportDetail) SetArn(v string) *ReportDetail { + s.Arn = &v + return s +} + +// SetCategory sets the Category field's value. +func (s *ReportDetail) SetCategory(v string) *ReportDetail { + s.Category = &v + return s +} + +// SetCompanyName sets the CompanyName field's value. +func (s *ReportDetail) SetCompanyName(v string) *ReportDetail { + s.CompanyName = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *ReportDetail) SetCreatedAt(v time.Time) *ReportDetail { + s.CreatedAt = &v + return s +} + +// SetDeletedAt sets the DeletedAt field's value. +func (s *ReportDetail) SetDeletedAt(v time.Time) *ReportDetail { + s.DeletedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ReportDetail) SetDescription(v string) *ReportDetail { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ReportDetail) SetId(v string) *ReportDetail { + s.Id = &v + return s +} + +// SetLastModifiedAt sets the LastModifiedAt field's value. +func (s *ReportDetail) SetLastModifiedAt(v time.Time) *ReportDetail { + s.LastModifiedAt = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReportDetail) SetName(v string) *ReportDetail { + s.Name = &v + return s +} + +// SetPeriodEnd sets the PeriodEnd field's value. +func (s *ReportDetail) SetPeriodEnd(v time.Time) *ReportDetail { + s.PeriodEnd = &v + return s +} + +// SetPeriodStart sets the PeriodStart field's value. +func (s *ReportDetail) SetPeriodStart(v time.Time) *ReportDetail { + s.PeriodStart = &v + return s +} + +// SetProductName sets the ProductName field's value. +func (s *ReportDetail) SetProductName(v string) *ReportDetail { + s.ProductName = &v + return s +} + +// SetSequenceNumber sets the SequenceNumber field's value. +func (s *ReportDetail) SetSequenceNumber(v int64) *ReportDetail { + s.SequenceNumber = &v + return s +} + +// SetSeries sets the Series field's value. +func (s *ReportDetail) SetSeries(v string) *ReportDetail { + s.Series = &v + return s +} + +// SetState sets the State field's value. +func (s *ReportDetail) SetState(v string) *ReportDetail { + s.State = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ReportDetail) SetStatusMessage(v string) *ReportDetail { + s.StatusMessage = &v + return s +} + +// SetTermArn sets the TermArn field's value. +func (s *ReportDetail) SetTermArn(v string) *ReportDetail { + s.TermArn = &v + return s +} + +// SetUploadState sets the UploadState field's value. +func (s *ReportDetail) SetUploadState(v string) *ReportDetail { + s.UploadState = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *ReportDetail) SetVersion(v int64) *ReportDetail { + s.Version = &v + return s +} + +// Summary for report resource. +type ReportSummary struct { + _ struct{} `type:"structure"` + + // ARN for the report resource. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // Category for the report resource. + Category *string `locationName:"category" min:"1" type:"string"` + + // Associated company name for the report resource. + CompanyName *string `locationName:"companyName" min:"1" type:"string"` + + // Description for the report resource. + Description *string `locationName:"description" min:"1" type:"string"` + + // Unique resource ID for the report resource. + Id *string `locationName:"id" type:"string"` + + // Name for the report resource. + Name *string `locationName:"name" min:"1" type:"string"` + + // Timestamp indicating the report resource effective end. + PeriodEnd *time.Time `locationName:"periodEnd" type:"timestamp" timestampFormat:"iso8601"` + + // Timestamp indicating the report resource effective start. + PeriodStart *time.Time `locationName:"periodStart" type:"timestamp" timestampFormat:"iso8601"` + + // Associated product name for the report resource. + ProductName *string `locationName:"productName" min:"1" type:"string"` + + // Series for the report resource. + Series *string `locationName:"series" min:"1" type:"string"` + + // Current state of the report resource. + State *string `locationName:"state" type:"string" enum:"PublishedState"` + + // The message associated with the current upload state. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The current state of the document upload. + UploadState *string `locationName:"uploadState" type:"string" enum:"UploadState"` + + // Version for the report resource. + Version *int64 `locationName:"version" min:"1" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReportSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ReportSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ReportSummary) SetArn(v string) *ReportSummary { + s.Arn = &v + return s +} + +// SetCategory sets the Category field's value. +func (s *ReportSummary) SetCategory(v string) *ReportSummary { + s.Category = &v + return s +} + +// SetCompanyName sets the CompanyName field's value. +func (s *ReportSummary) SetCompanyName(v string) *ReportSummary { + s.CompanyName = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ReportSummary) SetDescription(v string) *ReportSummary { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *ReportSummary) SetId(v string) *ReportSummary { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ReportSummary) SetName(v string) *ReportSummary { + s.Name = &v + return s +} + +// SetPeriodEnd sets the PeriodEnd field's value. +func (s *ReportSummary) SetPeriodEnd(v time.Time) *ReportSummary { + s.PeriodEnd = &v + return s +} + +// SetPeriodStart sets the PeriodStart field's value. +func (s *ReportSummary) SetPeriodStart(v time.Time) *ReportSummary { + s.PeriodStart = &v + return s +} + +// SetProductName sets the ProductName field's value. +func (s *ReportSummary) SetProductName(v string) *ReportSummary { + s.ProductName = &v + return s +} + +// SetSeries sets the Series field's value. +func (s *ReportSummary) SetSeries(v string) *ReportSummary { + s.Series = &v + return s +} + +// SetState sets the State field's value. +func (s *ReportSummary) SetState(v string) *ReportSummary { + s.State = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *ReportSummary) SetStatusMessage(v string) *ReportSummary { + s.StatusMessage = &v + return s +} + +// SetUploadState sets the UploadState field's value. +func (s *ReportSummary) SetUploadState(v string) *ReportSummary { + s.UploadState = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *ReportSummary) SetVersion(v int64) *ReportSummary { + s.Version = &v + return s +} + +// Request references a resource which does not exist. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // Identifier of the affected resource. + // + // ResourceId is a required field + ResourceId *string `locationName:"resourceId" type:"string" required:"true"` + + // Type of the affected resource. + // + // ResourceType is a required field + ResourceType *string `locationName:"resourceType" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceNotFoundException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Request would cause a service quota to be exceeded. +type ServiceQuotaExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // Code for the affected quota. + // + // QuotaCode is a required field + QuotaCode *string `locationName:"quotaCode" type:"string" required:"true"` + + // Identifier of the affected resource. + // + // ResourceId is a required field + ResourceId *string `locationName:"resourceId" type:"string" required:"true"` + + // Type of the affected resource. + // + // ResourceType is a required field + ResourceType *string `locationName:"resourceType" type:"string" required:"true"` + + // Code for the affected service. + // + // ServiceCode is a required field + ServiceCode *string `locationName:"serviceCode" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ServiceQuotaExceededException) GoString() string { + return s.String() +} + +func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { + return &ServiceQuotaExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ServiceQuotaExceededException) Code() string { + return "ServiceQuotaExceededException" +} + +// Message returns the exception's message. +func (s *ServiceQuotaExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ServiceQuotaExceededException) OrigErr() error { + return nil +} + +func (s *ServiceQuotaExceededException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ServiceQuotaExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ServiceQuotaExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Request was denied due to request throttling. +type ThrottlingException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` + + // Code for the affected quota. + QuotaCode *string `locationName:"quotaCode" type:"string"` + + // Number of seconds in which the caller can retry the request. + RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` + + // Code for the affected service. + ServiceCode *string `locationName:"serviceCode" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ThrottlingException) GoString() string { + return s.String() +} + +func newErrorThrottlingException(v protocol.ResponseMetadata) error { + return &ThrottlingException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ThrottlingException) Code() string { + return "ThrottlingException" +} + +// Message returns the exception's message. +func (s *ThrottlingException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ThrottlingException) OrigErr() error { + return nil +} + +func (s *ThrottlingException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ThrottlingException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ThrottlingException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Request fails to satisfy the constraints specified by an AWS service. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The field that caused the error, if applicable. + FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"` + + Message_ *string `locationName:"message" type:"string"` + + // Reason the request failed validation. + // + // Reason is a required field + Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Validation exception message and name. +type ValidationExceptionField struct { + _ struct{} `type:"structure"` + + // Message describing why the field failed validation. + // + // Message is a required field + Message *string `locationName:"message" type:"string" required:"true"` + + // Name of validation exception. + // + // Name is a required field + Name *string `locationName:"name" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationExceptionField) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ValidationExceptionField) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField { + s.Message = &v + return s +} + +// SetName sets the Name field's value. +func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField { + s.Name = &v + return s +} + +const ( + // AcceptanceTypePassthrough is a AcceptanceType enum value + AcceptanceTypePassthrough = "PASSTHROUGH" + + // AcceptanceTypeExplicit is a AcceptanceType enum value + AcceptanceTypeExplicit = "EXPLICIT" +) + +// AcceptanceType_Values returns all elements of the AcceptanceType enum +func AcceptanceType_Values() []string { + return []string{ + AcceptanceTypePassthrough, + AcceptanceTypeExplicit, + } +} + +const ( + // NotificationSubscriptionStatusSubscribed is a NotificationSubscriptionStatus enum value + NotificationSubscriptionStatusSubscribed = "SUBSCRIBED" + + // NotificationSubscriptionStatusNotSubscribed is a NotificationSubscriptionStatus enum value + NotificationSubscriptionStatusNotSubscribed = "NOT_SUBSCRIBED" +) + +// NotificationSubscriptionStatus_Values returns all elements of the NotificationSubscriptionStatus enum +func NotificationSubscriptionStatus_Values() []string { + return []string{ + NotificationSubscriptionStatusSubscribed, + NotificationSubscriptionStatusNotSubscribed, + } +} + +const ( + // PublishedStatePublished is a PublishedState enum value + PublishedStatePublished = "PUBLISHED" + + // PublishedStateUnpublished is a PublishedState enum value + PublishedStateUnpublished = "UNPUBLISHED" +) + +// PublishedState_Values returns all elements of the PublishedState enum +func PublishedState_Values() []string { + return []string{ + PublishedStatePublished, + PublishedStateUnpublished, + } +} + +const ( + // UploadStateProcessing is a UploadState enum value + UploadStateProcessing = "PROCESSING" + + // UploadStateComplete is a UploadState enum value + UploadStateComplete = "COMPLETE" + + // UploadStateFailed is a UploadState enum value + UploadStateFailed = "FAILED" + + // UploadStateFault is a UploadState enum value + UploadStateFault = "FAULT" +) + +// UploadState_Values returns all elements of the UploadState enum +func UploadState_Values() []string { + return []string{ + UploadStateProcessing, + UploadStateComplete, + UploadStateFailed, + UploadStateFault, + } +} + +const ( + // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value + ValidationExceptionReasonUnknownOperation = "unknownOperation" + + // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value + ValidationExceptionReasonCannotParse = "cannotParse" + + // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value + ValidationExceptionReasonFieldValidationFailed = "fieldValidationFailed" + + // ValidationExceptionReasonInvalidToken is a ValidationExceptionReason enum value + ValidationExceptionReasonInvalidToken = "invalidToken" + + // ValidationExceptionReasonOther is a ValidationExceptionReason enum value + ValidationExceptionReasonOther = "other" +) + +// ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum +func ValidationExceptionReason_Values() []string { + return []string{ + ValidationExceptionReasonUnknownOperation, + ValidationExceptionReasonCannotParse, + ValidationExceptionReasonFieldValidationFailed, + ValidationExceptionReasonInvalidToken, + ValidationExceptionReasonOther, + } +} diff --git a/service/artifact/artifactiface/interface.go b/service/artifact/artifactiface/interface.go new file mode 100644 index 00000000000..78351ac2e06 --- /dev/null +++ b/service/artifact/artifactiface/interface.go @@ -0,0 +1,91 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package artifactiface provides an interface to enable mocking the AWS Artifact service client +// for testing your code. +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. +package artifactiface + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/service/artifact" +) + +// ArtifactAPI provides an interface to enable mocking the +// artifact.Artifact service client's API operation, +// paginators, and waiters. This make unit testing your code that calls out +// to the SDK's service client's calls easier. +// +// The best way to use this interface is so the SDK's service client's calls +// can be stubbed out for unit testing your code with the SDK without needing +// to inject custom request handlers into the SDK's request pipeline. +// +// // myFunc uses an SDK service client to make a request to +// // AWS Artifact. +// func myFunc(svc artifactiface.ArtifactAPI) bool { +// // Make svc.GetAccountSettings request +// } +// +// func main() { +// sess := session.New() +// svc := artifact.New(sess) +// +// myFunc(svc) +// } +// +// In your _test.go file: +// +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockArtifactClient struct { +// artifactiface.ArtifactAPI +// } +// func (m *mockArtifactClient) GetAccountSettings(input *artifact.GetAccountSettingsInput) (*artifact.GetAccountSettingsOutput, error) { +// // mock response/functionality +// } +// +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockArtifactClient{} +// +// myfunc(mockSvc) +// +// // Verify myFunc's functionality +// } +// +// It is important to note that this interface will have breaking changes +// when the service model is updated and adds new API operations, paginators, +// and waiters. Its suggested to use the pattern above for testing, or using +// tooling to generate mocks to satisfy the interfaces. +type ArtifactAPI interface { + GetAccountSettings(*artifact.GetAccountSettingsInput) (*artifact.GetAccountSettingsOutput, error) + GetAccountSettingsWithContext(aws.Context, *artifact.GetAccountSettingsInput, ...request.Option) (*artifact.GetAccountSettingsOutput, error) + GetAccountSettingsRequest(*artifact.GetAccountSettingsInput) (*request.Request, *artifact.GetAccountSettingsOutput) + + GetReport(*artifact.GetReportInput) (*artifact.GetReportOutput, error) + GetReportWithContext(aws.Context, *artifact.GetReportInput, ...request.Option) (*artifact.GetReportOutput, error) + GetReportRequest(*artifact.GetReportInput) (*request.Request, *artifact.GetReportOutput) + + GetReportMetadata(*artifact.GetReportMetadataInput) (*artifact.GetReportMetadataOutput, error) + GetReportMetadataWithContext(aws.Context, *artifact.GetReportMetadataInput, ...request.Option) (*artifact.GetReportMetadataOutput, error) + GetReportMetadataRequest(*artifact.GetReportMetadataInput) (*request.Request, *artifact.GetReportMetadataOutput) + + GetTermForReport(*artifact.GetTermForReportInput) (*artifact.GetTermForReportOutput, error) + GetTermForReportWithContext(aws.Context, *artifact.GetTermForReportInput, ...request.Option) (*artifact.GetTermForReportOutput, error) + GetTermForReportRequest(*artifact.GetTermForReportInput) (*request.Request, *artifact.GetTermForReportOutput) + + ListReports(*artifact.ListReportsInput) (*artifact.ListReportsOutput, error) + ListReportsWithContext(aws.Context, *artifact.ListReportsInput, ...request.Option) (*artifact.ListReportsOutput, error) + ListReportsRequest(*artifact.ListReportsInput) (*request.Request, *artifact.ListReportsOutput) + + ListReportsPages(*artifact.ListReportsInput, func(*artifact.ListReportsOutput, bool) bool) error + ListReportsPagesWithContext(aws.Context, *artifact.ListReportsInput, func(*artifact.ListReportsOutput, bool) bool, ...request.Option) error + + PutAccountSettings(*artifact.PutAccountSettingsInput) (*artifact.PutAccountSettingsOutput, error) + PutAccountSettingsWithContext(aws.Context, *artifact.PutAccountSettingsInput, ...request.Option) (*artifact.PutAccountSettingsOutput, error) + PutAccountSettingsRequest(*artifact.PutAccountSettingsInput) (*request.Request, *artifact.PutAccountSettingsOutput) +} + +var _ ArtifactAPI = (*artifact.Artifact)(nil) diff --git a/service/artifact/doc.go b/service/artifact/doc.go new file mode 100644 index 00000000000..e32d6ff3c2c --- /dev/null +++ b/service/artifact/doc.go @@ -0,0 +1,29 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// Package artifact provides the client and types for making API +// requests to AWS Artifact. +// +// This reference provides descriptions of the low-level AWS Artifact Service +// API. +// +// See https://docs.aws.amazon.com/goto/WebAPI/artifact-2018-05-10 for more information on this service. +// +// See artifact package documentation for more information. +// https://docs.aws.amazon.com/sdk-for-go/api/service/artifact/ +// +// # Using the Client +// +// To contact AWS Artifact with the SDK use the New function to create +// a new service client. With that client you can make API requests to the service. +// These clients are safe to use concurrently. +// +// See the SDK's documentation for more information on how to use the SDK. +// https://docs.aws.amazon.com/sdk-for-go/api/ +// +// See aws.Config documentation for more information on configuring SDK clients. +// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config +// +// See the AWS Artifact client Artifact for more +// information on creating client for this service. +// https://docs.aws.amazon.com/sdk-for-go/api/service/artifact/#New +package artifact diff --git a/service/artifact/errors.go b/service/artifact/errors.go new file mode 100644 index 00000000000..3229115b4e0 --- /dev/null +++ b/service/artifact/errors.go @@ -0,0 +1,62 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package artifact + +import ( + "github.com/aws/aws-sdk-go/private/protocol" +) + +const ( + + // ErrCodeAccessDeniedException for service response error code + // "AccessDeniedException". + // + // User does not have sufficient access to perform this action. + ErrCodeAccessDeniedException = "AccessDeniedException" + + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // Request to create/modify content would result in a conflict. + ErrCodeConflictException = "ConflictException" + + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // An unknown server exception has occurred. + ErrCodeInternalServerException = "InternalServerException" + + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // Request references a resource which does not exist. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + + // ErrCodeServiceQuotaExceededException for service response error code + // "ServiceQuotaExceededException". + // + // Request would cause a service quota to be exceeded. + ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" + + // ErrCodeThrottlingException for service response error code + // "ThrottlingException". + // + // Request was denied due to request throttling. + ErrCodeThrottlingException = "ThrottlingException" + + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // Request fails to satisfy the constraints specified by an AWS service. + ErrCodeValidationException = "ValidationException" +) + +var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ + "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, + "InternalServerException": newErrorInternalServerException, + "ResourceNotFoundException": newErrorResourceNotFoundException, + "ServiceQuotaExceededException": newErrorServiceQuotaExceededException, + "ThrottlingException": newErrorThrottlingException, + "ValidationException": newErrorValidationException, +} diff --git a/service/artifact/service.go b/service/artifact/service.go new file mode 100644 index 00000000000..ba63f70fc87 --- /dev/null +++ b/service/artifact/service.go @@ -0,0 +1,106 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package artifact + +import ( + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/client" + "github.com/aws/aws-sdk-go/aws/client/metadata" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/aws/signer/v4" + "github.com/aws/aws-sdk-go/private/protocol" + "github.com/aws/aws-sdk-go/private/protocol/restjson" +) + +// Artifact provides the API operation methods for making requests to +// AWS Artifact. See this package's package overview docs +// for details on the service. +// +// Artifact methods are safe to use concurrently. It is not safe to +// modify mutate any of the struct's properties though. +type Artifact struct { + *client.Client +} + +// Used for custom client initialization logic +var initClient func(*client.Client) + +// Used for custom request initialization logic +var initRequest func(*request.Request) + +// Service information constants +const ( + ServiceName = "Artifact" // Name of service. + EndpointsID = "artifact" // ID to lookup a service endpoint with. + ServiceID = "Artifact" // ServiceID is a unique identifier of a specific service. +) + +// New creates a new instance of the Artifact client with a session. +// If additional configuration is needed for the client instance use the optional +// aws.Config parameter to add your extra config. +// +// Example: +// +// mySession := session.Must(session.NewSession()) +// +// // Create a Artifact client from just a session. +// svc := artifact.New(mySession) +// +// // Create a Artifact client with additional configuration +// svc := artifact.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +func New(p client.ConfigProvider, cfgs ...*aws.Config) *Artifact { + c := p.ClientConfig(EndpointsID, cfgs...) + if c.SigningNameDerived || len(c.SigningName) == 0 { + c.SigningName = "artifact" + } + return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion) +} + +// newClient creates, initializes and returns a new service client instance. +func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *Artifact { + svc := &Artifact{ + Client: client.New( + cfg, + metadata.ClientInfo{ + ServiceName: ServiceName, + ServiceID: ServiceID, + SigningName: signingName, + SigningRegion: signingRegion, + PartitionID: partitionID, + Endpoint: endpoint, + APIVersion: "2018-05-10", + ResolvedRegion: resolvedRegion, + }, + handlers, + ), + } + + // Handlers + svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) + svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) + svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) + svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) + svc.Handlers.UnmarshalError.PushBackNamed( + protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), + ) + + // Run custom client initialization if present + if initClient != nil { + initClient(svc.Client) + } + + return svc +} + +// newRequest creates a new request for a Artifact operation and runs any +// custom request initialization. +func (c *Artifact) newRequest(op *request.Operation, params, data interface{}) *request.Request { + req := c.NewRequest(op, params, data) + + // Run custom request initialization if present + if initRequest != nil { + initRequest(req) + } + + return req +} diff --git a/service/codepipeline/api.go b/service/codepipeline/api.go index 2c7f03e0c0f..0db31a9224a 100644 --- a/service/codepipeline/api.go +++ b/service/codepipeline/api.go @@ -4423,6 +4423,11 @@ type ActionDeclaration struct { // The order in which actions are run. RunOrder *int64 `locationName:"runOrder" min:"1" type:"integer"` + + // A timeout duration in minutes that can be applied against the ActionType’s + // default timeout value specified in Quotas for CodePipeline (https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html). + // This attribute is available only to the manual approval ActionType. + TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` } // String returns the string representation. @@ -4464,6 +4469,9 @@ func (s *ActionDeclaration) Validate() error { if s.RunOrder != nil && *s.RunOrder < 1 { invalidParams.Add(request.NewErrParamMinValue("RunOrder", 1)) } + if s.TimeoutInMinutes != nil && *s.TimeoutInMinutes < 5 { + invalidParams.Add(request.NewErrParamMinValue("TimeoutInMinutes", 5)) + } if s.ActionTypeId != nil { if err := s.ActionTypeId.Validate(); err != nil { invalidParams.AddNested("ActionTypeId", err.(request.ErrInvalidParams)) @@ -4550,6 +4558,12 @@ func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration { return s } +// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. +func (s *ActionDeclaration) SetTimeoutInMinutes(v int64) *ActionDeclaration { + s.TimeoutInMinutes = &v + return s +} + // Represents information about the run of an action. type ActionExecution struct { _ struct{} `type:"structure"` diff --git a/service/detective/api.go b/service/detective/api.go index 7efc57eb8d4..052ceb91f35 100644 --- a/service/detective/api.go +++ b/service/detective/api.go @@ -336,13 +336,6 @@ func (c *Detective) CreateGraphRequest(input *CreateGraphInput) (req *request.Re // as the administrator account. This operation is called by the account that // is enabling Detective. // -// Before you try to enable Detective, make sure that your account has been -// enrolled in Amazon GuardDuty for at least 48 hours. If you do not meet this -// requirement, you cannot enable Detective. If you do meet the GuardDuty prerequisite, -// then when you make the request to enable Detective, it checks whether your -// data volume is within the Detective quota. If it exceeds the quota, then -// you cannot enable Detective. -// // The operation also enables Detective for the calling account in the currently // selected Region. It returns the ARN of the new behavior graph. // @@ -376,15 +369,13 @@ func (c *Detective) CreateGraphRequest(input *CreateGraphInput) (req *request.Re // - ServiceQuotaExceededException // This request cannot be completed for one of the following reasons. // -// - The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. -// -// - The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - This request cannot be completed if it would cause the number of member +// accounts in the behavior graph to exceed the maximum allowed. A behavior +// graph cannot have more than 1,200 member accounts. // -// - Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - This request cannot be completed if the current volume ingested is above +// the limit of 10 TB per day. Detective will not allow you to add additional +// member accounts. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateGraph func (c *Detective) CreateGraph(input *CreateGraphInput) (*CreateGraphOutput, error) { @@ -509,15 +500,13 @@ func (c *Detective) CreateMembersRequest(input *CreateMembersInput) (req *reques // - ServiceQuotaExceededException // This request cannot be completed for one of the following reasons. // -// - The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. -// -// - The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - This request cannot be completed if it would cause the number of member +// accounts in the behavior graph to exceed the maximum allowed. A behavior +// graph cannot have more than 1,200 member accounts. // -// - Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - This request cannot be completed if the current volume ingested is above +// the limit of 10 TB per day. Detective will not allow you to add additional +// member accounts. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateMembers func (c *Detective) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error) { @@ -1187,7 +1176,12 @@ func (c *Detective) GetInvestigationRequest(input *GetInvestigationInput) (req * // GetInvestigation API operation for Amazon Detective. // -// Returns the investigation results of an investigation for a behavior graph. +// Detective investigations lets you investigate IAM users and IAM roles using +// indicators of compromise. An indicator of compromise (IOC) is an artifact +// observed in or on a network, system, or environment that can (with a high +// level of confidence) identify malicious activity or a security incident. +// GetInvestigation returns the investigation results of an investigation for +// a behavior graph. // // 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 @@ -1663,7 +1657,9 @@ func (c *Detective) ListIndicatorsRequest(input *ListIndicatorsInput) (req *requ // ListIndicators API operation for Amazon Detective. // -// # Get the indicators from an investigation +// Gets the indicators from an investigation. You can use the information from +// the indicators to determine if an IAM user and/or IAM role is involved in +// an unusual activity that could indicate malicious behavior and its impact. // // 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 @@ -1756,7 +1752,11 @@ func (c *Detective) ListInvestigationsRequest(input *ListInvestigationsInput) (r // ListInvestigations API operation for Amazon Detective. // -// List all Investigations. +// Detective investigations lets you investigate IAM users and IAM roles using +// indicators of compromise. An indicator of compromise (IOC) is an artifact +// observed in or on a network, system, or environment that can (with a high +// level of confidence) identify malicious activity or a security incident. +// ListInvestigations lists all active Detective investigations. // // 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 @@ -2489,7 +2489,12 @@ func (c *Detective) StartInvestigationRequest(input *StartInvestigationInput) (r // StartInvestigation API operation for Amazon Detective. // -// initiate an investigation on an entity in a graph +// Detective investigations lets you investigate IAM users and IAM roles using +// indicators of compromise. An indicator of compromise (IOC) is an artifact +// observed in or on a network, system, or environment that can (with a high +// level of confidence) identify malicious activity or a security incident. +// StartInvestigation initiates an investigation on an entity in a behavior +// graph. // // 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 @@ -2617,15 +2622,13 @@ func (c *Detective) StartMonitoringMemberRequest(input *StartMonitoringMemberInp // - ServiceQuotaExceededException // This request cannot be completed for one of the following reasons. // -// - The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. -// -// - The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - This request cannot be completed if it would cause the number of member +// accounts in the behavior graph to exceed the maximum allowed. A behavior +// graph cannot have more than 1,200 member accounts. // -// - Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - This request cannot be completed if the current volume ingested is above +// the limit of 10 TB per day. Detective will not allow you to add additional +// member accounts. // // - ValidationException // The request parameters are invalid. @@ -2900,15 +2903,13 @@ func (c *Detective) UpdateDatasourcePackagesRequest(input *UpdateDatasourcePacka // - ServiceQuotaExceededException // This request cannot be completed for one of the following reasons. // -// - The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. -// -// - The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - This request cannot be completed if it would cause the number of member +// accounts in the behavior graph to exceed the maximum allowed. A behavior +// graph cannot have more than 1,200 member accounts. // -// - Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - This request cannot be completed if the current volume ingested is above +// the limit of 10 TB per day. Detective will not allow you to add additional +// member accounts. // // - ValidationException // The request parameters are invalid. @@ -2979,7 +2980,7 @@ func (c *Detective) UpdateInvestigationStateRequest(input *UpdateInvestigationSt // UpdateInvestigationState API operation for Amazon Detective. // -// Update the state of an investigation. +// Updates the state of an investigation. // // 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 @@ -3973,7 +3974,7 @@ type DateFilter struct { _ struct{} `type:"structure"` // A timestamp representing the end date of the time period until when data - // is filtered , including the end date. + // is filtered, including the end date. // // EndInclusive is a required field EndInclusive *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` @@ -4621,7 +4622,7 @@ func (s *FlaggedIpAddressDetail) SetReason(v string) *FlaggedIpAddressDetail { type GetInvestigationInput struct { _ struct{} `type:"structure"` - // The ARN of the behavior graph. + // The Amazon Resource Name (ARN) of the behavior graph. // // GraphArn is a required field GraphArn *string `type:"string" required:"true"` @@ -4684,17 +4685,18 @@ func (s *GetInvestigationInput) SetInvestigationId(v string) *GetInvestigationIn type GetInvestigationOutput struct { _ struct{} `type:"structure"` - // The UTC time stamp of the creation time of the investigation report. + // The creation time of the investigation report in UTC time stamp format. CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - // The unique Amazon Resource Name (ARN) of the IAM user and IAM role. + // The unique Amazon Resource Name (ARN). Detective supports IAM user ARNs and + // IAM role ARNs. EntityArn *string `type:"string"` - // Type of entity. For example, Amazon Web Services accounts, such as IAM user - // and role. + // Type of entity. For example, Amazon Web Services accounts, such as an IAM + // user and/or IAM role. EntityType *string `type:"string" enum:"EntityType"` - // The ARN of the behavior graph. + // The Amazon Resource Name (ARN) of the behavior graph. GraphArn *string `type:"string"` // The investigation ID of the investigation report. @@ -4704,19 +4706,20 @@ type GetInvestigationOutput struct { // formatted string. For example, 2021-08-18T16:35:56.284Z. ScopeEndTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - // The start date and time for the scope time set to generate the investigation - // report. + // The start date and time used to set the scope time within which you want + // to generate the investigation report. The value is an UTC ISO8601 formatted + // string. For example, 2021-08-18T16:35:56.284Z. ScopeStartTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` - // Severity based on the likelihood and impact of the indicators of compromise - // discovered in the investigation. + // The severity assigned is based on the likelihood and impact of the indicators + // of compromise discovered in the investigation. Severity *string `type:"string" enum:"Severity"` // The current state of the investigation. An archived investigation indicates - // you have completed reviewing the investigation. + // that you have completed reviewing the investigation. State *string `type:"string" enum:"State"` - // Status based on the completion status of the investigation. + // The status based on the completion status of the investigation. Status *string `type:"string" enum:"Status"` } @@ -4966,10 +4969,10 @@ type ImpossibleTravelDetail struct { // was used. HourlyTimeDelta *int64 `type:"integer"` - // IP address where the resource was first used in the impossible travel + // IP address where the resource was first used in the impossible travel. StartingIpAddress *string `type:"string"` - // Location where the resource was first used in the impossible travel + // Location where the resource was first used in the impossible travel. StartingLocation *string `type:"string"` } @@ -5021,13 +5024,19 @@ func (s *ImpossibleTravelDetail) SetStartingLocation(v string) *ImpossibleTravel return s } -// Investigations triages indicators of compromises such as a finding and surfaces -// only the most critical and suspicious issues, so you can focus on high-level -// investigations. +// Detective investigations triages indicators of compromises such as a finding +// and surfaces only the most critical and suspicious issues, so you can focus +// on high-level investigations. An Indicator lets you determine if an Amazon +// Web Services resource is involved in unusual activity that could indicate +// malicious behavior and its impact. type Indicator struct { _ struct{} `type:"structure"` - // Details about the indicator of compromise. + // Details about the indicators of compromise that are used to determine if + // a resource is involved in a security incident. An indicator of compromise + // (IOC) is an artifact observed in or on a network, system, or environment + // that can (with a high level of confidence) identify malicious activity or + // a security incident. IndicatorDetail *IndicatorDetail `type:"structure"` // The type of indicator. @@ -5065,13 +5074,17 @@ func (s *Indicator) SetIndicatorType(v string) *Indicator { } // Details about the indicators of compromise which are used to determine if -// a resource is involved in a security incident. +// a resource is involved in a security incident. An indicator of compromise +// (IOC) is an artifact observed in or on a network, system, or environment +// that can (with a high level of confidence) identify malicious activity or +// a security incident. For the list of indicators of compromise that are generated +// by Detective investigations, see Detective investigations (https://docs.aws.amazon.com/detective/latest/userguide/detective-investigations.html). type IndicatorDetail struct { _ struct{} `type:"structure"` // Suspicious IP addresses that are flagged, which indicates critical or severe // threats based on threat intelligence by Detective. This indicator is derived - // from AWS threat intelligence. + // from Amazon Web Services threat intelligence. FlaggedIpAddressDetail *FlaggedIpAddressDetail `type:"structure"` // Identifies unusual and impossible user activity for an account. @@ -5227,11 +5240,12 @@ func (s *InternalServerException) RequestID() string { } // Details about the investigation related to a potential security event identified -// by Detective +// by Detective. type InvestigationDetail struct { _ struct{} `type:"structure"` - // The UTC time stamp of the creation time of the investigation report. + // The time stamp of the creation time of the investigation report. The value + // is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z. CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The unique Amazon Resource Name (ARN) of the IAM user and IAM role. @@ -5534,12 +5548,13 @@ func (s *ListGraphsOutput) SetNextToken(v string) *ListGraphsOutput { type ListIndicatorsInput struct { _ struct{} `type:"structure"` - // The ARN of the behavior graph. + // The Amazon Resource Name (ARN) of the behavior graph. // // GraphArn is a required field GraphArn *string `type:"string" required:"true"` - // See Detective investigations. (https://docs.aws.amazon.com/detective/latest/userguide/detective-investigations.html). + // For the list of indicators of compromise that are generated by Detective + // investigations, see Detective investigations (https://docs.aws.amazon.com/detective/latest/userguide/detective-investigations.html). IndicatorType *string `type:"string" enum:"IndicatorType"` // The investigation ID of the investigation report. @@ -5547,10 +5562,10 @@ type ListIndicatorsInput struct { // InvestigationId is a required field InvestigationId *string `min:"21" type:"string" required:"true"` - // List the maximum number of indicators in a page. + // Lists the maximum number of indicators in a page. MaxResults *int64 `min:"1" type:"integer"` - // List if there are more results available. The value of nextToken is a unique + // Lists if there are more results available. The value of nextToken is a unique // pagination token for each page. Repeat the call using the returned token // to retrieve the next page. Keep all other arguments unchanged. // @@ -5635,16 +5650,16 @@ func (s *ListIndicatorsInput) SetNextToken(v string) *ListIndicatorsInput { type ListIndicatorsOutput struct { _ struct{} `type:"structure"` - // The ARN of the behavior graph. + // The Amazon Resource Name (ARN) of the behavior graph. GraphArn *string `type:"string"` - // Indicators of compromise listed based on severity. + // Lists the indicators of compromise. Indicators []*Indicator `type:"list"` // The investigation ID of the investigation report. InvestigationId *string `min:"21" type:"string"` - // List if there are more results available. The value of nextToken is a unique + // Lists if there are more results available. The value of nextToken is a unique // pagination token for each page. Repeat the call using the returned token // to retrieve the next page. Keep all other arguments unchanged. // @@ -5698,18 +5713,18 @@ func (s *ListIndicatorsOutput) SetNextToken(v string) *ListIndicatorsOutput { type ListInvestigationsInput struct { _ struct{} `type:"structure"` - // Filter the investigation results based on a criteria. + // Filters the investigation results based on a criteria. FilterCriteria *FilterCriteria `type:"structure"` - // The ARN of the behavior graph. + // The Amazon Resource Name (ARN) of the behavior graph. // // GraphArn is a required field GraphArn *string `type:"string" required:"true"` - // List the maximum number of investigations in a page. + // Lists the maximum number of investigations in a page. MaxResults *int64 `min:"1" type:"integer"` - // List if there are more results available. The value of nextToken is a unique + // Lists if there are more results available. The value of nextToken is a unique // pagination token for each page. Repeat the call using the returned token // to retrieve the next page. Keep all other arguments unchanged. // @@ -5796,16 +5811,15 @@ func (s *ListInvestigationsInput) SetSortCriteria(v *SortCriteria) *ListInvestig type ListInvestigationsOutput struct { _ struct{} `type:"structure"` - // Investigations details lists the summary of uncommon behavior or malicious - // activity which indicates a compromise. + // Lists the summary of uncommon behavior or malicious activity which indicates + // a compromise. InvestigationDetails []*InvestigationDetail `type:"list"` - // List if there are more results available. The value of nextToken is a unique + // Lists if there are more results available. The value of nextToken is a unique // pagination token for each page. Repeat the call using the returned token // to retrieve the next page. Keep all other arguments unchanged. // - // Each pagination token expires after 24 hours. Using an expired pagination - // token will return an HTTP 400 InvalidToken error. + // Each pagination token expires after 24 hours. NextToken *string `min:"1" type:"string"` } @@ -6546,7 +6560,8 @@ type NewAsoDetail struct { // Details about the new Autonomous System Organization (ASO). Aso *string `type:"string"` - // Checks if the ASO is for new for the entire account. + // Checks if the Autonomous System Organization (ASO) is new for the entire + // account. IsNewForEntireAccount *bool `type:"boolean"` } @@ -6589,7 +6604,7 @@ type NewGeolocationDetail struct { // IP address using which the resource was accessed. IpAddress *string `type:"string"` - // Checks if the gelocation is new for the entire account. + // Checks if the geolocation is new for the entire account. IsNewForEntireAccount *bool `type:"boolean"` // Location where the resource was accessed. @@ -6750,7 +6765,7 @@ func (s RejectInvitationOutput) GoString() string { type RelatedFindingDetail struct { _ struct{} `type:"structure"` - // The ARN of the related finding. + // The Amazon Resource Name (ARN) of the related finding. Arn *string `type:"string"` // The IP address of the finding. @@ -6896,15 +6911,13 @@ func (s *ResourceNotFoundException) RequestID() string { // This request cannot be completed for one of the following reasons. // -// - The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. -// -// - The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - This request cannot be completed if it would cause the number of member +// accounts in the behavior graph to exceed the maximum allowed. A behavior +// graph cannot have more than 1,200 member accounts. // -// - Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - This request cannot be completed if the current volume ingested is above +// the limit of 10 TB per day. Detective will not allow you to add additional +// member accounts. type ServiceQuotaExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -7020,12 +7033,12 @@ type StartInvestigationInput struct { // EntityArn is a required field EntityArn *string `type:"string" required:"true"` - // The ARN of the behavior graph. + // The Amazon Resource Name (ARN) of the behavior graph. // // GraphArn is a required field GraphArn *string `type:"string" required:"true"` - // The data and time when the investigation began. The value is an UTC ISO8601 + // The data and time when the investigation ended. The value is an UTC ISO8601 // formatted string. For example, 2021-08-18T16:35:56.284Z. // // ScopeEndTime is a required field @@ -7278,13 +7291,14 @@ type TTPsObservedDetail struct { // The total number of failed API requests. APIFailureCount *int64 `type:"long"` - // The name of the API where the TTP was observed. + // The name of the API where the tactics, techniques, and procedure (TTP) was + // observed. APIName *string `type:"string"` // The total number of successful API requests. APISuccessCount *int64 `type:"long"` - // The IP address where the TTP was observed. + // The IP address where the tactics, techniques, and procedure (TTP) was observed. IpAddress *string `type:"string"` // The procedure used, identified by the investigation. @@ -7807,7 +7821,7 @@ func (s UpdateDatasourcePackagesOutput) GoString() string { type UpdateInvestigationStateInput struct { _ struct{} `type:"structure"` - // The ARN of the behavior graph. + // The Amazon Resource Name (ARN) of the behavior graph. // // GraphArn is a required field GraphArn *string `type:"string" required:"true"` diff --git a/service/detective/doc.go b/service/detective/doc.go index f1b87f4a80a..d9528b39e51 100644 --- a/service/detective/doc.go +++ b/service/detective/doc.go @@ -71,7 +71,7 @@ // All API actions are logged as CloudTrail events. See Logging Detective API // Calls with CloudTrail (https://docs.aws.amazon.com/detective/latest/adminguide/logging-using-cloudtrail.html). // -// We replaced the term "master account" with the term "administrator account." +// We replaced the term "master account" with the term "administrator account". // An administrator account is used to centrally manage multiple accounts. In // the case of Detective, the administrator account manages the accounts in // their behavior graph. diff --git a/service/detective/errors.go b/service/detective/errors.go index c131ce58381..0480f9b7fbc 100644 --- a/service/detective/errors.go +++ b/service/detective/errors.go @@ -38,15 +38,13 @@ const ( // // This request cannot be completed for one of the following reasons. // - // * The request would cause the number of member accounts in the behavior - // graph to exceed the maximum allowed. A behavior graph cannot have more - // than 1200 member accounts. + // * This request cannot be completed if it would cause the number of member + // accounts in the behavior graph to exceed the maximum allowed. A behavior + // graph cannot have more than 1,200 member accounts. // - // * The request would cause the data rate for the behavior graph to exceed - // the maximum allowed. - // - // * Detective is unable to verify the data rate for the member account. - // This is usually because the member account is not enrolled in Amazon GuardDuty. + // * This request cannot be completed if the current volume ingested is above + // the limit of 10 TB per day. Detective will not allow you to add additional + // member accounts. ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException" // ErrCodeTooManyRequestsException for service response error code diff --git a/service/guardduty/api.go b/service/guardduty/api.go index 722715de6a4..487fb5287ef 100644 --- a/service/guardduty/api.go +++ b/service/guardduty/api.go @@ -2866,6 +2866,10 @@ func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInp // // Lists Amazon GuardDuty findings statistics for the specified detector ID. // +// There might be regional differences because some flags might not be available +// in all the Regions where GuardDuty is currently supported. For more information, +// see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). +// // 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. @@ -4386,7 +4390,11 @@ func (c *GuardDuty) ListFindingsRequest(input *ListFindingsInput) (req *request. // ListFindings API operation for Amazon GuardDuty. // -// Lists Amazon GuardDuty findings for the specified detector ID. +// Lists GuardDuty findings for the specified detector ID. +// +// There might be regional differences because some flags might not be available +// in all the Regions where GuardDuty is currently supported. For more information, +// see Regions and endpoints (https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html). // // 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 @@ -5963,7 +5971,7 @@ func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *requ // UpdateDetector API operation for Amazon GuardDuty. // -// Updates the Amazon GuardDuty detector specified by the detectorId. +// Updates the GuardDuty detector specified by the detectorId. // // There might be regional differences because some data sources might not be // available in all the Amazon Web Services Regions where GuardDuty is presently @@ -7067,8 +7075,12 @@ type AccountDetail struct { // The email address of the member account. // + // Email is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by AccountDetail's + // String and GoString methods. + // // Email is a required field - Email *string `locationName:"email" min:"1" type:"string" required:"true"` + Email *string `locationName:"email" min:"1" type:"string" required:"true" sensitive:"true"` } // String returns the string representation. @@ -18229,7 +18241,11 @@ type LocalIpDetails struct { _ struct{} `type:"structure"` // The IPv4 local address of the connection. - IpAddressV4 *string `locationName:"ipAddressV4" type:"string"` + // + // IpAddressV4 is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by LocalIpDetails's + // String and GoString methods. + IpAddressV4 *string `locationName:"ipAddressV4" type:"string" sensitive:"true"` } // String returns the string representation. @@ -18543,8 +18559,12 @@ type Member struct { // The email address of the member account. // + // Email is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by Member's + // String and GoString methods. + // // Email is a required field - Email *string `locationName:"email" min:"1" type:"string" required:"true"` + Email *string `locationName:"email" min:"1" type:"string" required:"true" sensitive:"true"` // The timestamp when the invitation was sent. InvitedAt *string `locationName:"invitedAt" type:"string"` @@ -18990,7 +19010,11 @@ type NetworkInterface struct { PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The private IP address of the EC2 instance. - PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` + // + // PrivateIpAddress is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by NetworkInterface's + // String and GoString methods. + PrivateIpAddress *string `locationName:"privateIpAddress" type:"string" sensitive:"true"` // Other private IP address information of the EC2 instance. PrivateIpAddresses []*PrivateIpAddressDetails `locationName:"privateIpAddresses" type:"list"` @@ -20392,7 +20416,11 @@ type PrivateIpAddressDetails struct { PrivateDnsName *string `locationName:"privateDnsName" type:"string"` // The private IP address of the EC2 instance. - PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` + // + // PrivateIpAddress is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PrivateIpAddressDetails's + // String and GoString methods. + PrivateIpAddress *string `locationName:"privateIpAddress" type:"string" sensitive:"true"` } // String returns the string representation. @@ -20900,7 +20928,11 @@ type RemoteIpDetails struct { GeoLocation *GeoLocation `locationName:"geoLocation" type:"structure"` // The IPv4 remote address of the connection. - IpAddressV4 *string `locationName:"ipAddressV4" type:"string"` + // + // IpAddressV4 is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by RemoteIpDetails's + // String and GoString methods. + IpAddressV4 *string `locationName:"ipAddressV4" type:"string" sensitive:"true"` // The ISP organization information of the remote IP address. Organization *Organization `locationName:"organization" type:"structure"` diff --git a/service/healthlake/api.go b/service/healthlake/api.go index 8d8b374c002..a52309503df 100644 --- a/service/healthlake/api.go +++ b/service/healthlake/api.go @@ -2244,8 +2244,8 @@ func (s *DescribeFHIRImportJobInput) SetJobId(v string) *DescribeFHIRImportJobIn type DescribeFHIRImportJobOutput struct { _ struct{} `type:"structure"` - // The properties of the Import job request, including the ID, ARN, name, and - // the status of the job. + // The properties of the Import job request, including the ID, ARN, name, status + // of the job, and the progress report of the job. // // ImportJobProperties is a required field ImportJobProperties *ImportJobProperties `type:"structure" required:"true"` @@ -2490,8 +2490,8 @@ func (s *IdentityProviderConfiguration) SetMetadata(v string) *IdentityProviderC return s } -// Displays the properties of the import job, including the ID, Arn, Name, and -// the status of the data store. +// Displays the properties of the import job, including the ID, Arn, Name, the +// status of the job, and the progress report of the job. type ImportJobProperties struct { _ struct{} `type:"structure"` @@ -2523,6 +2523,10 @@ type ImportJobProperties struct { // The output data configuration that was supplied when the export job was created. JobOutputDataConfig *OutputDataConfig `type:"structure"` + // Displays the progress of the import job, including total resources scanned, + // total resources ingested, and total size of data ingested. + JobProgressReport *JobProgressReport `type:"structure"` + // The job status for an Import job. Possible statuses are SUBMITTED, IN_PROGRESS, // COMPLETED_WITH_ERRORS, COMPLETED, FAILED. // @@ -2599,6 +2603,12 @@ func (s *ImportJobProperties) SetJobOutputDataConfig(v *OutputDataConfig) *Impor return s } +// SetJobProgressReport sets the JobProgressReport field's value. +func (s *ImportJobProperties) SetJobProgressReport(v *JobProgressReport) *ImportJobProperties { + s.JobProgressReport = v + return s +} + // SetJobStatus sets the JobStatus field's value. func (s *ImportJobProperties) SetJobStatus(v string) *ImportJobProperties { s.JobStatus = &v @@ -2714,6 +2724,102 @@ func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } +// The progress report of an import job. +type JobProgressReport struct { + _ struct{} `type:"structure"` + + // The throughput (in MB/sec) of the import job. + Throughput *float64 `type:"double"` + + // The number of files that failed to be read from the input S3 bucket due to + // customer error. + TotalNumberOfFilesReadWithCustomerError *int64 `type:"long"` + + // The number of files imported so far. + TotalNumberOfImportedFiles *int64 `type:"long"` + + // The number of resources imported so far. + TotalNumberOfResourcesImported *int64 `type:"long"` + + // The number of resources scanned from the input S3 bucket. + TotalNumberOfResourcesScanned *int64 `type:"long"` + + // The number of resources that failed due to customer error. + TotalNumberOfResourcesWithCustomerError *int64 `type:"long"` + + // The number of files scanned from input S3 bucket. + TotalNumberOfScannedFiles *int64 `type:"long"` + + // The size (in MB) of the files scanned from the input S3 bucket. + TotalSizeOfScannedFilesInMB *float64 `type:"double"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobProgressReport) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s JobProgressReport) GoString() string { + return s.String() +} + +// SetThroughput sets the Throughput field's value. +func (s *JobProgressReport) SetThroughput(v float64) *JobProgressReport { + s.Throughput = &v + return s +} + +// SetTotalNumberOfFilesReadWithCustomerError sets the TotalNumberOfFilesReadWithCustomerError field's value. +func (s *JobProgressReport) SetTotalNumberOfFilesReadWithCustomerError(v int64) *JobProgressReport { + s.TotalNumberOfFilesReadWithCustomerError = &v + return s +} + +// SetTotalNumberOfImportedFiles sets the TotalNumberOfImportedFiles field's value. +func (s *JobProgressReport) SetTotalNumberOfImportedFiles(v int64) *JobProgressReport { + s.TotalNumberOfImportedFiles = &v + return s +} + +// SetTotalNumberOfResourcesImported sets the TotalNumberOfResourcesImported field's value. +func (s *JobProgressReport) SetTotalNumberOfResourcesImported(v int64) *JobProgressReport { + s.TotalNumberOfResourcesImported = &v + return s +} + +// SetTotalNumberOfResourcesScanned sets the TotalNumberOfResourcesScanned field's value. +func (s *JobProgressReport) SetTotalNumberOfResourcesScanned(v int64) *JobProgressReport { + s.TotalNumberOfResourcesScanned = &v + return s +} + +// SetTotalNumberOfResourcesWithCustomerError sets the TotalNumberOfResourcesWithCustomerError field's value. +func (s *JobProgressReport) SetTotalNumberOfResourcesWithCustomerError(v int64) *JobProgressReport { + s.TotalNumberOfResourcesWithCustomerError = &v + return s +} + +// SetTotalNumberOfScannedFiles sets the TotalNumberOfScannedFiles field's value. +func (s *JobProgressReport) SetTotalNumberOfScannedFiles(v int64) *JobProgressReport { + s.TotalNumberOfScannedFiles = &v + return s +} + +// SetTotalSizeOfScannedFilesInMB sets the TotalSizeOfScannedFilesInMB field's value. +func (s *JobProgressReport) SetTotalSizeOfScannedFilesInMB(v float64) *JobProgressReport { + s.TotalSizeOfScannedFilesInMB = &v + return s +} + // The customer-managed-key(CMK) used when creating a data store. If a customer // owned key is not specified, an AWS owned key will be used for encryption. type KmsEncryptionConfig struct { @@ -3166,7 +3272,7 @@ type ListFHIRImportJobsOutput struct { _ struct{} `type:"structure"` // The properties of a listed FHIR import jobs, including the ID, ARN, name, - // and the status of the job. + // the status of the job, and the progress report of the job. // // ImportJobPropertiesList is a required field ImportJobPropertiesList []*ImportJobProperties `type:"list" required:"true"` diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 2f26751fda4..77c47f90348 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -9180,7 +9180,8 @@ func (s *CognitoOptionsStatus) SetStatus(v *OptionStatus) *CognitoOptionsStatus type ColdStorageOptions struct { _ struct{} `type:"structure"` - // Whether to enable or disable cold storage on the domain. + // Whether to enable or disable cold storage on the domain. You must enable + // UltraWarm storage to enable cold storage. // // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` @@ -10937,7 +10938,7 @@ type DescribeDomainAutoTunesOutput struct { AutoTunes []*AutoTune `type:"list"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -11824,7 +11825,7 @@ type DescribeInboundConnectionsOutput struct { Connections []*InboundConnection `type:"list"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -12055,7 +12056,7 @@ type DescribeOutboundConnectionsOutput struct { Connections []*OutboundConnection `type:"list"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -12222,7 +12223,7 @@ type DescribePackagesOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` @@ -12333,7 +12334,7 @@ type DescribeReservedInstanceOfferingsOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` @@ -12444,7 +12445,7 @@ type DescribeReservedInstancesOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` @@ -14747,7 +14748,7 @@ type GetPackageVersionHistoryOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` @@ -14870,7 +14871,7 @@ type GetUpgradeHistoryOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` @@ -15846,7 +15847,7 @@ type ListDomainMaintenancesOutput struct { DomainMaintenances []*DomainMaintenanceDetails `type:"list"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -16026,7 +16027,7 @@ type ListDomainsForPackageOutput struct { DomainPackageDetailsList []*DomainPackageDetails `type:"list"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -16173,7 +16174,7 @@ type ListInstanceTypeDetailsOutput struct { InstanceTypeDetails []*InstanceTypeDetails `type:"list"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -16287,7 +16288,7 @@ type ListPackagesForDomainOutput struct { DomainPackageDetailsList []*DomainPackageDetails `type:"list"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` } @@ -16396,7 +16397,7 @@ type ListScheduledActionsOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` @@ -16566,7 +16567,7 @@ type ListVersionsOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. NextToken *string `type:"string"` @@ -16676,7 +16677,7 @@ type ListVpcEndpointAccessOutput struct { AuthorizedPrincipalList []*AuthorizedPrincipal `type:"list" required:"true"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. // // NextToken is a required field @@ -16777,7 +16778,7 @@ type ListVpcEndpointsForDomainOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. // // NextToken is a required field @@ -16856,7 +16857,7 @@ type ListVpcEndpointsOutput struct { _ struct{} `type:"structure"` // When nextToken is returned, there are more results available. The value of - // nextToken is a unique pagination token for each page. Make the call again + // nextToken is a unique pagination token for each page. Send the request again // using the returned token to retrieve the next page. // // NextToken is a required field @@ -22374,6 +22375,30 @@ const ( // OpenSearchPartitionInstanceTypeT32xlargeSearch is a OpenSearchPartitionInstanceType enum value OpenSearchPartitionInstanceTypeT32xlargeSearch = "t3.2xlarge.search" + // OpenSearchPartitionInstanceTypeOr1MediumSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr1MediumSearch = "or1.medium.search" + + // OpenSearchPartitionInstanceTypeOr1LargeSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr1LargeSearch = "or1.large.search" + + // OpenSearchPartitionInstanceTypeOr1XlargeSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr1XlargeSearch = "or1.xlarge.search" + + // OpenSearchPartitionInstanceTypeOr12xlargeSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr12xlargeSearch = "or1.2xlarge.search" + + // OpenSearchPartitionInstanceTypeOr14xlargeSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr14xlargeSearch = "or1.4xlarge.search" + + // OpenSearchPartitionInstanceTypeOr18xlargeSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr18xlargeSearch = "or1.8xlarge.search" + + // OpenSearchPartitionInstanceTypeOr112xlargeSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr112xlargeSearch = "or1.12xlarge.search" + + // OpenSearchPartitionInstanceTypeOr116xlargeSearch is a OpenSearchPartitionInstanceType enum value + OpenSearchPartitionInstanceTypeOr116xlargeSearch = "or1.16xlarge.search" + // OpenSearchPartitionInstanceTypeUltrawarm1MediumSearch is a OpenSearchPartitionInstanceType enum value OpenSearchPartitionInstanceTypeUltrawarm1MediumSearch = "ultrawarm1.medium.search" @@ -22595,6 +22620,14 @@ func OpenSearchPartitionInstanceType_Values() []string { OpenSearchPartitionInstanceTypeT3LargeSearch, OpenSearchPartitionInstanceTypeT3XlargeSearch, OpenSearchPartitionInstanceTypeT32xlargeSearch, + OpenSearchPartitionInstanceTypeOr1MediumSearch, + OpenSearchPartitionInstanceTypeOr1LargeSearch, + OpenSearchPartitionInstanceTypeOr1XlargeSearch, + OpenSearchPartitionInstanceTypeOr12xlargeSearch, + OpenSearchPartitionInstanceTypeOr14xlargeSearch, + OpenSearchPartitionInstanceTypeOr18xlargeSearch, + OpenSearchPartitionInstanceTypeOr112xlargeSearch, + OpenSearchPartitionInstanceTypeOr116xlargeSearch, OpenSearchPartitionInstanceTypeUltrawarm1MediumSearch, OpenSearchPartitionInstanceTypeUltrawarm1LargeSearch, OpenSearchPartitionInstanceTypeUltrawarm1XlargeSearch, diff --git a/service/opensearchservice/doc.go b/service/opensearchservice/doc.go index e18275bf6ab..1894d664501 100644 --- a/service/opensearchservice/doc.go +++ b/service/opensearchservice/doc.go @@ -4,15 +4,10 @@ // requests to Amazon OpenSearch Service. // // Use the Amazon OpenSearch Service configuration API to create, configure, -// and manage OpenSearch Service domains. -// -// For sample code that uses the configuration API, see the Amazon OpenSearch -// Service Developer Guide (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-configuration-samples.html). -// The guide also contains sample code (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/request-signing.html) -// for sending signed HTTP requests to the OpenSearch APIs. The endpoint for -// configuration service requests is Region specific: es.region.amazonaws.com. -// For example, es.us-east-1.amazonaws.com. For a current list of supported -// Regions and endpoints, see Amazon Web Services service endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions). +// and manage OpenSearch Service domains. The endpoint for configuration service +// requests is Region specific: es.region.amazonaws.com. For example, es.us-east-1.amazonaws.com. +// For a current list of supported Regions and endpoints, see Amazon Web Services +// service endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#service-regions). // // See https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01 for more information on this service. // diff --git a/service/polly/api.go b/service/polly/api.go index 5090e249a41..404213aa57f 100644 --- a/service/polly/api.go +++ b/service/polly/api.go @@ -4431,6 +4431,9 @@ const ( // VoiceIdGregory is a VoiceId enum value VoiceIdGregory = "Gregory" + + // VoiceIdBurcu is a VoiceId enum value + VoiceIdBurcu = "Burcu" ) // VoiceId_Values returns all elements of the VoiceId enum @@ -4531,5 +4534,6 @@ func VoiceId_Values() []string { VoiceIdZayd, VoiceIdDanielle, VoiceIdGregory, + VoiceIdBurcu, } } diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index cfb50629891..5d6fb441b9e 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -27508,7 +27508,7 @@ func (c *SageMaker) UpdateClusterRequest(input *UpdateClusterInput) (req *reques // UpdateCluster API operation for Amazon SageMaker Service. // -// Update a SageMaker HyperPod cluster. +// Updates a SageMaker HyperPod cluster. // // 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 @@ -27552,6 +27552,91 @@ func (c *SageMaker) UpdateClusterWithContext(ctx aws.Context, input *UpdateClust return out, req.Send() } +const opUpdateClusterSoftware = "UpdateClusterSoftware" + +// UpdateClusterSoftwareRequest generates a "aws/request.Request" representing the +// client's request for the UpdateClusterSoftware 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 UpdateClusterSoftware for more information on using the UpdateClusterSoftware +// 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 UpdateClusterSoftwareRequest method. +// req, resp := client.UpdateClusterSoftwareRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateClusterSoftware +func (c *SageMaker) UpdateClusterSoftwareRequest(input *UpdateClusterSoftwareInput) (req *request.Request, output *UpdateClusterSoftwareOutput) { + op := &request.Operation{ + Name: opUpdateClusterSoftware, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateClusterSoftwareInput{} + } + + output = &UpdateClusterSoftwareOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateClusterSoftware API operation for Amazon SageMaker Service. +// +// Updates the platform software of a SageMaker HyperPod cluster for security +// patching. To learn how to use this API, see Update the SageMaker HyperPod +// platform software of a cluster (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-operate.html#sagemaker-hyperpod-operate-cli-command-update-cluster-software). +// +// 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 SageMaker Service's +// API operation UpdateClusterSoftware for usage and error information. +// +// Returned Error Types: +// +// - ResourceNotFound +// Resource being access is not found. +// +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateClusterSoftware +func (c *SageMaker) UpdateClusterSoftware(input *UpdateClusterSoftwareInput) (*UpdateClusterSoftwareOutput, error) { + req, out := c.UpdateClusterSoftwareRequest(input) + return out, req.Send() +} + +// UpdateClusterSoftwareWithContext is the same as UpdateClusterSoftware with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateClusterSoftware 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 *SageMaker) UpdateClusterSoftwareWithContext(ctx aws.Context, input *UpdateClusterSoftwareInput, opts ...request.Option) (*UpdateClusterSoftwareOutput, error) { + req, out := c.UpdateClusterSoftwareRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateCodeRepository = "UpdateCodeRepository" // UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the @@ -94553,9 +94638,12 @@ func (s *ModelAccessConfig) SetAcceptEula(v bool) *ModelAccessConfig { // Provides information about the location that is configured for storing model // artifacts. // -// Model artifacts are the output that results from training a model, and typically +// Model artifacts are outputs that result from training a model. They typically // consist of trained parameters, a model definition that describes how to compute -// inferences, and other metadata. +// inferences, and other metadata. A SageMaker container stores your trained +// model artifacts in the /opt/ml/model directory. After training has completed, +// by default, these artifacts are uploaded to your Amazon S3 bucket as compressed +// files. type ModelArtifacts struct { _ struct{} `type:"structure"` @@ -120127,6 +120215,87 @@ func (s *UpdateClusterOutput) SetClusterArn(v string) *UpdateClusterOutput { return s } +type UpdateClusterSoftwareInput struct { + _ struct{} `type:"structure"` + + // Specify the name or the Amazon Resource Name (ARN) of the SageMaker HyperPod + // cluster you want to update for security patching. + // + // ClusterName is a required field + ClusterName *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateClusterSoftwareInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateClusterSoftwareInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateClusterSoftwareInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateClusterSoftwareInput"} + if s.ClusterName == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClusterName sets the ClusterName field's value. +func (s *UpdateClusterSoftwareInput) SetClusterName(v string) *UpdateClusterSoftwareInput { + s.ClusterName = &v + return s +} + +type UpdateClusterSoftwareOutput struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster being updated + // for security patching. + // + // ClusterArn is a required field + ClusterArn *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateClusterSoftwareOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateClusterSoftwareOutput) GoString() string { + return s.String() +} + +// SetClusterArn sets the ClusterArn field's value. +func (s *UpdateClusterSoftwareOutput) SetClusterArn(v string) *UpdateClusterSoftwareOutput { + s.ClusterArn = &v + return s +} + type UpdateCodeRepositoryInput struct { _ struct{} `type:"structure"` diff --git a/service/sagemaker/sagemakeriface/interface.go b/service/sagemaker/sagemakeriface/interface.go index c434d6e5383..04af38694ff 100644 --- a/service/sagemaker/sagemakeriface/interface.go +++ b/service/sagemaker/sagemakeriface/interface.go @@ -1430,6 +1430,10 @@ type SageMakerAPI interface { UpdateClusterWithContext(aws.Context, *sagemaker.UpdateClusterInput, ...request.Option) (*sagemaker.UpdateClusterOutput, error) UpdateClusterRequest(*sagemaker.UpdateClusterInput) (*request.Request, *sagemaker.UpdateClusterOutput) + UpdateClusterSoftware(*sagemaker.UpdateClusterSoftwareInput) (*sagemaker.UpdateClusterSoftwareOutput, error) + UpdateClusterSoftwareWithContext(aws.Context, *sagemaker.UpdateClusterSoftwareInput, ...request.Option) (*sagemaker.UpdateClusterSoftwareOutput, error) + UpdateClusterSoftwareRequest(*sagemaker.UpdateClusterSoftwareInput) (*request.Request, *sagemaker.UpdateClusterSoftwareOutput) + UpdateCodeRepository(*sagemaker.UpdateCodeRepositoryInput) (*sagemaker.UpdateCodeRepositoryOutput, error) UpdateCodeRepositoryWithContext(aws.Context, *sagemaker.UpdateCodeRepositoryInput, ...request.Option) (*sagemaker.UpdateCodeRepositoryOutput, error) UpdateCodeRepositoryRequest(*sagemaker.UpdateCodeRepositoryInput) (*request.Request, *sagemaker.UpdateCodeRepositoryOutput) diff --git a/service/secretsmanager/api.go b/service/secretsmanager/api.go index 4ecf04d96d4..b57e57dfd0f 100644 --- a/service/secretsmanager/api.go +++ b/service/secretsmanager/api.go @@ -1385,9 +1385,9 @@ func (c *SecretsManager) ListSecretsRequest(input *ListSecretsInput) (req *reque // account, not including secrets that are marked for deletion. To see secrets // marked for deletion, use the Secrets Manager console. // -// ListSecrets is eventually consistent, however it might not reflect changes -// from the last five minutes. To get the latest information for a specific -// secret, use DescribeSecret. +// All Secrets Manager operations are eventually consistent. ListSecrets might +// not reflect changes from the last five minutes. You can get more recent information +// for a specific secret by calling DescribeSecret. // // To list the versions of a secret, use ListSecretVersionIds. // @@ -4028,7 +4028,9 @@ type DescribeSecretOutput struct { // The next rotation is scheduled to occur on or before this date. If the secret // isn't configured for rotation or rotation has been disabled, Secrets Manager - // returns null. + // returns null. If rotation fails, Secrets Manager retries the entire rotation + // process multiple times. If rotation is unsuccessful, this date may be in + // the past. NextRotationDate *time.Time `type:"timestamp"` // The ID of the service that created this secret. For more information, see