diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c7b97402d2..e85d9ee8daf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.44.112 (2022-10-05) +=== + +### Service Client Updates +* `service/glue`: Updates service API and documentation + * This SDK release adds support to sync glue jobs with source control provider. Additionally, a new parameter called SourceControlDetails will be added to Job model. +* `service/network-firewall`: Updates service API and documentation +* `service/outposts`: Updates service API and documentation + Release v1.44.111 (2022-10-04) === diff --git a/aws/version.go b/aws/version.go index 5533b0a0619..f22b16a9f72 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.44.111" +const SDKVersion = "1.44.112" diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json index 05e29d28ee1..fe4c488864e 100644 --- a/models/apis/glue/2017-03-31/api-2.json +++ b/models/apis/glue/2017-03-31/api-2.json @@ -2737,6 +2737,24 @@ {"shape":"ConcurrentModificationException"} ] }, + "UpdateJobFromSourceControl":{ + "name":"UpdateJobFromSourceControl", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateJobFromSourceControlRequest"}, + "output":{"shape":"UpdateJobFromSourceControlResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"AlreadyExistsException"}, + {"shape":"InvalidInputException"}, + {"shape":"ValidationException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"} + ] + }, "UpdateMLTransform":{ "name":"UpdateMLTransform", "http":{ @@ -2801,6 +2819,24 @@ {"shape":"InternalServiceException"} ] }, + "UpdateSourceControlFromJob":{ + "name":"UpdateSourceControlFromJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateSourceControlFromJobRequest"}, + "output":{"shape":"UpdateSourceControlFromJobResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"AlreadyExistsException"}, + {"shape":"InvalidInputException"}, + {"shape":"ValidationException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"InternalServiceException"}, + {"shape":"OperationTimeoutException"} + ] + }, "UpdateTable":{ "name":"UpdateTable", "http":{ @@ -3016,6 +3052,12 @@ "max":2048, "min":0 }, + "AuthTokenString":{ + "type":"string", + "max":255, + "min":1, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*" + }, "BackfillError":{ "type":"structure", "members":{ @@ -4006,6 +4048,12 @@ "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*" }, + "CommitIdString":{ + "type":"string", + "max":40, + "min":1, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*" + }, "Comparator":{ "type":"string", "enum":[ @@ -4590,7 +4638,8 @@ "NumberOfWorkers":{"shape":"NullableInteger"}, "WorkerType":{"shape":"WorkerType"}, "CodeGenConfigurationNodes":{"shape":"CodeGenConfigurationNodes"}, - "ExecutionClass":{"shape":"ExecutionClass"} + "ExecutionClass":{"shape":"ExecutionClass"}, + "SourceControlDetails":{"shape":"SourceControlDetails"} } }, "CreateJobResponse":{ @@ -7424,7 +7473,8 @@ "NotificationProperty":{"shape":"NotificationProperty"}, "GlueVersion":{"shape":"GlueVersionString"}, "CodeGenConfigurationNodes":{"shape":"CodeGenConfigurationNodes"}, - "ExecutionClass":{"shape":"ExecutionClass"} + "ExecutionClass":{"shape":"ExecutionClass"}, + "SourceControlDetails":{"shape":"SourceControlDetails"} } }, "JobBookmarkEntry":{ @@ -7552,7 +7602,8 @@ "NotificationProperty":{"shape":"NotificationProperty"}, "GlueVersion":{"shape":"GlueVersionString"}, "CodeGenConfigurationNodes":{"shape":"CodeGenConfigurationNodes"}, - "ExecutionClass":{"shape":"ExecutionClass"} + "ExecutionClass":{"shape":"ExecutionClass"}, + "SourceControlDetails":{"shape":"SourceControlDetails"} } }, "Join":{ @@ -9705,6 +9756,33 @@ "ASCENDING" ] }, + "SourceControlAuthStrategy":{ + "type":"string", + "enum":[ + "PERSONAL_ACCESS_TOKEN", + "AWS_SECRETS_MANAGER" + ] + }, + "SourceControlDetails":{ + "type":"structure", + "members":{ + "Provider":{"shape":"SourceControlProvider"}, + "Repository":{"shape":"Generic512CharString"}, + "Owner":{"shape":"Generic512CharString"}, + "Branch":{"shape":"Generic512CharString"}, + "Folder":{"shape":"Generic512CharString"}, + "LastCommitId":{"shape":"Generic512CharString"}, + "AuthStrategy":{"shape":"SourceControlAuthStrategy"}, + "AuthToken":{"shape":"Generic512CharString"} + } + }, + "SourceControlProvider":{ + "type":"string", + "enum":[ + "GITHUB", + "AWS_CODE_COMMIT" + ] + }, "SparkConnectorSource":{ "type":"structure", "required":[ @@ -10797,6 +10875,26 @@ "CustomPatterns":{"shape":"CustomPatterns"} } }, + "UpdateJobFromSourceControlRequest":{ + "type":"structure", + "members":{ + "JobName":{"shape":"NameString"}, + "Provider":{"shape":"SourceControlProvider"}, + "RepositoryName":{"shape":"NameString"}, + "RepositoryOwner":{"shape":"NameString"}, + "BranchName":{"shape":"NameString"}, + "Folder":{"shape":"NameString"}, + "CommitId":{"shape":"CommitIdString"}, + "AuthStrategy":{"shape":"SourceControlAuthStrategy"}, + "AuthToken":{"shape":"AuthTokenString"} + } + }, + "UpdateJobFromSourceControlResponse":{ + "type":"structure", + "members":{ + "JobName":{"shape":"NameString"} + } + }, "UpdateJobRequest":{ "type":"structure", "required":[ @@ -10902,6 +11000,26 @@ "RegistryName":{"shape":"SchemaRegistryNameString"} } }, + "UpdateSourceControlFromJobRequest":{ + "type":"structure", + "members":{ + "JobName":{"shape":"NameString"}, + "Provider":{"shape":"SourceControlProvider"}, + "RepositoryName":{"shape":"NameString"}, + "RepositoryOwner":{"shape":"NameString"}, + "BranchName":{"shape":"NameString"}, + "Folder":{"shape":"NameString"}, + "CommitId":{"shape":"CommitIdString"}, + "AuthStrategy":{"shape":"SourceControlAuthStrategy"}, + "AuthToken":{"shape":"AuthTokenString"} + } + }, + "UpdateSourceControlFromJobResponse":{ + "type":"structure", + "members":{ + "JobName":{"shape":"NameString"} + } + }, "UpdateTableRequest":{ "type":"structure", "required":[ diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json index 637b5fc3194..668320281ed 100644 --- a/models/apis/glue/2017-03-31/docs-2.json +++ b/models/apis/glue/2017-03-31/docs-2.json @@ -178,10 +178,12 @@ "UpdateDatabase": "
Updates an existing database definition in a Data Catalog.
", "UpdateDevEndpoint": "Updates a specified development endpoint.
", "UpdateJob": "Updates an existing job definition. The previous job definition is completely overwritten by this information.
", + "UpdateJobFromSourceControl": "Synchronizes a job from the source control repository. This operation takes the job artifacts that are located in the remote repository and updates the Glue internal stores with these artifacts.
This API supports optional parameters which take in the repository information.
", "UpdateMLTransform": "Updates an existing machine learning transform. Call this operation to tune the algorithm parameters to achieve better results.
After calling this operation, you can call the StartMLEvaluationTaskRun
operation to assess how well your new parameters achieved your goals (such as improving the quality of your machine learning transform, or making it more cost-effective).
Updates a partition.
", "UpdateRegistry": "Updates an existing registry which is used to hold a collection of schemas. The updated properties relate to the registry, and do not modify any of the schemas within the registry.
", "UpdateSchema": "Updates the description, compatibility setting, or version checkpoint for a schema set.
For updating the compatibility setting, the call will not validate compatibility for the entire set of schema versions with the new compatibility setting. If the value for Compatibility
is provided, the VersionNumber
(a checkpoint) is also required. The API will validate the checkpoint version number for consistency.
If the value for the VersionNumber
(checkpoint) is provided, Compatibility
is optional and this can be used to set/reset a checkpoint for the schema.
This update will happen only if the schema is in the AVAILABLE state.
", + "UpdateSourceControlFromJob": "Synchronizes a job to the source control repository. This operation takes the job artifacts from the Glue internal stores and makes a commit to the remote repository that is configured on the job.
This API supports optional parameters which take in the repository information.
", "UpdateTable": "Updates a metadata table in the Data Catalog.
", "UpdateTrigger": "Updates a trigger definition.
", "UpdateUserDefinedFunction": "Updates an existing function definition in the Data Catalog.
", @@ -294,6 +296,13 @@ "AuditContext$AdditionalAuditContext": "The context for the audit..
" } }, + "AuthTokenString": { + "base": null, + "refs": { + "UpdateJobFromSourceControlRequest$AuthToken": "The value of the authorization token.
", + "UpdateSourceControlFromJobRequest$AuthToken": "The value of the authorization token.
" + } + }, "BackfillError": { "base": "A list of errors that can occur when registering partition indexes for an existing table.
These errors give the details about why an index registration failed and provide a limited number of partitions in the response, so that you can fix the partitions at fault and try registering the index again. The most common set of errors that can occur are categorized as follows:
EncryptedPartitionError: The partitions are encrypted.
InvalidPartitionTypeDataError: The partition value doesn't match the data type for that partition column.
MissingPartitionValueError: The partitions are encrypted.
UnsupportedPartitionCharacterError: Characters inside the partition value are not supported. For example: U+0000 , U+0001, U+0002.
InternalError: Any error which does not belong to other error codes.
A free-form text comment.
" } }, + "CommitIdString": { + "base": null, + "refs": { + "UpdateJobFromSourceControlRequest$CommitId": "A commit ID for a commit in the remote repository.
", + "UpdateSourceControlFromJobRequest$CommitId": "A commit ID for a commit in the remote repository.
" + } + }, "Comparator": { "base": null, "refs": { @@ -2724,6 +2740,12 @@ "Blueprint$Description": "The description of the blueprint.
", "CreateBlueprintRequest$Description": "A description of the blueprint.
", "LastActiveDefinition$Description": "The description of the blueprint.
", + "SourceControlDetails$Repository": "The name of the remote repository that contains the job artifacts.
", + "SourceControlDetails$Owner": "The owner of the remote repository that contains the job artifacts.
", + "SourceControlDetails$Branch": "An optional branch in the remote repository.
", + "SourceControlDetails$Folder": "An optional folder in the remote repository.
", + "SourceControlDetails$LastCommitId": "The last commit ID for a commit in the remote repository.
", + "SourceControlDetails$AuthToken": "The value of an authorization token.
", "UpdateBlueprintRequest$Description": "A description of the blueprint.
" } }, @@ -4829,12 +4851,24 @@ "UpdateCsvClassifierRequest$Name": "The name of the classifier.
", "UpdateDatabaseRequest$Name": "The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
", "UpdateGrokClassifierRequest$Name": "The name of the GrokClassifier
.
The name of the Glue job to be synchronized to or from the remote repository.
", + "UpdateJobFromSourceControlRequest$RepositoryName": "The name of the remote repository that contains the job artifacts.
", + "UpdateJobFromSourceControlRequest$RepositoryOwner": "The owner of the remote repository that contains the job artifacts.
", + "UpdateJobFromSourceControlRequest$BranchName": "An optional branch in the remote repository.
", + "UpdateJobFromSourceControlRequest$Folder": "An optional folder in the remote repository.
", + "UpdateJobFromSourceControlResponse$JobName": "The name of the Glue job.
", "UpdateJobRequest$JobName": "The name of the job definition to update.
", "UpdateJobResponse$JobName": "Returns the name of the updated job definition.
", "UpdateJsonClassifierRequest$Name": "The name of the classifier.
", "UpdateMLTransformRequest$Name": "The unique name that you gave the transform when you created it.
", "UpdatePartitionRequest$DatabaseName": "The name of the catalog database in which the table in question resides.
", "UpdatePartitionRequest$TableName": "The name of the table in which the partition to be updated is located.
", + "UpdateSourceControlFromJobRequest$JobName": "The name of the Glue job to be synchronized to or from the remote repository.
", + "UpdateSourceControlFromJobRequest$RepositoryName": "The name of the remote repository that contains the job artifacts.
", + "UpdateSourceControlFromJobRequest$RepositoryOwner": "The owner of the remote repository that contains the job artifacts.
", + "UpdateSourceControlFromJobRequest$BranchName": "An optional branch in the remote repository.
", + "UpdateSourceControlFromJobRequest$Folder": "An optional folder in the remote repository.
", + "UpdateSourceControlFromJobResponse$JobName": "The name of the Glue job.
", "UpdateTableRequest$DatabaseName": "The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
", "UpdateTriggerRequest$Name": "The name of the trigger to update.
", "UpdateUserDefinedFunctionRequest$DatabaseName": "The name of the catalog database where the function to be updated is located.
", @@ -6347,6 +6381,30 @@ "TransformSortCriteria$SortDirection": "The sort direction to be used in the sorting criteria that are associated with the machine learning transform.
" } }, + "SourceControlAuthStrategy": { + "base": null, + "refs": { + "SourceControlDetails$AuthStrategy": "The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
", + "UpdateJobFromSourceControlRequest$AuthStrategy": "The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
", + "UpdateSourceControlFromJobRequest$AuthStrategy": "The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
" + } + }, + "SourceControlDetails": { + "base": "The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
", + "refs": { + "CreateJobRequest$SourceControlDetails": "The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
", + "Job$SourceControlDetails": "The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
", + "JobUpdate$SourceControlDetails": "The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
" + } + }, + "SourceControlProvider": { + "base": null, + "refs": { + "SourceControlDetails$Provider": "The provider for the remote repository.
", + "UpdateJobFromSourceControlRequest$Provider": "The provider for the remote repository.
", + "UpdateSourceControlFromJobRequest$Provider": "The provider for the remote repository.
" + } + }, "SparkConnectorSource": { "base": "Specifies a connector to an Apache Spark data source.
", "refs": { @@ -7285,6 +7343,16 @@ "UpdateClassifierRequest$GrokClassifier": "A GrokClassifier
object with updated fields.
This is the API Reference for Network Firewall. This guide is for developers who need detailed information about the Network Firewall API actions, data types, and errors.
The REST API requires you to handle connection details, such as calculating signatures, handling request retries, and error handling. For general information about using the Amazon Web Services REST APIs, see Amazon Web Services APIs.
To access Network Firewall using the REST API endpoint: https://network-firewall.<region>.amazonaws.com
Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs.
For descriptions of Network Firewall features, including and step-by-step instructions on how to use them through the Network Firewall console, see the Network Firewall Developer Guide.
Network Firewall is a stateful, managed, network firewall and intrusion detection and prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the perimeter of your VPC. This includes filtering traffic going to and coming from an internet gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible with Suricata, a free, open source intrusion detection system (IDS) engine. Network Firewall supports Suricata version 5.0.2. For information about Suricata, see the Suricata website.
You can use Network Firewall to monitor and protect your VPC traffic in a number of ways. The following are just a few examples:
Allow domains or IP addresses for known Amazon Web Services service endpoints, such as Amazon S3, and block all other forms of traffic.
Use custom lists of known bad domains to limit the types of domain names that your applications can access.
Perform deep packet inspection on traffic entering or leaving your VPC.
Use stateful protocol detection to filter protocols like HTTPS, regardless of the port used.
To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.
To start using Network Firewall, do the following:
(Optional) If you don't already have a VPC that you want to protect, create it in Amazon VPC.
In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a subnet for the sole use of Network Firewall.
In Network Firewall, create stateless and stateful rule groups, to define the components of the network traffic filtering behavior that you want your firewall to have.
In Network Firewall, create a firewall policy that uses your rule groups and specifies additional default traffic filtering behavior.
In Network Firewall, create a firewall and specify your new firewall policy and VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you specify, with the behavior that's defined in the firewall policy.
In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall endpoints.
This is the API Reference for Network Firewall. This guide is for developers who need detailed information about the Network Firewall API actions, data types, and errors.
The REST API requires you to handle connection details, such as calculating signatures, handling request retries, and error handling. For general information about using the Amazon Web Services REST APIs, see Amazon Web Services APIs.
To access Network Firewall using the REST API endpoint: https://network-firewall.<region>.amazonaws.com
Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs.
For descriptions of Network Firewall features, including and step-by-step instructions on how to use them through the Network Firewall console, see the Network Firewall Developer Guide.
Network Firewall is a stateful, managed, network firewall and intrusion detection and prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the perimeter of your VPC. This includes filtering traffic going to and coming from an internet gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible with Suricata, a free, open source network analysis and threat detection engine. Network Firewall supports Suricata version 5.0.2. For information about Suricata, see the Suricata website.
You can use Network Firewall to monitor and protect your VPC traffic in a number of ways. The following are just a few examples:
Allow domains or IP addresses for known Amazon Web Services service endpoints, such as Amazon S3, and block all other forms of traffic.
Use custom lists of known bad domains to limit the types of domain names that your applications can access.
Perform deep packet inspection on traffic entering or leaving your VPC.
Use stateful protocol detection to filter protocols like HTTPS, regardless of the port used.
To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.
To start using Network Firewall, do the following:
(Optional) If you don't already have a VPC that you want to protect, create it in Amazon VPC.
In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a subnet for the sole use of Network Firewall.
In Network Firewall, create stateless and stateful rule groups, to define the components of the network traffic filtering behavior that you want your firewall to have.
In Network Firewall, create a firewall policy that uses your rule groups and specifies additional default traffic filtering behavior.
In Network Firewall, create a firewall and specify your new firewall policy and VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you specify, with the behavior that's defined in the firewall policy.
In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall endpoints.
Associates a FirewallPolicy to a Firewall.
A firewall policy defines how to monitor and manage your VPC network traffic, using a collection of inspection rule groups and other settings. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.
", "AssociateSubnets": "Associates the specified subnets in the Amazon VPC to the firewall. You can specify one subnet for each of the Availability Zones that the VPC spans.
This request creates an Network Firewall firewall endpoint in each of the subnets. To enable the firewall's protections, you must also modify the VPC's route tables for each subnet's Availability Zone, to redirect the traffic that's coming into and going out of the zone through the firewall endpoint.
", @@ -1129,7 +1129,7 @@ } }, "StatefulRule": { - "base": "A single Suricata rules specification, for use in a stateful rule group. Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules
format, see Rules Format.
A single Suricata rules specification, for use in a stateful rule group. Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules
format, see Rules Format.
An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules
format, see Rules Format.
An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules
format, see Rules Format.
Stateless inspection criteria to be used in a stateless rule group.
" } }, + "StreamExceptionPolicy": { + "base": null, + "refs": { + "StatefulEngineOptions$StreamExceptionPolicy": "Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.
DROP
- Network Firewall fails closed and drops all subsequent traffic going to the firewall. This is the default behavior.
CONTINUE
- Network Firewall continues to apply rules to the subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on this context. For example, if you have a stateful rule to drop http
traffic, Network Firewall won't match the traffic for this rule because the service won't have the context from session initialization defining the application layer protocol as HTTP. However, this behavior is rule dependent—a TCP-layer rule using a flow:stateless
rule would still match, as would the aws:drop_strict
default action.
The ID for a subnet that you want to associate with the firewall. This is used with CreateFirewall and AssociateSubnets. Network Firewall creates an instance of the associated firewall in each subnet that you specify, to filter traffic in the subnet's Availability Zone.
", "refs": { diff --git a/models/apis/outposts/2019-12-03/api-2.json b/models/apis/outposts/2019-12-03/api-2.json index 7aec566142e..f924f5ca247 100644 --- a/models/apis/outposts/2019-12-03/api-2.json +++ b/models/apis/outposts/2019-12-03/api-2.json @@ -502,6 +502,13 @@ "RackElevation":{"shape":"RackElevation"} } }, + "AssetState":{ + "type":"string", + "enum":[ + "ACTIVE", + "RETIRING" + ] + }, "AssetType":{ "type":"string", "enum":["COMPUTE"] @@ -608,10 +615,19 @@ "type":"list", "member":{"shape":"City"} }, + "ComputeAssetState":{ + "type":"string", + "enum":[ + "ACTIVE", + "ISOLATED", + "RETIRING" + ] + }, "ComputeAttributes":{ "type":"structure", "members":{ - "HostId":{"shape":"HostId"} + "HostId":{"shape":"HostId"}, + "State":{"shape":"ComputeAssetState"} } }, "ConflictException":{ @@ -1077,6 +1093,11 @@ "shape":"Token", "location":"querystring", "locationName":"NextToken" + }, + "StatusFilter":{ + "shape":"StatusList", + "location":"querystring", + "locationName":"StatusFilter" } } }, @@ -1431,7 +1452,10 @@ }, "PaymentTerm":{ "type":"string", - "enum":["THREE_YEARS"] + "enum":[ + "THREE_YEARS", + "ONE_YEAR" + ] }, "PostalCode":{ "type":"string", @@ -1618,6 +1642,12 @@ "type":"list", "member":{"shape":"StateOrRegion"} }, + "StatusList":{ + "type":"list", + "member":{"shape":"AssetState"}, + "max":2, + "min":1 + }, "String":{ "type":"string", "max":1000, diff --git a/models/apis/outposts/2019-12-03/docs-2.json b/models/apis/outposts/2019-12-03/docs-2.json index ca3a01fe654..97f140acd2a 100644 --- a/models/apis/outposts/2019-12-03/docs-2.json +++ b/models/apis/outposts/2019-12-03/docs-2.json @@ -2,31 +2,31 @@ "version": "2.0", "service": "Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables customers to build and run applications on premises using the same programming interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local data processing needs.
", "operations": { - "CancelOrder": "Cancels an order for an Outpost.
", + "CancelOrder": "Cancels the specified order for an Outpost.
", "CreateOrder": "Creates an order for an Outpost.
", - "CreateOutpost": "Creates an Outpost.
You can specify AvailabilityZone
or AvailabilityZoneId
.
Creates an Outpost.
You can specify either an Availability one or an AZ ID.
", "CreateSite": "Creates a site for an Outpost.
", - "DeleteOutpost": "Deletes the Outpost.
", - "DeleteSite": "Deletes the site.
", - "GetCatalogItem": "Gets information about a catalog item.
", - "GetConnection": "Amazon Web Services uses this action to install Outpost servers.
Gets information about a specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
", - "GetOrder": "Gets an order.
", + "DeleteOutpost": "Deletes the specified Outpost.
", + "DeleteSite": "Deletes the specified site.
", + "GetCatalogItem": "Gets information about the specified catalog item.
", + "GetConnection": "Amazon Web Services uses this action to install Outpost servers.
Gets information about the specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
", + "GetOrder": "Gets information about the specified order.
", "GetOutpost": "Gets information about the specified Outpost.
", "GetOutpostInstanceTypes": "Gets the instance types for the specified Outpost.
", - "GetSite": "Gets information about the specified Outpost site.
", - "GetSiteAddress": "Gets the site address.
", - "ListAssets": "Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware assets that allocate resources for Dedicated Hosts.
", - "ListCatalogItems": "Lists the items in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family.
If you specify multiple filters, the filters are joined with an AND
, and the request returns only results that match all of the specified filters.
Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results.
", - "ListOutposts": "Lists the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (us-east-1a
), and AZ ID (use1-az1
).
If you specify multiple filters, the filters are joined with an AND
, and the request returns only results that match all of the specified filters.
Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address.
If you specify multiple filters, the filters are joined with an AND
, and the request returns only results that match all of the specified filters.
Gets information about the specified Outpost site.
", + "GetSiteAddress": "Gets the site address of the specified site.
", + "ListAssets": "Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", + "ListCatalogItems": "Lists the items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", + "ListOrders": "Lists the Outpost orders for your Amazon Web Services account.
", + "ListOutposts": "Lists the Outposts for your Amazon Web Services account.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", + "ListSites": "Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
", "ListTagsForResource": "Lists the tags for the specified resource.
", "StartConnection": "Amazon Web Services uses this action to install Outpost servers.
Starts the connection required for Outpost server installation.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
", "TagResource": "Adds tags to the specified resource.
", "UntagResource": "Removes tags from the specified resource.
", "UpdateOutpost": "Updates an Outpost.
", - "UpdateSite": "Updates the site.
", - "UpdateSiteAddress": "Updates the site address.
To update a site address with an order IN_PROGRESS
, you must wait for the order to complete or cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
", + "UpdateSite": "Updates the specified site.
", + "UpdateSiteAddress": "Updates the address of the specified site.
You can't update a site address if there is an order in progress. You must wait for the order to complete or cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
", "UpdateSiteRackPhysicalProperties": "Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.
To update a rack at a site with an order of IN_PROGRESS
, you must wait for the order to complete or cancel the order.
The type of the address you request.
", - "GetSiteAddressOutput$AddressType": "The type of the address you receive.
", + "GetSiteAddressInput$AddressType": "The type of the address you request.
", + "GetSiteAddressOutput$AddressType": "The type of the address you receive.
", "UpdateSiteAddressInput$AddressType": "The type of the address.
", "UpdateSiteAddressOutput$AddressType": "The type of the address.
" } @@ -103,7 +103,7 @@ "AssetListDefinition": { "base": null, "refs": { - "ListAssetsOutput$Assets": "Information about hardware assets.
" + "ListAssetsOutput$Assets": "Information about the hardware assets.
" } }, "AssetLocation": { @@ -112,6 +112,12 @@ "AssetInfo$AssetLocation": "The position of an asset in a rack.
" } }, + "AssetState": { + "base": null, + "refs": { + "StatusList$member": null + } + }, "AssetType": { "base": null, "refs": { @@ -137,13 +143,13 @@ "AvailabilityZoneIdList": { "base": null, "refs": { - "ListOutpostsInput$AvailabilityZoneIdFilter": " A filter for the AZ IDs (use1-az1
) of the Outpost.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by AZ ID (for example, use1-az1
).
A filter for the Availability Zone (us-east-1a
) of the Outpost.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by Availability Zone (for example, us-east-1a
).
A filter for the class of items in the catalog.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by item class.
" } }, "CatalogItemListDefinition": { @@ -224,7 +230,13 @@ "CityList": { "base": null, "refs": { - "ListSitesInput$OperatingAddressCityFilter": "A filter for the city of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by city.
" + } + }, + "ComputeAssetState": { + "base": null, + "refs": { + "ComputeAttributes$State": "The state.
ACTIVE - The asset is available and can provide capacity for new compute resources.
ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.
Information about a connection.
", "refs": { - "GetConnectionResponse$ConnectionDetails": "Information about a connection.
" + "GetConnectionResponse$ConnectionDetails": "Information about the connection.
" } }, "ConnectionId": { "base": null, "refs": { - "GetConnectionRequest$ConnectionId": "The ID of the connection you request.
", - "GetConnectionResponse$ConnectionId": "The ID of the connection you receive.
", + "GetConnectionRequest$ConnectionId": "The ID of the connection.
", + "GetConnectionResponse$ConnectionId": "The ID of the connection.
", "StartConnectionResponse$ConnectionId": "The ID of the connection.
" } }, @@ -275,7 +287,7 @@ "CountryCodeList": { "base": null, "refs": { - "ListSitesInput$OperatingAddressCountryCodeFilter": "A filter for the country code of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by country code.
" } }, "CreateOrderInput": { @@ -355,7 +367,7 @@ "EC2FamilyList": { "base": null, "refs": { - "ListCatalogItemsInput$EC2FamilyFilter": "A filter for EC2 family options for items in the catalog.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by EC2 family (for example, M5).
" } }, "ErrorMessage": { @@ -380,7 +392,7 @@ "base": null, "refs": { "RackPhysicalProperties$FiberOpticCableType": "The type of fiber used to attach the Outpost to the network.
", - "UpdateSiteRackPhysicalPropertiesInput$FiberOpticCableType": "Specify the type of fiber that you will use to attach the Outpost to your network.
" + "UpdateSiteRackPhysicalPropertiesInput$FiberOpticCableType": "The type of fiber that you will use to attach the Outpost to your network.
" } }, "GetCatalogItemInput": { @@ -456,14 +468,14 @@ "HostId": { "base": null, "refs": { - "ComputeAttributes$HostId": "The host ID of any Dedicated Hosts on the asset.
", + "ComputeAttributes$HostId": "The host ID of the Dedicated Host on the asset.
", "HostIdList$member": null } }, "HostIdList": { "base": null, "refs": { - "ListAssetsInput$HostIdFilter": "A filter for the host ID of Dedicated Hosts on the Outpost.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by the host ID of a Dedicated Host.
" } }, "ISO8601Timestamp": { @@ -471,8 +483,8 @@ "refs": { "Order$OrderSubmissionDate": "The submission date for the order.
", "Order$OrderFulfilledDate": "The fulfillment date of the order.
", - "OrderSummary$OrderSubmissionDate": "Submission date for the order.
", - "OrderSummary$OrderFulfilledDate": "Fulfilment date for the order.
" + "OrderSummary$OrderSubmissionDate": "The submission date for the order.
", + "OrderSummary$OrderFulfilledDate": "The fulfilment date for the order.
" } }, "InstanceType": { @@ -508,7 +520,7 @@ "LifeCycleStatusList": { "base": null, "refs": { - "ListOutpostsInput$LifeCycleStatusFilter": "A filter for the lifecycle status of the Outpost.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by the lifecycle status.
" } }, "LineItem": { @@ -643,7 +655,7 @@ "MacAddressList": { "base": null, "refs": { - "LineItemAssetInformation$MacAddressList": "MAC addresses of the asset.
" + "LineItemAssetInformation$MacAddressList": "The MAC addresses of the asset.
" } }, "MaxResults1000": { @@ -667,7 +679,7 @@ "base": null, "refs": { "RackPhysicalProperties$MaximumSupportedWeightLbs": "The maximum rack weight that this site can support. NO_LIMIT
is over 2000 lbs (907 kg).
Specify the maximum rack weight that this site can support. NO_LIMIT
is over 2000lbs.
The maximum rack weight that this site can support. NO_LIMIT
is over 2000lbs.
The type of optical standard used to attach the Outpost to the network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.
", - "UpdateSiteRackPhysicalPropertiesInput$OpticalStandard": "Specify the type of optical standard that you will use to attach the Outpost to your network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.
OPTIC_10GBASE_SR
: 10GBASE-SR
OPTIC_10GBASE_IR
: 10GBASE-IR
OPTIC_10GBASE_LR
: 10GBASE-LR
OPTIC_40GBASE_SR
: 40GBASE-SR
OPTIC_40GBASE_ESR
: 40GBASE-ESR
OPTIC_40GBASE_IR4_LR4L
: 40GBASE-IR (LR4L)
OPTIC_40GBASE_LR4
: 40GBASE-LR4
OPTIC_100GBASE_SR4
: 100GBASE-SR4
OPTIC_100GBASE_CWDM4
: 100GBASE-CWDM4
OPTIC_100GBASE_LR4
: 100GBASE-LR4
OPTIC_100G_PSM4_MSA
: 100G PSM4 MSA
OPTIC_1000BASE_LX
: 1000Base-LX
OPTIC_1000BASE_SX
: 1000Base-SX
The type of optical standard that you will use to attach the Outpost to your network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.
OPTIC_10GBASE_SR
: 10GBASE-SR
OPTIC_10GBASE_IR
: 10GBASE-IR
OPTIC_10GBASE_LR
: 10GBASE-LR
OPTIC_40GBASE_SR
: 40GBASE-SR
OPTIC_40GBASE_ESR
: 40GBASE-ESR
OPTIC_40GBASE_IR4_LR4L
: 40GBASE-IR (LR4L)
OPTIC_40GBASE_LR4
: 40GBASE-LR4
OPTIC_100GBASE_SR4
: 100GBASE-SR4
OPTIC_100GBASE_CWDM4
: 100GBASE-CWDM4
OPTIC_100GBASE_LR4
: 100GBASE-LR4
OPTIC_100G_PSM4_MSA
: 100G PSM4 MSA
OPTIC_1000BASE_LX
: 1000Base-LX
OPTIC_1000BASE_SX
: 1000Base-SX
The ID of the order to cancel.
", + "CancelOrderInput$OrderId": "The ID of the order.
", "GetOrderInput$OrderId": "The ID of the order.
", "Order$OrderId": "The ID of the order.
", "OrderSummary$OrderId": "The ID of the order.
" @@ -713,7 +725,7 @@ "OrderStatus": { "base": null, "refs": { - "Order$Status": "The status of the order.
PREPARING
- Order is received and being prepared.
IN_PROGRESS
- Order is either being built, shipped, or installed. To get more details, see the LineItem
status.
COMPLETED
- Order is complete.
CANCELLED
- Order is cancelled.
ERROR
- Customer should contact support.
The following status are deprecated: RECEIVED
, PENDING
, PROCESSING
, INSTALLING
, and FULFILLED
.
The status of the order.
PREPARING
- Order is received and being prepared.
IN_PROGRESS
- Order is either being built, shipped, or installed. To get more details, see the line item status.
COMPLETED
- Order is complete.
CANCELLED
- Order is cancelled.
ERROR
- Customer should contact support.
The following status are deprecated: RECEIVED
, PENDING
, PROCESSING
, INSTALLING
, and FULFILLED
.
The status of the order.
PREPARING
- Order is received and is being prepared.
IN_PROGRESS
- Order is either being built, shipped, or installed. For more information, see the LineItem
status.
COMPLETED
- Order is complete.
CANCELLED
- Order is cancelled.
ERROR
- Customer should contact support.
The following statuses are deprecated: RECEIVED
, PENDING
, PROCESSING
, INSTALLING
, and FULFILLED
.
The ID or the Amazon Resource Name (ARN) of the Outpost.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the Outpost.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the Outpost.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID of the Outpost.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the Outpost.
", + "GetOutpostInput$OutpostId": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", + "GetOutpostInstanceTypesInput$OutpostId": "The ID or the Amazon Resource Name (ARN) of the Outpost.
", + "GetOutpostInstanceTypesOutput$OutpostId": "The ID of the Outpost.
", "Outpost$OutpostId": "The ID of the Outpost.
", - "UpdateOutpostInput$OutpostId": "The ID or the Amazon Resource Name (ARN) of the Outpost.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the Outpost.
" } }, "OutpostIdOnly": { @@ -802,14 +814,14 @@ "PaymentOption": { "base": null, "refs": { - "CreateOrderInput$PaymentOption": "The payment option for the order.
", + "CreateOrderInput$PaymentOption": "The payment option.
", "Order$PaymentOption": "The payment option for the order.
" } }, "PaymentTerm": { "base": null, "refs": { - "CreateOrderInput$PaymentTerm": "The payment terms for the order.
" + "CreateOrderInput$PaymentTerm": "The payment terms.
" } }, "PostalCode": { @@ -822,28 +834,28 @@ "base": null, "refs": { "RackPhysicalProperties$PowerConnector": "The power connector for the hardware.
", - "UpdateSiteRackPhysicalPropertiesInput$PowerConnector": " Specify the power connector that Amazon Web Services should plan to provide for connections to the hardware. Note the correlation between PowerPhase
and PowerConnector
.
Single-phase AC feed
L6-30P – (common in US); 30A; single phase
IEC309 (blue) – P+N+E, 6hr; 32 A; single phase
Three-phase AC feed
AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase
AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase
The power connector that Amazon Web Services should plan to provide for connections to the hardware. Note the correlation between PowerPhase
and PowerConnector
.
Single-phase AC feed
L6-30P – (common in US); 30A; single phase
IEC309 (blue) – P+N+E, 6hr; 32 A; single phase
Three-phase AC feed
AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase
AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase
The power draw available at the hardware placement position for the rack.
", - "UpdateSiteRackPhysicalPropertiesInput$PowerDrawKva": "Specify in kVA the power draw available at the hardware placement position for the rack.
" + "UpdateSiteRackPhysicalPropertiesInput$PowerDrawKva": "The power draw, in kVA, available at the hardware placement position for the rack.
" } }, "PowerFeedDrop": { "base": null, "refs": { "RackPhysicalProperties$PowerFeedDrop": "The position of the power feed.
", - "UpdateSiteRackPhysicalPropertiesInput$PowerFeedDrop": "Specify whether the power feed comes above or below the rack.
" + "UpdateSiteRackPhysicalPropertiesInput$PowerFeedDrop": "Indicates whether the power feed comes above or below the rack.
" } }, "PowerPhase": { "base": null, "refs": { "RackPhysicalProperties$PowerPhase": "The power option that you can provide for hardware.
", - "UpdateSiteRackPhysicalPropertiesInput$PowerPhase": "Specify the power option that you can provide for hardware.
Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz
Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz
The power option that you can provide for hardware.
Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz
Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz
The ID of the site.
", + "base": "The ID of the site.
", "refs": { - "CreateOutpostInput$SiteId": "The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the site.
", + "DeleteSiteInput$SiteId": "The ID or the Amazon Resource Name (ARN) of the site.
", + "GetSiteAddressInput$SiteId": "The ID or the Amazon Resource Name (ARN) of the site.
", "GetSiteAddressOutput$SiteId": null, - "GetSiteInput$SiteId": "The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the site.
", "Outpost$SiteId": null, "Site$SiteId": null, - "UpdateSiteAddressInput$SiteId": "The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
The ID or the Amazon Resource Name (ARN) of the site.
", + "UpdateSiteInput$SiteId": "The ID or the Amazon Resource Name (ARN) of the site.
", + "UpdateSiteRackPhysicalPropertiesInput$SiteId": "The ID or the Amazon Resource Name (ARN) of the site.
" } }, "SiteName": { @@ -953,7 +965,7 @@ "refs": { "CreateSiteInput$Notes": "Additional information that you provide about site access requirements, electrician scheduling, personal protective equipment, or regulation of equipment materials that could affect your installation process.
", "Site$Notes": "Notes about a site.
", - "UpdateSiteInput$Notes": "Notes about a site.
" + "UpdateSiteInput$Notes": "Notes about a site.
" } }, "SkuCode": { @@ -986,7 +998,13 @@ "StateOrRegionList": { "base": null, "refs": { - "ListSitesInput$OperatingAddressStateOrRegionFilter": "A filter for the state/region of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by state or region.
" + } + }, + "StatusList": { + "base": null, + "refs": { + "ListAssetsInput$StatusFilter": "Filters the results by state.
" } }, "String": { @@ -1013,7 +1031,7 @@ "base": null, "refs": { "CatalogItem$SupportedStorage": "The supported storage options for the catalog item.
", - "ListCatalogItemsInput$SupportedStorageFilter": "A filter for the storage options of items in the catalog.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
Filters the results by storage option.
" } }, "SupportedUplinkGbps": { @@ -1158,7 +1176,7 @@ "base": null, "refs": { "RackPhysicalProperties$UplinkGbps": "The uplink speed the rack supports for the connection to the Region.
", - "UpdateSiteRackPhysicalPropertiesInput$UplinkGbps": "Specify the uplink speed the rack should support for the connection to the Region.
" + "UpdateSiteRackPhysicalPropertiesInput$UplinkGbps": "The uplink speed the rack should support for the connection to the Region.
" } }, "ValidationException": { diff --git a/service/glue/api.go b/service/glue/api.go index c4e0c374c19..c3df47e4a5c 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -18041,6 +18041,107 @@ func (c *Glue) UpdateJobWithContext(ctx aws.Context, input *UpdateJobInput, opts return out, req.Send() } +const opUpdateJobFromSourceControl = "UpdateJobFromSourceControl" + +// UpdateJobFromSourceControlRequest generates a "aws/request.Request" representing the +// client's request for the UpdateJobFromSourceControl 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 UpdateJobFromSourceControl for more information on using the UpdateJobFromSourceControl +// 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 UpdateJobFromSourceControlRequest method. +// req, resp := client.UpdateJobFromSourceControlRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobFromSourceControl +func (c *Glue) UpdateJobFromSourceControlRequest(input *UpdateJobFromSourceControlInput) (req *request.Request, output *UpdateJobFromSourceControlOutput) { + op := &request.Operation{ + Name: opUpdateJobFromSourceControl, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateJobFromSourceControlInput{} + } + + output = &UpdateJobFromSourceControlOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateJobFromSourceControl API operation for AWS Glue. +// +// Synchronizes a job from the source control repository. This operation takes +// the job artifacts that are located in the remote repository and updates the +// Glue internal stores with these artifacts. +// +// This API supports optional parameters which take in the repository information. +// +// 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 Glue's +// API operation UpdateJobFromSourceControl for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// Access to a resource was denied. +// +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. +// +// - ValidationException +// A value could not be validated. +// +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobFromSourceControl +func (c *Glue) UpdateJobFromSourceControl(input *UpdateJobFromSourceControlInput) (*UpdateJobFromSourceControlOutput, error) { + req, out := c.UpdateJobFromSourceControlRequest(input) + return out, req.Send() +} + +// UpdateJobFromSourceControlWithContext is the same as UpdateJobFromSourceControl with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateJobFromSourceControl 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 *Glue) UpdateJobFromSourceControlWithContext(ctx aws.Context, input *UpdateJobFromSourceControlInput, opts ...request.Option) (*UpdateJobFromSourceControlOutput, error) { + req, out := c.UpdateJobFromSourceControlRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateMLTransform = "UpdateMLTransform" // UpdateMLTransformRequest generates a "aws/request.Request" representing the @@ -18425,6 +18526,107 @@ func (c *Glue) UpdateSchemaWithContext(ctx aws.Context, input *UpdateSchemaInput return out, req.Send() } +const opUpdateSourceControlFromJob = "UpdateSourceControlFromJob" + +// UpdateSourceControlFromJobRequest generates a "aws/request.Request" representing the +// client's request for the UpdateSourceControlFromJob 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 UpdateSourceControlFromJob for more information on using the UpdateSourceControlFromJob +// 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 UpdateSourceControlFromJobRequest method. +// req, resp := client.UpdateSourceControlFromJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSourceControlFromJob +func (c *Glue) UpdateSourceControlFromJobRequest(input *UpdateSourceControlFromJobInput) (req *request.Request, output *UpdateSourceControlFromJobOutput) { + op := &request.Operation{ + Name: opUpdateSourceControlFromJob, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateSourceControlFromJobInput{} + } + + output = &UpdateSourceControlFromJobOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateSourceControlFromJob API operation for AWS Glue. +// +// Synchronizes a job to the source control repository. This operation takes +// the job artifacts from the Glue internal stores and makes a commit to the +// remote repository that is configured on the job. +// +// This API supports optional parameters which take in the repository information. +// +// 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 Glue's +// API operation UpdateSourceControlFromJob for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// Access to a resource was denied. +// +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. +// +// - ValidationException +// A value could not be validated. +// +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSourceControlFromJob +func (c *Glue) UpdateSourceControlFromJob(input *UpdateSourceControlFromJobInput) (*UpdateSourceControlFromJobOutput, error) { + req, out := c.UpdateSourceControlFromJobRequest(input) + return out, req.Send() +} + +// UpdateSourceControlFromJobWithContext is the same as UpdateSourceControlFromJob with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateSourceControlFromJob 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 *Glue) UpdateSourceControlFromJobWithContext(ctx aws.Context, input *UpdateSourceControlFromJobInput, opts ...request.Option) (*UpdateSourceControlFromJobOutput, error) { + req, out := c.UpdateSourceControlFromJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateTable = "UpdateTable" // UpdateTableRequest generates a "aws/request.Request" representing the @@ -27727,6 +27929,10 @@ type CreateJobInput struct { // The name of the SecurityConfiguration structure to be used with this job. SecurityConfiguration *string `min:"1" type:"string"` + // The details for a source control configuration for a job, allowing synchronization + // of job artifacts to or from a remote repository. + SourceControlDetails *SourceControlDetails `type:"structure"` + // The tags to use with this job. You may use tags to limit access to the job. // For more information about tags in Glue, see Amazon Web Services Tags in // Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) in the @@ -27816,6 +28022,11 @@ func (s *CreateJobInput) Validate() error { invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) } } + if s.SourceControlDetails != nil { + if err := s.SourceControlDetails.Validate(); err != nil { + invalidParams.AddNested("SourceControlDetails", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -27931,6 +28142,12 @@ func (s *CreateJobInput) SetSecurityConfiguration(v string) *CreateJobInput { return s } +// SetSourceControlDetails sets the SourceControlDetails field's value. +func (s *CreateJobInput) SetSourceControlDetails(v *SourceControlDetails) *CreateJobInput { + s.SourceControlDetails = v + return s +} + // SetTags sets the Tags field's value. func (s *CreateJobInput) SetTags(v map[string]*string) *CreateJobInput { s.Tags = v @@ -44556,6 +44773,10 @@ type Job struct { // The name of the SecurityConfiguration structure to be used with this job. SecurityConfiguration *string `min:"1" type:"string"` + // The details for a source control configuration for a job, allowing synchronization + // of job artifacts to or from a remote repository. + SourceControlDetails *SourceControlDetails `type:"structure"` + // The job timeout in minutes. This is the maximum time that a job run can consume // resources before it is terminated and enters TIMEOUT status. The default // is 2,880 minutes (48 hours). @@ -44720,6 +44941,12 @@ func (s *Job) SetSecurityConfiguration(v string) *Job { return s } +// SetSourceControlDetails sets the SourceControlDetails field's value. +func (s *Job) SetSourceControlDetails(v *SourceControlDetails) *Job { + s.SourceControlDetails = v + return s +} + // SetTimeout sets the Timeout field's value. func (s *Job) SetTimeout(v int64) *Job { s.Timeout = &v @@ -45386,6 +45613,10 @@ type JobUpdate struct { // The name of the SecurityConfiguration structure to be used with this job. SecurityConfiguration *string `min:"1" type:"string"` + // The details for a source control configuration for a job, allowing synchronization + // of job artifacts to or from a remote repository. + SourceControlDetails *SourceControlDetails `type:"structure"` + // The job timeout in minutes. This is the maximum time that a job run can consume // resources before it is terminated and enters TIMEOUT status. The default // is 2,880 minutes (48 hours). @@ -45457,6 +45688,11 @@ func (s *JobUpdate) Validate() error { invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) } } + if s.SourceControlDetails != nil { + if err := s.SourceControlDetails.Validate(); err != nil { + invalidParams.AddNested("SourceControlDetails", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -45566,6 +45802,12 @@ func (s *JobUpdate) SetSecurityConfiguration(v string) *JobUpdate { return s } +// SetSourceControlDetails sets the SourceControlDetails field's value. +func (s *JobUpdate) SetSourceControlDetails(v *SourceControlDetails) *JobUpdate { + s.SourceControlDetails = v + return s +} + // SetTimeout sets the Timeout field's value. func (s *JobUpdate) SetTimeout(v int64) *JobUpdate { s.Timeout = &v @@ -55921,6 +56163,131 @@ func (s *SortCriterion) SetSort(v string) *SortCriterion { return s } +// The details for a source control configuration for a job, allowing synchronization +// of job artifacts to or from a remote repository. +type SourceControlDetails struct { + _ struct{} `type:"structure"` + + // The type of authentication, which can be an authentication token stored in + // Amazon Web Services Secrets Manager, or a personal access token. + AuthStrategy *string `type:"string" enum:"SourceControlAuthStrategy"` + + // The value of an authorization token. + AuthToken *string `min:"1" type:"string"` + + // An optional branch in the remote repository. + Branch *string `min:"1" type:"string"` + + // An optional folder in the remote repository. + Folder *string `min:"1" type:"string"` + + // The last commit ID for a commit in the remote repository. + LastCommitId *string `min:"1" type:"string"` + + // The owner of the remote repository that contains the job artifacts. + Owner *string `min:"1" type:"string"` + + // The provider for the remote repository. + Provider *string `type:"string" enum:"SourceControlProvider"` + + // The name of the remote repository that contains the job artifacts. + Repository *string `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 SourceControlDetails) 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 SourceControlDetails) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SourceControlDetails) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SourceControlDetails"} + if s.AuthToken != nil && len(*s.AuthToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthToken", 1)) + } + if s.Branch != nil && len(*s.Branch) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Branch", 1)) + } + if s.Folder != nil && len(*s.Folder) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Folder", 1)) + } + if s.LastCommitId != nil && len(*s.LastCommitId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LastCommitId", 1)) + } + if s.Owner != nil && len(*s.Owner) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Owner", 1)) + } + if s.Repository != nil && len(*s.Repository) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Repository", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthStrategy sets the AuthStrategy field's value. +func (s *SourceControlDetails) SetAuthStrategy(v string) *SourceControlDetails { + s.AuthStrategy = &v + return s +} + +// SetAuthToken sets the AuthToken field's value. +func (s *SourceControlDetails) SetAuthToken(v string) *SourceControlDetails { + s.AuthToken = &v + return s +} + +// SetBranch sets the Branch field's value. +func (s *SourceControlDetails) SetBranch(v string) *SourceControlDetails { + s.Branch = &v + return s +} + +// SetFolder sets the Folder field's value. +func (s *SourceControlDetails) SetFolder(v string) *SourceControlDetails { + s.Folder = &v + return s +} + +// SetLastCommitId sets the LastCommitId field's value. +func (s *SourceControlDetails) SetLastCommitId(v string) *SourceControlDetails { + s.LastCommitId = &v + return s +} + +// SetOwner sets the Owner field's value. +func (s *SourceControlDetails) SetOwner(v string) *SourceControlDetails { + s.Owner = &v + return s +} + +// SetProvider sets the Provider field's value. +func (s *SourceControlDetails) SetProvider(v string) *SourceControlDetails { + s.Provider = &v + return s +} + +// SetRepository sets the Repository field's value. +func (s *SourceControlDetails) SetRepository(v string) *SourceControlDetails { + s.Repository = &v + return s +} + // Specifies a connector to an Apache Spark data source. type SparkConnectorSource struct { _ struct{} `type:"structure"` @@ -61809,6 +62176,172 @@ func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierReq return s } +type UpdateJobFromSourceControlInput struct { + _ struct{} `type:"structure"` + + // The type of authentication, which can be an authentication token stored in + // Amazon Web Services Secrets Manager, or a personal access token. + AuthStrategy *string `type:"string" enum:"SourceControlAuthStrategy"` + + // The value of the authorization token. + AuthToken *string `min:"1" type:"string"` + + // An optional branch in the remote repository. + BranchName *string `min:"1" type:"string"` + + // A commit ID for a commit in the remote repository. + CommitId *string `min:"1" type:"string"` + + // An optional folder in the remote repository. + Folder *string `min:"1" type:"string"` + + // The name of the Glue job to be synchronized to or from the remote repository. + JobName *string `min:"1" type:"string"` + + // The provider for the remote repository. + Provider *string `type:"string" enum:"SourceControlProvider"` + + // The name of the remote repository that contains the job artifacts. + RepositoryName *string `min:"1" type:"string"` + + // The owner of the remote repository that contains the job artifacts. + RepositoryOwner *string `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 UpdateJobFromSourceControlInput) 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 UpdateJobFromSourceControlInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateJobFromSourceControlInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateJobFromSourceControlInput"} + if s.AuthToken != nil && len(*s.AuthToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthToken", 1)) + } + if s.BranchName != nil && len(*s.BranchName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) + } + if s.CommitId != nil && len(*s.CommitId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CommitId", 1)) + } + if s.Folder != nil && len(*s.Folder) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Folder", 1)) + } + if s.JobName != nil && len(*s.JobName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + if s.RepositoryOwner != nil && len(*s.RepositoryOwner) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryOwner", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthStrategy sets the AuthStrategy field's value. +func (s *UpdateJobFromSourceControlInput) SetAuthStrategy(v string) *UpdateJobFromSourceControlInput { + s.AuthStrategy = &v + return s +} + +// SetAuthToken sets the AuthToken field's value. +func (s *UpdateJobFromSourceControlInput) SetAuthToken(v string) *UpdateJobFromSourceControlInput { + s.AuthToken = &v + return s +} + +// SetBranchName sets the BranchName field's value. +func (s *UpdateJobFromSourceControlInput) SetBranchName(v string) *UpdateJobFromSourceControlInput { + s.BranchName = &v + return s +} + +// SetCommitId sets the CommitId field's value. +func (s *UpdateJobFromSourceControlInput) SetCommitId(v string) *UpdateJobFromSourceControlInput { + s.CommitId = &v + return s +} + +// SetFolder sets the Folder field's value. +func (s *UpdateJobFromSourceControlInput) SetFolder(v string) *UpdateJobFromSourceControlInput { + s.Folder = &v + return s +} + +// SetJobName sets the JobName field's value. +func (s *UpdateJobFromSourceControlInput) SetJobName(v string) *UpdateJobFromSourceControlInput { + s.JobName = &v + return s +} + +// SetProvider sets the Provider field's value. +func (s *UpdateJobFromSourceControlInput) SetProvider(v string) *UpdateJobFromSourceControlInput { + s.Provider = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *UpdateJobFromSourceControlInput) SetRepositoryName(v string) *UpdateJobFromSourceControlInput { + s.RepositoryName = &v + return s +} + +// SetRepositoryOwner sets the RepositoryOwner field's value. +func (s *UpdateJobFromSourceControlInput) SetRepositoryOwner(v string) *UpdateJobFromSourceControlInput { + s.RepositoryOwner = &v + return s +} + +type UpdateJobFromSourceControlOutput struct { + _ struct{} `type:"structure"` + + // The name of the Glue job. + JobName *string `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 UpdateJobFromSourceControlOutput) 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 UpdateJobFromSourceControlOutput) GoString() string { + return s.String() +} + +// SetJobName sets the JobName field's value. +func (s *UpdateJobFromSourceControlOutput) SetJobName(v string) *UpdateJobFromSourceControlOutput { + s.JobName = &v + return s +} + type UpdateJobInput struct { _ struct{} `type:"structure"` @@ -62565,6 +63098,172 @@ func (s *UpdateSchemaOutput) SetSchemaName(v string) *UpdateSchemaOutput { return s } +type UpdateSourceControlFromJobInput struct { + _ struct{} `type:"structure"` + + // The type of authentication, which can be an authentication token stored in + // Amazon Web Services Secrets Manager, or a personal access token. + AuthStrategy *string `type:"string" enum:"SourceControlAuthStrategy"` + + // The value of the authorization token. + AuthToken *string `min:"1" type:"string"` + + // An optional branch in the remote repository. + BranchName *string `min:"1" type:"string"` + + // A commit ID for a commit in the remote repository. + CommitId *string `min:"1" type:"string"` + + // An optional folder in the remote repository. + Folder *string `min:"1" type:"string"` + + // The name of the Glue job to be synchronized to or from the remote repository. + JobName *string `min:"1" type:"string"` + + // The provider for the remote repository. + Provider *string `type:"string" enum:"SourceControlProvider"` + + // The name of the remote repository that contains the job artifacts. + RepositoryName *string `min:"1" type:"string"` + + // The owner of the remote repository that contains the job artifacts. + RepositoryOwner *string `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 UpdateSourceControlFromJobInput) 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 UpdateSourceControlFromJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateSourceControlFromJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateSourceControlFromJobInput"} + if s.AuthToken != nil && len(*s.AuthToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AuthToken", 1)) + } + if s.BranchName != nil && len(*s.BranchName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BranchName", 1)) + } + if s.CommitId != nil && len(*s.CommitId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CommitId", 1)) + } + if s.Folder != nil && len(*s.Folder) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Folder", 1)) + } + if s.JobName != nil && len(*s.JobName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobName", 1)) + } + if s.RepositoryName != nil && len(*s.RepositoryName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryName", 1)) + } + if s.RepositoryOwner != nil && len(*s.RepositoryOwner) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RepositoryOwner", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthStrategy sets the AuthStrategy field's value. +func (s *UpdateSourceControlFromJobInput) SetAuthStrategy(v string) *UpdateSourceControlFromJobInput { + s.AuthStrategy = &v + return s +} + +// SetAuthToken sets the AuthToken field's value. +func (s *UpdateSourceControlFromJobInput) SetAuthToken(v string) *UpdateSourceControlFromJobInput { + s.AuthToken = &v + return s +} + +// SetBranchName sets the BranchName field's value. +func (s *UpdateSourceControlFromJobInput) SetBranchName(v string) *UpdateSourceControlFromJobInput { + s.BranchName = &v + return s +} + +// SetCommitId sets the CommitId field's value. +func (s *UpdateSourceControlFromJobInput) SetCommitId(v string) *UpdateSourceControlFromJobInput { + s.CommitId = &v + return s +} + +// SetFolder sets the Folder field's value. +func (s *UpdateSourceControlFromJobInput) SetFolder(v string) *UpdateSourceControlFromJobInput { + s.Folder = &v + return s +} + +// SetJobName sets the JobName field's value. +func (s *UpdateSourceControlFromJobInput) SetJobName(v string) *UpdateSourceControlFromJobInput { + s.JobName = &v + return s +} + +// SetProvider sets the Provider field's value. +func (s *UpdateSourceControlFromJobInput) SetProvider(v string) *UpdateSourceControlFromJobInput { + s.Provider = &v + return s +} + +// SetRepositoryName sets the RepositoryName field's value. +func (s *UpdateSourceControlFromJobInput) SetRepositoryName(v string) *UpdateSourceControlFromJobInput { + s.RepositoryName = &v + return s +} + +// SetRepositoryOwner sets the RepositoryOwner field's value. +func (s *UpdateSourceControlFromJobInput) SetRepositoryOwner(v string) *UpdateSourceControlFromJobInput { + s.RepositoryOwner = &v + return s +} + +type UpdateSourceControlFromJobOutput struct { + _ struct{} `type:"structure"` + + // The name of the Glue job. + JobName *string `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 UpdateSourceControlFromJobOutput) 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 UpdateSourceControlFromJobOutput) GoString() string { + return s.String() +} + +// SetJobName sets the JobName field's value. +func (s *UpdateSourceControlFromJobOutput) SetJobName(v string) *UpdateSourceControlFromJobOutput { + s.JobName = &v + return s +} + type UpdateTableInput struct { _ struct{} `type:"structure"` @@ -65575,6 +66274,38 @@ func SortDirectionType_Values() []string { } } +const ( + // SourceControlAuthStrategyPersonalAccessToken is a SourceControlAuthStrategy enum value + SourceControlAuthStrategyPersonalAccessToken = "PERSONAL_ACCESS_TOKEN" + + // SourceControlAuthStrategyAwsSecretsManager is a SourceControlAuthStrategy enum value + SourceControlAuthStrategyAwsSecretsManager = "AWS_SECRETS_MANAGER" +) + +// SourceControlAuthStrategy_Values returns all elements of the SourceControlAuthStrategy enum +func SourceControlAuthStrategy_Values() []string { + return []string{ + SourceControlAuthStrategyPersonalAccessToken, + SourceControlAuthStrategyAwsSecretsManager, + } +} + +const ( + // SourceControlProviderGithub is a SourceControlProvider enum value + SourceControlProviderGithub = "GITHUB" + + // SourceControlProviderAwsCodeCommit is a SourceControlProvider enum value + SourceControlProviderAwsCodeCommit = "AWS_CODE_COMMIT" +) + +// SourceControlProvider_Values returns all elements of the SourceControlProvider enum +func SourceControlProvider_Values() []string { + return []string{ + SourceControlProviderGithub, + SourceControlProviderAwsCodeCommit, + } +} + const ( // StartingPositionLatest is a StartingPosition enum value StartingPositionLatest = "latest" diff --git a/service/glue/glueiface/interface.go b/service/glue/glueiface/interface.go index b860b254f2e..c4ffd6243f7 100644 --- a/service/glue/glueiface/interface.go +++ b/service/glue/glueiface/interface.go @@ -866,6 +866,10 @@ type GlueAPI interface { UpdateJobWithContext(aws.Context, *glue.UpdateJobInput, ...request.Option) (*glue.UpdateJobOutput, error) UpdateJobRequest(*glue.UpdateJobInput) (*request.Request, *glue.UpdateJobOutput) + UpdateJobFromSourceControl(*glue.UpdateJobFromSourceControlInput) (*glue.UpdateJobFromSourceControlOutput, error) + UpdateJobFromSourceControlWithContext(aws.Context, *glue.UpdateJobFromSourceControlInput, ...request.Option) (*glue.UpdateJobFromSourceControlOutput, error) + UpdateJobFromSourceControlRequest(*glue.UpdateJobFromSourceControlInput) (*request.Request, *glue.UpdateJobFromSourceControlOutput) + UpdateMLTransform(*glue.UpdateMLTransformInput) (*glue.UpdateMLTransformOutput, error) UpdateMLTransformWithContext(aws.Context, *glue.UpdateMLTransformInput, ...request.Option) (*glue.UpdateMLTransformOutput, error) UpdateMLTransformRequest(*glue.UpdateMLTransformInput) (*request.Request, *glue.UpdateMLTransformOutput) @@ -882,6 +886,10 @@ type GlueAPI interface { UpdateSchemaWithContext(aws.Context, *glue.UpdateSchemaInput, ...request.Option) (*glue.UpdateSchemaOutput, error) UpdateSchemaRequest(*glue.UpdateSchemaInput) (*request.Request, *glue.UpdateSchemaOutput) + UpdateSourceControlFromJob(*glue.UpdateSourceControlFromJobInput) (*glue.UpdateSourceControlFromJobOutput, error) + UpdateSourceControlFromJobWithContext(aws.Context, *glue.UpdateSourceControlFromJobInput, ...request.Option) (*glue.UpdateSourceControlFromJobOutput, error) + UpdateSourceControlFromJobRequest(*glue.UpdateSourceControlFromJobInput) (*request.Request, *glue.UpdateSourceControlFromJobOutput) + UpdateTable(*glue.UpdateTableInput) (*glue.UpdateTableOutput, error) UpdateTableWithContext(aws.Context, *glue.UpdateTableInput, ...request.Option) (*glue.UpdateTableOutput, error) UpdateTableRequest(*glue.UpdateTableInput) (*request.Request, *glue.UpdateTableOutput) diff --git a/service/networkfirewall/api.go b/service/networkfirewall/api.go index 0eb2657e077..4be38dde1ce 100644 --- a/service/networkfirewall/api.go +++ b/service/networkfirewall/api.go @@ -9725,7 +9725,7 @@ type RulesSource struct { // An array of individual stateful rules inspection criteria to be used together // in a stateful rule group. Use this option to specify simple Suricata rules // with protocol, source and destination, ports, direction, and rule options. - // For information about the Suricata Rules format, see Rules Format (https://suricata.readthedocs.io/en/suricata-5.0.0/rules/intro.html#). + // For information about the Suricata Rules format, see Rules Format (https://suricata.readthedocs.io/rules/intro.html#). StatefulRules []*StatefulRule `type:"list"` // Stateless inspection criteria to be used in a stateless rule group. @@ -9974,6 +9974,23 @@ type StatefulEngineOptions struct { // for stateful rules (https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html) // in the Network Firewall Developer Guide. RuleOrder *string `type:"string" enum:"RuleOrder"` + + // Configures how Network Firewall processes traffic when a network connection + // breaks midstream. Network connections can break due to disruptions in external + // networks or within the firewall itself. + // + // * DROP - Network Firewall fails closed and drops all subsequent traffic + // going to the firewall. This is the default behavior. + // + // * CONTINUE - Network Firewall continues to apply rules to the subsequent + // traffic without context from traffic before the break. This impacts the + // behavior of rules that depend on this context. For example, if you have + // a stateful rule to drop http traffic, Network Firewall won't match the + // traffic for this rule because the service won't have the context from + // session initialization defining the application layer protocol as HTTP. + // However, this behavior is rule dependent—a TCP-layer rule using a flow:stateless + // rule would still match, as would the aws:drop_strict default action. + StreamExceptionPolicy *string `type:"string" enum:"StreamExceptionPolicy"` } // String returns the string representation. @@ -10000,10 +10017,16 @@ func (s *StatefulEngineOptions) SetRuleOrder(v string) *StatefulEngineOptions { return s } +// SetStreamExceptionPolicy sets the StreamExceptionPolicy field's value. +func (s *StatefulEngineOptions) SetStreamExceptionPolicy(v string) *StatefulEngineOptions { + s.StreamExceptionPolicy = &v + return s +} + // A single Suricata rules specification, for use in a stateful rule group. // Use this option to specify a simple Suricata rule with protocol, source and // destination, ports, direction, and rule options. For information about the -// Suricata Rules format, see Rules Format (https://suricata.readthedocs.io/en/suricata-5.0.0/rules/intro.html#). +// Suricata Rules format, see Rules Format (https://suricata.readthedocs.io/rules/intro.html#). type StatefulRule struct { _ struct{} `type:"structure"` @@ -12888,6 +12911,22 @@ func StatefulRuleProtocol_Values() []string { } } +const ( + // StreamExceptionPolicyDrop is a StreamExceptionPolicy enum value + StreamExceptionPolicyDrop = "DROP" + + // StreamExceptionPolicyContinue is a StreamExceptionPolicy enum value + StreamExceptionPolicyContinue = "CONTINUE" +) + +// StreamExceptionPolicy_Values returns all elements of the StreamExceptionPolicy enum +func StreamExceptionPolicy_Values() []string { + return []string{ + StreamExceptionPolicyDrop, + StreamExceptionPolicyContinue, + } +} + const ( // TCPFlagFin is a TCPFlag enum value TCPFlagFin = "FIN" diff --git a/service/networkfirewall/doc.go b/service/networkfirewall/doc.go index 1a87c64dfcc..4791e1e2220 100644 --- a/service/networkfirewall/doc.go +++ b/service/networkfirewall/doc.go @@ -26,9 +26,9 @@ // Network Firewall, you can filter traffic at the perimeter of your VPC. This // includes filtering traffic going to and coming from an internet gateway, // NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that -// are compatible with Suricata, a free, open source intrusion detection system -// (IDS) engine. Network Firewall supports Suricata version 5.0.2. For information -// about Suricata, see the Suricata website (https://suricata-ids.org/). +// are compatible with Suricata, a free, open source network analysis and threat +// detection engine. Network Firewall supports Suricata version 5.0.2. For information +// about Suricata, see the Suricata website (https://suricata.io/). // // You can use Network Firewall to monitor and protect your VPC traffic in a // number of ways. The following are just a few examples: diff --git a/service/outposts/api.go b/service/outposts/api.go index 9bdc4ce7686..e5cc5d18771 100644 --- a/service/outposts/api.go +++ b/service/outposts/api.go @@ -57,7 +57,7 @@ func (c *Outposts) CancelOrderRequest(input *CancelOrderInput) (req *request.Req // CancelOrder API operation for AWS Outposts. // -// Cancels an order for an Outpost. +// Cancels the specified order for an Outpost. // // 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 @@ -244,7 +244,7 @@ func (c *Outposts) CreateOutpostRequest(input *CreateOutpostInput) (req *request // // Creates an Outpost. // -// You can specify AvailabilityZone or AvailabilityZoneId. +// You can specify either an Availability one or an AZ ID. // // 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 @@ -430,7 +430,7 @@ func (c *Outposts) DeleteOutpostRequest(input *DeleteOutpostInput) (req *request // DeleteOutpost API operation for AWS Outposts. // -// Deletes the Outpost. +// Deletes the specified Outpost. // // 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 @@ -522,7 +522,7 @@ func (c *Outposts) DeleteSiteRequest(input *DeleteSiteInput) (req *request.Reque // DeleteSite API operation for AWS Outposts. // -// Deletes the site. +// Deletes the specified site. // // 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 @@ -613,7 +613,7 @@ func (c *Outposts) GetCatalogItemRequest(input *GetCatalogItemInput) (req *reque // GetCatalogItem API operation for AWS Outposts. // -// Gets information about a catalog item. +// Gets information about the specified catalog item. // // 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 @@ -700,7 +700,7 @@ func (c *Outposts) GetConnectionRequest(input *GetConnectionInput) (req *request // // Amazon Web Services uses this action to install Outpost servers. // -// Gets information about a specified connection. +// Gets information about the specified connection. // // Use CloudTrail to monitor this action or Amazon Web Services managed policy // for Amazon Web Services Outposts to secure it. For more information, see @@ -795,7 +795,7 @@ func (c *Outposts) GetOrderRequest(input *GetOrderInput) (req *request.Request, // GetOrder API operation for AWS Outposts. // -// Gets an order. +// Gets information about the specified order. // // 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 @@ -1201,7 +1201,7 @@ func (c *Outposts) GetSiteAddressRequest(input *GetSiteAddressInput) (req *reque // GetSiteAddress API operation for AWS Outposts. // -// Gets the site address. +// Gets the site address of the specified site. // // 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 @@ -1295,9 +1295,12 @@ func (c *Outposts) ListAssetsRequest(input *ListAssetsInput) (req *request.Reque // ListAssets API operation for AWS Outposts. // -// Lists the hardware assets in an Outpost. If you are using Dedicated Hosts -// on Amazon Web Services Outposts, you can filter your request by host ID to -// return a list of hardware assets that allocate resources for Dedicated Hosts. +// Lists the hardware assets for the specified Outpost. +// +// Use filters to return specific results. If you specify multiple filters, +// the results include only the resources that match all of the specified filters. +// For a filter where you can specify multiple values, the results include items +// that match any of the values that you specify for the filter. // // 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 @@ -1442,12 +1445,12 @@ func (c *Outposts) ListCatalogItemsRequest(input *ListCatalogItemsInput) (req *r // ListCatalogItems API operation for AWS Outposts. // -// Lists the items in the catalog. Add filters to your request to return a more -// specific list of results. Use filters to match an item class, storage option, -// or EC2 family. +// Lists the items in the catalog. // -// If you specify multiple filters, the filters are joined with an AND, and -// the request returns only results that match all of the specified filters. +// Use filters to return specific results. If you specify multiple filters, +// the results include only the resources that match all of the specified filters. +// For a filter where you can specify multiple values, the results include items +// that match any of the values that you specify for the filter. // // 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 @@ -1589,8 +1592,7 @@ func (c *Outposts) ListOrdersRequest(input *ListOrdersInput) (req *request.Reque // ListOrders API operation for AWS Outposts. // -// Lists the Outpost orders for your Amazon Web Services account. You can filter -// your request by Outpost to return a more specific list of results. +// Lists the Outpost orders for your Amazon Web Services account. // // 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 @@ -1735,12 +1737,12 @@ func (c *Outposts) ListOutpostsRequest(input *ListOutpostsInput) (req *request.R // ListOutposts API operation for AWS Outposts. // -// Lists the Outposts for your Amazon Web Services account. Add filters to your -// request to return a more specific list of results. Use filters to match an -// Outpost lifecycle status, Availability Zone (us-east-1a), and AZ ID (use1-az1). +// Lists the Outposts for your Amazon Web Services account. // -// If you specify multiple filters, the filters are joined with an AND, and -// the request returns only results that match all of the specified filters. +// Use filters to return specific results. If you specify multiple filters, +// the results include only the resources that match all of the specified filters. +// For a filter where you can specify multiple values, the results include items +// that match any of the values that you specify for the filter. // // 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 @@ -1882,13 +1884,13 @@ func (c *Outposts) ListSitesRequest(input *ListSitesInput) (req *request.Request // ListSites API operation for AWS Outposts. // -// Lists the Outpost sites for your Amazon Web Services account. Add operating -// address filters to your request to return a more specific list of results. -// Use filters to match site city, country code, or state/region of the operating -// address. +// Lists the Outpost sites for your Amazon Web Services account. Use filters +// to return specific results. // -// If you specify multiple filters, the filters are joined with an AND, and -// the request returns only results that match all of the specified filters. +// Use filters to return specific results. If you specify multiple filters, +// the results include only the resources that match all of the specified filters. +// For a filter where you can specify multiple values, the results include items +// that match any of the values that you specify for the filter. // // 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 @@ -2469,7 +2471,7 @@ func (c *Outposts) UpdateSiteRequest(input *UpdateSiteInput) (req *request.Reque // UpdateSite API operation for AWS Outposts. // -// Updates the site. +// Updates the specified site. // // 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 @@ -2560,10 +2562,10 @@ func (c *Outposts) UpdateSiteAddressRequest(input *UpdateSiteAddressInput) (req // UpdateSiteAddress API operation for AWS Outposts. // -// Updates the site address. +// Updates the address of the specified site. // -// To update a site address with an order IN_PROGRESS, you must wait for the -// order to complete or cancel the order. +// You can't update a site address if there is an order in progress. You must +// wait for the order to complete or cancel the order. // // You can update the operating address before you place an order at the site, // or after all Outposts that belong to the site have been deactivated. @@ -3059,7 +3061,7 @@ func (s *AssetLocation) SetRackElevation(v float64) *AssetLocation { type CancelOrderInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID of the order to cancel. + // The ID of the order. // // OrderId is a required field OrderId *string `location:"uri" locationName:"OrderId" min:"1" type:"string" required:"true"` @@ -3217,8 +3219,22 @@ func (s *CatalogItem) SetWeightLbs(v int64) *CatalogItem { type ComputeAttributes struct { _ struct{} `type:"structure"` - // The host ID of any Dedicated Hosts on the asset. + // The host ID of the Dedicated Host on the asset. HostId *string `min:"1" type:"string"` + + // The state. + // + // * ACTIVE - The asset is available and can provide capacity for new compute + // resources. + // + // * ISOLATED - The asset is undergoing maintenance and can't provide capacity + // for new compute resources. Existing compute resources on the asset are + // not affected. + // + // * RETIRING - The underlying hardware for the asset is degraded. Capacity + // for new compute resources is reduced. Amazon Web Services sends notifications + // for resources that must be stopped before the asset can be replaced. + State *string `type:"string" enum:"ComputeAssetState"` } // String returns the string representation. @@ -3245,6 +3261,12 @@ func (s *ComputeAttributes) SetHostId(v string) *ComputeAttributes { return s } +// SetState sets the State field's value. +func (s *ComputeAttributes) SetState(v string) *ComputeAttributes { + s.State = &v + return s +} + // Updating or deleting this resource can cause an inconsistent state. type ConflictException struct { _ struct{} `type:"structure"` @@ -3405,12 +3427,12 @@ type CreateOrderInput struct { // OutpostIdentifier is a required field OutpostIdentifier *string `min:"1" type:"string" required:"true"` - // The payment option for the order. + // The payment option. // // PaymentOption is a required field PaymentOption *string `type:"string" required:"true" enum:"PaymentOption"` - // The payment terms for the order. + // The payment terms. PaymentTerm *string `type:"string" enum:"PaymentTerm"` } @@ -3541,12 +3563,6 @@ type CreateOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // SiteId is a required field SiteId *string `min:"1" type:"string" required:"true"` @@ -3844,12 +3860,6 @@ type DeleteOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` } @@ -3921,12 +3931,6 @@ type DeleteSiteInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -4126,7 +4130,7 @@ func (s *GetCatalogItemOutput) SetCatalogItem(v *CatalogItem) *GetCatalogItemOut type GetConnectionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The ID of the connection you request. + // The ID of the connection. // // ConnectionId is a required field ConnectionId *string `location:"uri" locationName:"ConnectionId" min:"1" type:"string" required:"true"` @@ -4175,10 +4179,10 @@ func (s *GetConnectionInput) SetConnectionId(v string) *GetConnectionInput { type GetConnectionOutput struct { _ struct{} `type:"structure"` - // Information about a connection. + // Information about the connection. ConnectionDetails *ConnectionDetails `type:"structure"` - // The ID of the connection you receive. + // The ID of the connection. ConnectionId *string `min:"1" type:"string"` } @@ -4297,12 +4301,6 @@ type GetOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` } @@ -4358,12 +4356,6 @@ type GetOutpostInstanceTypesInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` } @@ -4439,12 +4431,6 @@ type GetOutpostInstanceTypesOutput struct { OutpostArn *string `min:"1" type:"string"` // The ID of the Outpost. - // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. OutpostId *string `min:"1" type:"string"` } @@ -4531,12 +4517,6 @@ type GetSiteAddressInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -4644,12 +4624,6 @@ type GetSiteInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -4905,7 +4879,7 @@ type LineItemAssetInformation struct { // The ID of the asset. AssetId *string `min:"1" type:"string"` - // MAC addresses of the asset. + // The MAC addresses of the asset. MacAddressList []*string `type:"list"` } @@ -4999,11 +4973,7 @@ func (s *LineItemRequest) SetQuantity(v int64) *LineItemRequest { type ListAssetsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A filter for the host ID of Dedicated Hosts on the Outpost. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by the host ID of a Dedicated Host. HostIdFilter []*string `location:"querystring" locationName:"HostIdFilter" type:"list"` // The maximum page size. @@ -5016,6 +4986,9 @@ type ListAssetsInput struct { // // OutpostIdentifier is a required field OutpostIdentifier *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` + + // Filters the results by state. + StatusFilter []*string `location:"querystring" locationName:"StatusFilter" min:"1" type:"list" enum:"AssetState"` } // String returns the string representation. @@ -5051,6 +5024,9 @@ func (s *ListAssetsInput) Validate() error { if s.OutpostIdentifier != nil && len(*s.OutpostIdentifier) < 1 { invalidParams.Add(request.NewErrParamMinLen("OutpostIdentifier", 1)) } + if s.StatusFilter != nil && len(s.StatusFilter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StatusFilter", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -5082,10 +5058,16 @@ func (s *ListAssetsInput) SetOutpostIdentifier(v string) *ListAssetsInput { return s } +// SetStatusFilter sets the StatusFilter field's value. +func (s *ListAssetsInput) SetStatusFilter(v []*string) *ListAssetsInput { + s.StatusFilter = v + return s +} + type ListAssetsOutput struct { _ struct{} `type:"structure"` - // Information about hardware assets. + // Information about the hardware assets. Assets []*AssetInfo `type:"list"` // The pagination token. @@ -5125,18 +5107,10 @@ func (s *ListAssetsOutput) SetNextToken(v string) *ListAssetsOutput { type ListCatalogItemsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A filter for EC2 family options for items in the catalog. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by EC2 family (for example, M5). EC2FamilyFilter []*string `location:"querystring" locationName:"EC2FamilyFilter" type:"list"` - // A filter for the class of items in the catalog. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by item class. ItemClassFilter []*string `location:"querystring" locationName:"ItemClassFilter" type:"list" enum:"CatalogItemClass"` // The maximum page size. @@ -5145,11 +5119,7 @@ type ListCatalogItemsInput struct { // The pagination token. NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` - // A filter for the storage options of items in the catalog. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by storage option. SupportedStorageFilter []*string `location:"querystring" locationName:"SupportedStorageFilter" type:"list" enum:"SupportedStorageEnum"` } @@ -5368,25 +5338,13 @@ func (s *ListOrdersOutput) SetOrders(v []*OrderSummary) *ListOrdersOutput { type ListOutpostsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // A filter for the Availability Zone (us-east-1a) of the Outpost. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by Availability Zone (for example, us-east-1a). AvailabilityZoneFilter []*string `location:"querystring" locationName:"AvailabilityZoneFilter" min:"1" type:"list"` - // A filter for the AZ IDs (use1-az1) of the Outpost. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by AZ ID (for example, use1-az1). AvailabilityZoneIdFilter []*string `location:"querystring" locationName:"AvailabilityZoneIdFilter" min:"1" type:"list"` - // A filter for the lifecycle status of the Outpost. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by the lifecycle status. LifeCycleStatusFilter []*string `location:"querystring" locationName:"LifeCycleStatusFilter" min:"1" type:"list"` // The maximum page size. @@ -5518,25 +5476,13 @@ type ListSitesInput struct { // The pagination token. NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` - // A filter for the city of the Outpost site. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by city. OperatingAddressCityFilter []*string `location:"querystring" locationName:"OperatingAddressCityFilter" type:"list"` - // A filter for the country code of the Outpost site. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by country code. OperatingAddressCountryCodeFilter []*string `location:"querystring" locationName:"OperatingAddressCountryCodeFilter" type:"list"` - // A filter for the state/region of the Outpost site. - // - // Filter values are case sensitive. If you specify multiple values for a filter, - // the values are joined with an OR, and the request returns all results that - // match any of the specified values. + // Filters the results by state or region. OperatingAddressStateOrRegionFilter []*string `location:"querystring" locationName:"OperatingAddressStateOrRegionFilter" type:"list"` } @@ -5815,7 +5761,7 @@ type Order struct { // * PREPARING - Order is received and being prepared. // // * IN_PROGRESS - Order is either being built, shipped, or installed. To - // get more details, see the LineItem status. + // get more details, see the line item status. // // * COMPLETED - Order is complete. // @@ -5895,13 +5841,13 @@ type OrderSummary struct { // The status of all line items in the order. LineItemCountsByStatus map[string]*int64 `type:"map"` - // Fulfilment date for the order. + // The fulfilment date for the order. OrderFulfilledDate *time.Time `type:"timestamp"` // The ID of the order. OrderId *string `min:"1" type:"string"` - // Submission date for the order. + // The submission date for the order. OrderSubmissionDate *time.Time `type:"timestamp"` // The type of order. @@ -6783,12 +6729,6 @@ type UpdateOutpostInput struct { // The ID or the Amazon Resource Name (ARN) of the Outpost. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // OutpostId is a required field OutpostId *string `location:"uri" locationName:"OutpostId" min:"1" type:"string" required:"true"` @@ -6903,12 +6843,6 @@ type UpdateSiteAddressInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -7030,12 +6964,6 @@ type UpdateSiteInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` } @@ -7141,17 +7069,15 @@ func (s *UpdateSiteOutput) SetSite(v *Site) *UpdateSiteOutput { type UpdateSiteRackPhysicalPropertiesInput struct { _ struct{} `type:"structure"` - // Specify the type of fiber that you will use to attach the Outpost to your - // network. + // The type of fiber that you will use to attach the Outpost to your network. FiberOpticCableType *string `type:"string" enum:"FiberOpticCableType"` - // Specify the maximum rack weight that this site can support. NO_LIMIT is over - // 2000lbs. + // The maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. MaximumSupportedWeightLbs *string `type:"string" enum:"MaximumSupportedWeightLbs"` - // Specify the type of optical standard that you will use to attach the Outpost - // to your network. This field is dependent on uplink speed, fiber type, and - // distance to the upstream device. For more information about networking requirements + // The type of optical standard that you will use to attach the Outpost to your + // network. This field is dependent on uplink speed, fiber type, and distance + // to the upstream device. For more information about networking requirements // for racks, see Network (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#facility-networking) // in the Amazon Web Services Outposts User Guide. // @@ -7182,9 +7108,8 @@ type UpdateSiteRackPhysicalPropertiesInput struct { // * OPTIC_1000BASE_SX : 1000Base-SX OpticalStandard *string `type:"string" enum:"OpticalStandard"` - // Specify the power connector that Amazon Web Services should plan to provide - // for connections to the hardware. Note the correlation between PowerPhase - // and PowerConnector. + // The power connector that Amazon Web Services should plan to provide for connections + // to the hardware. Note the correlation between PowerPhase and PowerConnector. // // * Single-phase AC feed L6-30P – (common in US); 30A; single phase IEC309 // (blue) – P+N+E, 6hr; 32 A; single phase @@ -7193,14 +7118,14 @@ type UpdateSiteRackPhysicalPropertiesInput struct { // AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase PowerConnector *string `type:"string" enum:"PowerConnector"` - // Specify in kVA the power draw available at the hardware placement position - // for the rack. + // The power draw, in kVA, available at the hardware placement position for + // the rack. PowerDrawKva *string `type:"string" enum:"PowerDrawKva"` - // Specify whether the power feed comes above or below the rack. + // Indicates whether the power feed comes above or below the rack. PowerFeedDrop *string `type:"string" enum:"PowerFeedDrop"` - // Specify the power option that you can provide for hardware. + // The power option that you can provide for hardware. // // * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz // @@ -7209,12 +7134,6 @@ type UpdateSiteRackPhysicalPropertiesInput struct { // The ID or the Amazon Resource Name (ARN) of the site. // - // In requests, Amazon Web Services Outposts accepts the Amazon Resource Name - // (ARN) or an ID for Outposts and sites throughout the Outposts Query API. - // To address backwards compatibility, the parameter names OutpostID or SiteID - // remain in use. Despite the parameter name, you can make the request with - // an ARN. - // // SiteId is a required field SiteId *string `location:"uri" locationName:"SiteId" min:"1" type:"string" required:"true"` @@ -7231,8 +7150,7 @@ type UpdateSiteRackPhysicalPropertiesInput struct { // * 40 and 100 Gbps- Uplinks available: 1, 2, 4 UplinkCount *string `type:"string" enum:"UplinkCount"` - // Specify the uplink speed the rack should support for the connection to the - // Region. + // The uplink speed the rack should support for the connection to the Region. UplinkGbps *string `type:"string" enum:"UplinkGbps"` } @@ -7441,6 +7359,22 @@ func AddressType_Values() []string { } } +const ( + // AssetStateActive is a AssetState enum value + AssetStateActive = "ACTIVE" + + // AssetStateRetiring is a AssetState enum value + AssetStateRetiring = "RETIRING" +) + +// AssetState_Values returns all elements of the AssetState enum +func AssetState_Values() []string { + return []string{ + AssetStateActive, + AssetStateRetiring, + } +} + const ( // AssetTypeCompute is a AssetType enum value AssetTypeCompute = "COMPUTE" @@ -7485,6 +7419,26 @@ func CatalogItemStatus_Values() []string { } } +const ( + // ComputeAssetStateActive is a ComputeAssetState enum value + ComputeAssetStateActive = "ACTIVE" + + // ComputeAssetStateIsolated is a ComputeAssetState enum value + ComputeAssetStateIsolated = "ISOLATED" + + // ComputeAssetStateRetiring is a ComputeAssetState enum value + ComputeAssetStateRetiring = "RETIRING" +) + +// ComputeAssetState_Values returns all elements of the ComputeAssetState enum +func ComputeAssetState_Values() []string { + return []string{ + ComputeAssetStateActive, + ComputeAssetStateIsolated, + ComputeAssetStateRetiring, + } +} + const ( // FiberOpticCableTypeSingleMode is a FiberOpticCableType enum value FiberOpticCableTypeSingleMode = "SINGLE_MODE" @@ -7716,12 +7670,16 @@ func PaymentOption_Values() []string { const ( // PaymentTermThreeYears is a PaymentTerm enum value PaymentTermThreeYears = "THREE_YEARS" + + // PaymentTermOneYear is a PaymentTerm enum value + PaymentTermOneYear = "ONE_YEAR" ) // PaymentTerm_Values returns all elements of the PaymentTerm enum func PaymentTerm_Values() []string { return []string{ PaymentTermThreeYears, + PaymentTermOneYear, } }