From 825250a3f2f45ff9322c4a9ae2dd96e5bdb93ea4 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:34:53 -0400 Subject: [PATCH] Release v1.55.5 (2024-07-30) (#5323) Release v1.55.5 (2024-07-30) === ### Service Client Updates * `service/appstream`: Updates service API and documentation * Added support for Red Hat Enterprise Linux 8 on Amazon AppStream 2.0 * `service/autoscaling`: Updates service API and documentation * Increase the length limit for VPCZoneIdentifier from 2047 to 5000 * `service/codepipeline`: Updates service API, documentation, and paginators * AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements. * `service/elasticache`: Updates service documentation * Doc only update for changes to deletion API. * `service/elasticloadbalancing`: Updates service API * `service/eventbridge`: Updates service API * `service/logs`: Updates service API * Add v2 smoke tests and smithy smokeTests trait for SDK testing. * `service/models.lex.v2`: Updates service API and documentation * `service/rolesanywhere`: Updates service API and documentation * `service/tnb`: Updates service API and documentation * `service/workspaces`: Updates service documentation * Removing multi-session as it isn't supported for pools --- CHANGELOG.md | 22 + aws/endpoints/defaults.go | 6 + aws/version.go | 2 +- models/apis/appstream/2016-12-01/api-2.json | 7 +- models/apis/appstream/2016-12-01/docs-2.json | 14 +- models/apis/appstream/2016-12-01/smoke-2.json | 16 + models/apis/autoscaling/2011-01-01/api-2.json | 12 +- .../apis/autoscaling/2011-01-01/docs-2.json | 13 +- .../apis/codepipeline/2015-07-09/api-2.json | 454 ++- .../apis/codepipeline/2015-07-09/docs-2.json | 390 ++- .../codepipeline/2015-07-09/paginators-1.json | 6 + .../apis/elasticache/2015-02-02/docs-2.json | 4 +- .../2012-06-01/api-2.json | 4 +- .../2012-06-01/endpoint-rule-set-1.json | 339 +++ .../2012-06-01/endpoint-tests-1.json | 678 +++++ .../2012-06-01/smoke-2.json | 31 + models/apis/eventbridge/2015-10-07/api-2.json | 3 +- .../apis/eventbridge/2015-10-07/smoke-2.json | 29 + models/apis/logs/2014-03-28/api-2.json | 4 +- models/apis/logs/2014-03-28/smoke-2.json | 30 + .../apis/models.lex.v2/2020-08-07/api-2.json | 52 +- .../apis/models.lex.v2/2020-08-07/docs-2.json | 44 +- .../apis/rolesanywhere/2018-05-10/api-2.json | 7 +- .../apis/rolesanywhere/2018-05-10/docs-2.json | 5 +- models/apis/tnb/2008-10-21/api-2.json | 83 +- models/apis/tnb/2008-10-21/docs-2.json | 74 +- .../tnb/2008-10-21/endpoint-rule-set-1.json | 64 +- .../apis/tnb/2008-10-21/endpoint-tests-1.json | 123 +- models/apis/workspaces/2015-04-08/docs-2.json | 12 +- models/endpoints/endpoints.json | 2 + service/appstream/api.go | 25 +- service/codepipeline/api.go | 2543 ++++++++++++++++- .../codepipelineiface/interface.go | 15 + service/codepipeline/errors.go | 7 + service/elasticache/api.go | 8 +- service/lexmodelsv2/api.go | 174 +- service/rolesanywhere/api.go | 30 + service/tnb/api.go | 289 +- service/workspaces/api.go | 24 +- 39 files changed, 5362 insertions(+), 283 deletions(-) create mode 100644 models/apis/appstream/2016-12-01/smoke-2.json create mode 100644 models/apis/elasticloadbalancing/2012-06-01/endpoint-rule-set-1.json create mode 100644 models/apis/elasticloadbalancing/2012-06-01/endpoint-tests-1.json create mode 100644 models/apis/elasticloadbalancing/2012-06-01/smoke-2.json create mode 100644 models/apis/eventbridge/2015-10-07/smoke-2.json create mode 100644 models/apis/logs/2014-03-28/smoke-2.json diff --git a/CHANGELOG.md b/CHANGELOG.md index c086c7b8847..58cb99a37e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +Release v1.55.5 (2024-07-30) +=== + +### Service Client Updates +* `service/appstream`: Updates service API and documentation + * Added support for Red Hat Enterprise Linux 8 on Amazon AppStream 2.0 +* `service/autoscaling`: Updates service API and documentation + * Increase the length limit for VPCZoneIdentifier from 2047 to 5000 +* `service/codepipeline`: Updates service API, documentation, and paginators + * AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements. +* `service/elasticache`: Updates service documentation + * Doc only update for changes to deletion API. +* `service/elasticloadbalancing`: Updates service API +* `service/eventbridge`: Updates service API +* `service/logs`: Updates service API + * Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* `service/models.lex.v2`: Updates service API and documentation +* `service/rolesanywhere`: Updates service API and documentation +* `service/tnb`: Updates service API and documentation +* `service/workspaces`: Updates service documentation + * Removing multi-session as it isn't supported for pools + Release v1.55.4 (2024-07-29) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 5b7d7544281..c3516e018a5 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -9503,6 +9503,12 @@ var awsPartition = partition{ endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 28dffbfa1c8..d15e3c84c01 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.55.4" +const SDKVersion = "1.55.5" diff --git a/models/apis/appstream/2016-12-01/api-2.json b/models/apis/appstream/2016-12-01/api-2.json index ac33cfa6e4f..36de9ade003 100644 --- a/models/apis/appstream/2016-12-01/api-2.json +++ b/models/apis/appstream/2016-12-01/api-2.json @@ -5,12 +5,14 @@ "endpointPrefix":"appstream2", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"Amazon AppStream", "serviceId":"AppStream", "signatureVersion":"v4", "signingName":"appstream", "targetPrefix":"PhotonAdminProxyService", - "uid":"appstream-2016-12-01" + "uid":"appstream-2016-12-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "AssociateAppBlockBuilderAppBlock":{ @@ -2929,7 +2931,8 @@ "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", - "AMAZON_LINUX2" + "AMAZON_LINUX2", + "RHEL8" ] }, "Platforms":{ diff --git a/models/apis/appstream/2016-12-01/docs-2.json b/models/apis/appstream/2016-12-01/docs-2.json index 4bc66152809..f5babbedda0 100644 --- a/models/apis/appstream/2016-12-01/docs-2.json +++ b/models/apis/appstream/2016-12-01/docs-2.json @@ -1329,8 +1329,8 @@ "ComputeCapacityStatus$ActiveUserSessions": "

The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.

", "ComputeCapacityStatus$ActualUserSessions": "

The total number of session slots that are available for streaming or are currently streaming.

ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions

This only applies to multi-session fleets.

", "CreateFleetRequest$MaxUserDurationInSeconds": "

The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

Specify a value between 600 and 432000.

", - "CreateFleetRequest$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 360000.

", - "CreateFleetRequest$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", + "CreateFleetRequest$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 36000.

", + "CreateFleetRequest$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If they try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", "CreateFleetRequest$MaxConcurrentSessions": "

The maximum concurrent sessions of the Elastic fleet. This is required for Elastic fleets, and not allowed for other fleet types.

", "CreateFleetRequest$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

", "DescribeAppBlockBuilderAppBlockAssociationsRequest$MaxResults": "

The maximum size of each page of results.

", @@ -1345,18 +1345,18 @@ "DescribeUsageReportSubscriptionsRequest$MaxResults": "

The maximum size of each page of results.

", "DescribeUsersRequest$MaxResults": "

The maximum size of each page of results.

", "Fleet$MaxUserDurationInSeconds": "

The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

Specify a value between 600 and 360000.

", - "Fleet$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If they try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 360000.

", - "Fleet$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", + "Fleet$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If they try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 36000.

", + "Fleet$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", "Fleet$MaxConcurrentSessions": "

The maximum number of concurrent sessions for the fleet.

", "Fleet$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

", "ListEntitledApplicationsRequest$MaxResults": "

The maximum size of each page of results.

", "ScriptDetails$TimeoutInSeconds": "

The run timeout, in seconds, for the script.

", "UpdateFleetRequest$MaxUserDurationInSeconds": "

The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.

Specify a value between 600 and 432000.

", - "UpdateFleetRequest$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 360000.

", - "UpdateFleetRequest$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", + "UpdateFleetRequest$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 36000.

", + "UpdateFleetRequest$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 36000. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", "UpdateFleetRequest$MaxConcurrentSessions": "

The maximum number of concurrent sessions for a fleet.

", "UpdateFleetRequest$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

", - "UserSetting$MaximumLength": "

Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.

This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions.

This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED. This can't be specified when the permission is DISABLED.

This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.

The value can be between 1 and 20,971,520 (20 MB).

" + "UserSetting$MaximumLength": "

Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.

This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions.

This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED. This can't be specified when the permission is DISABLED.

The value can be between 1 and 20,971,520 (20 MB).

" } }, "InvalidAccountStatusException": { diff --git a/models/apis/appstream/2016-12-01/smoke-2.json b/models/apis/appstream/2016-12-01/smoke-2.json new file mode 100644 index 00000000000..1c8475544b2 --- /dev/null +++ b/models/apis/appstream/2016-12-01/smoke-2.json @@ -0,0 +1,16 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeStacksSuccess", + "operationName": "DescribeStacks", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/autoscaling/2011-01-01/api-2.json b/models/apis/autoscaling/2011-01-01/api-2.json index b307495faaf..2a09194488f 100644 --- a/models/apis/autoscaling/2011-01-01/api-2.json +++ b/models/apis/autoscaling/2011-01-01/api-2.json @@ -1232,7 +1232,7 @@ "CreatedTime":{"shape":"TimestampType"}, "SuspendedProcesses":{"shape":"SuspendedProcesses"}, "PlacementGroup":{"shape":"XmlStringMaxLen255"}, - "VPCZoneIdentifier":{"shape":"XmlStringMaxLen2047"}, + "VPCZoneIdentifier":{"shape":"XmlStringMaxLen5000"}, "EnabledMetrics":{"shape":"EnabledMetrics"}, "Status":{"shape":"XmlStringMaxLen255"}, "Tags":{"shape":"TagDescriptionList"}, @@ -1514,7 +1514,7 @@ "HealthCheckType":{"shape":"XmlStringMaxLen32"}, "HealthCheckGracePeriod":{"shape":"HealthCheckGracePeriod"}, "PlacementGroup":{"shape":"XmlStringMaxLen255"}, - "VPCZoneIdentifier":{"shape":"XmlStringMaxLen2047"}, + "VPCZoneIdentifier":{"shape":"XmlStringMaxLen5000"}, "TerminationPolicies":{"shape":"TerminationPolicies"}, "NewInstancesProtectedFromScaleIn":{"shape":"InstanceProtected"}, "CapacityRebalance":{"shape":"CapacityRebalanceEnabled"}, @@ -3540,7 +3540,7 @@ "HealthCheckType":{"shape":"XmlStringMaxLen32"}, "HealthCheckGracePeriod":{"shape":"HealthCheckGracePeriod"}, "PlacementGroup":{"shape":"XmlStringMaxLen255"}, - "VPCZoneIdentifier":{"shape":"XmlStringMaxLen2047"}, + "VPCZoneIdentifier":{"shape":"XmlStringMaxLen5000"}, "TerminationPolicies":{"shape":"TerminationPolicies"}, "NewInstancesProtectedFromScaleIn":{"shape":"InstanceProtected"}, "ServiceLinkedRoleARN":{"shape":"ResourceName"}, @@ -3631,6 +3631,12 @@ "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, + "XmlStringMaxLen5000":{ + "type":"string", + "max":5000, + "min":1, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + }, "XmlStringMaxLen511":{ "type":"string", "max":511, diff --git a/models/apis/autoscaling/2011-01-01/docs-2.json b/models/apis/autoscaling/2011-01-01/docs-2.json index 0a8d08e2592..4b62c6a1697 100644 --- a/models/apis/autoscaling/2011-01-01/docs-2.json +++ b/models/apis/autoscaling/2011-01-01/docs-2.json @@ -2469,10 +2469,7 @@ "XmlStringMaxLen2047": { "base": null, "refs": { - "AutoScalingGroup$VPCZoneIdentifier": "

One or more subnet IDs, if applicable, separated by commas.

", - "CreateAutoScalingGroupType$VPCZoneIdentifier": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify must reside in those Availability Zones.

", - "TargetTrackingMetricDataQuery$Expression": "

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

", - "UpdateAutoScalingGroupType$VPCZoneIdentifier": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify must reside in those Availability Zones.

" + "TargetTrackingMetricDataQuery$Expression": "

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

" } }, "XmlStringMaxLen255": { @@ -2651,6 +2648,14 @@ "UpdateAutoScalingGroupType$HealthCheckType": "

A comma-separated value string of one or more health check types.

The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Only specify EC2 if you must clear a value that was previously set.

" } }, + "XmlStringMaxLen5000": { + "base": null, + "refs": { + "AutoScalingGroup$VPCZoneIdentifier": "

One or more subnet IDs, if applicable, separated by commas.

", + "CreateAutoScalingGroupType$VPCZoneIdentifier": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify must reside in those Availability Zones.

", + "UpdateAutoScalingGroupType$VPCZoneIdentifier": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify must reside in those Availability Zones.

" + } + }, "XmlStringMaxLen511": { "base": null, "refs": { diff --git a/models/apis/codepipeline/2015-07-09/api-2.json b/models/apis/codepipeline/2015-07-09/api-2.json index 754823242db..1725fb8ed0d 100644 --- a/models/apis/codepipeline/2015-07-09/api-2.json +++ b/models/apis/codepipeline/2015-07-09/api-2.json @@ -294,6 +294,34 @@ {"shape":"InvalidNextTokenException"} ] }, + "ListRuleExecutions":{ + "name":"ListRuleExecutions", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListRuleExecutionsInput"}, + "output":{"shape":"ListRuleExecutionsOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"InvalidNextTokenException"}, + {"shape":"PipelineExecutionNotFoundException"} + ] + }, + "ListRuleTypes":{ + "name":"ListRuleTypes", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListRuleTypesInput"}, + "output":{"shape":"ListRuleTypesOutput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InvalidNextTokenException"} + ] + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -322,6 +350,23 @@ {"shape":"InvalidNextTokenException"} ] }, + "OverrideStageCondition":{ + "name":"OverrideStageCondition", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"OverrideStageConditionInput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"StageNotFoundException"}, + {"shape":"ConditionNotOverridableException"}, + {"shape":"NotLatestPipelineExecutionException"}, + {"shape":"ConcurrentPipelineExecutionsLimitExceededException"} + ] + }, "PollForJobs":{ "name":"PollForJobs", "http":{ @@ -360,7 +405,8 @@ {"shape":"PipelineNotFoundException"}, {"shape":"StageNotFoundException"}, {"shape":"ActionNotFoundException"}, - {"shape":"ValidationException"} + {"shape":"ValidationException"}, + {"shape":"ConcurrentPipelineExecutionsLimitExceededException"} ] }, "PutApprovalResult":{ @@ -481,7 +527,8 @@ {"shape":"PipelineNotFoundException"}, {"shape":"StageNotFoundException"}, {"shape":"StageNotRetryableException"}, - {"shape":"NotLatestPipelineExecutionException"} + {"shape":"NotLatestPipelineExecutionException"}, + {"shape":"ConcurrentPipelineExecutionsLimitExceededException"} ] }, "RollbackStage":{ @@ -1204,6 +1251,13 @@ "type":"string", "enum":["S3"] }, + "BeforeEntryConditions":{ + "type":"structure", + "required":["conditions"], + "members":{ + "conditions":{"shape":"ConditionList"} + } + }, "BlockerDeclaration":{ "type":"structure", "required":[ @@ -1255,6 +1309,64 @@ }, "exception":true }, + "Condition":{ + "type":"structure", + "members":{ + "result":{"shape":"Result"}, + "rules":{"shape":"RuleDeclarationList"} + } + }, + "ConditionExecution":{ + "type":"structure", + "members":{ + "status":{"shape":"ConditionExecutionStatus"}, + "summary":{"shape":"ExecutionSummary"}, + "lastStatusChange":{"shape":"Timestamp"} + } + }, + "ConditionExecutionStatus":{ + "type":"string", + "enum":[ + "InProgress", + "Failed", + "Errored", + "Succeeded", + "Cancelled", + "Abandoned", + "Overridden" + ] + }, + "ConditionList":{ + "type":"list", + "member":{"shape":"Condition"}, + "max":1, + "min":1 + }, + "ConditionNotOverridableException":{ + "type":"structure", + "members":{ + "message":{"shape":"String"} + }, + "exception":true + }, + "ConditionState":{ + "type":"structure", + "members":{ + "latestExecution":{"shape":"ConditionExecution"}, + "ruleStates":{"shape":"RuleStateList"} + } + }, + "ConditionStateList":{ + "type":"list", + "member":{"shape":"ConditionState"} + }, + "ConditionType":{ + "type":"string", + "enum":[ + "BEFORE_ENTRY", + "ON_SUCCESS" + ] + }, "ConflictException":{ "type":"structure", "members":{ @@ -1499,7 +1611,8 @@ "FailureConditions":{ "type":"structure", "members":{ - "result":{"shape":"Result"} + "result":{"shape":"Result"}, + "conditions":{"shape":"ConditionList"} } }, "FailureDetails":{ @@ -1999,6 +2112,37 @@ "nextToken":{"shape":"NextToken"} } }, + "ListRuleExecutionsInput":{ + "type":"structure", + "required":["pipelineName"], + "members":{ + "pipelineName":{"shape":"PipelineName"}, + "filter":{"shape":"RuleExecutionFilter"}, + "maxResults":{"shape":"MaxResults"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListRuleExecutionsOutput":{ + "type":"structure", + "members":{ + "ruleExecutionDetails":{"shape":"RuleExecutionDetailList"}, + "nextToken":{"shape":"NextToken"} + } + }, + "ListRuleTypesInput":{ + "type":"structure", + "members":{ + "ruleOwnerFilter":{"shape":"RuleOwner"}, + "regionFilter":{"shape":"AWSRegionName"} + } + }, + "ListRuleTypesOutput":{ + "type":"structure", + "required":["ruleTypes"], + "members":{ + "ruleTypes":{"shape":"RuleTypeList"} + } + }, "ListTagsForResourceInput":{ "type":"structure", "required":["resourceArn"], @@ -2133,6 +2277,21 @@ "exception":true }, "OutputVariablesValue":{"type":"string"}, + "OverrideStageConditionInput":{ + "type":"structure", + "required":[ + "pipelineName", + "stageName", + "pipelineExecutionId", + "conditionType" + ], + "members":{ + "pipelineName":{"shape":"PipelineName"}, + "stageName":{"shape":"StageName"}, + "pipelineExecutionId":{"shape":"PipelineExecutionId"}, + "conditionType":{"shape":"ConditionType"} + } + }, "Percentage":{ "type":"integer", "max":100, @@ -2589,6 +2748,11 @@ "type":"list", "member":{"shape":"ResolvedPipelineVariable"} }, + "ResolvedRuleConfigurationMap":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, "ResourceArn":{ "type":"string", "pattern":"arn:aws(-[\\w]+)*:codepipeline:.+:[0-9]{12}:.+" @@ -2601,7 +2765,10 @@ }, "Result":{ "type":"string", - "enum":["ROLLBACK"] + "enum":[ + "ROLLBACK", + "FAIL" + ] }, "RetryStageExecutionInput":{ "type":"structure", @@ -2664,6 +2831,255 @@ "pipelineExecutionId":{"shape":"PipelineExecutionId"} } }, + "RuleCategory":{ + "type":"string", + "enum":["Rule"] + }, + "RuleConfigurationKey":{ + "type":"string", + "max":50, + "min":1 + }, + "RuleConfigurationMap":{ + "type":"map", + "key":{"shape":"RuleConfigurationKey"}, + "value":{"shape":"RuleConfigurationValue"}, + "max":200, + "min":0 + }, + "RuleConfigurationProperty":{ + "type":"structure", + "required":[ + "name", + "required", + "key", + "secret" + ], + "members":{ + "name":{"shape":"RuleConfigurationKey"}, + "required":{"shape":"Boolean"}, + "key":{"shape":"Boolean"}, + "secret":{"shape":"Boolean"}, + "queryable":{"shape":"Boolean"}, + "description":{"shape":"Description"}, + "type":{"shape":"RuleConfigurationPropertyType"} + } + }, + "RuleConfigurationPropertyList":{ + "type":"list", + "member":{"shape":"RuleConfigurationProperty"}, + "max":10 + }, + "RuleConfigurationPropertyType":{ + "type":"string", + "enum":[ + "String", + "Number", + "Boolean" + ] + }, + "RuleConfigurationValue":{ + "type":"string", + "max":10000, + "min":1 + }, + "RuleDeclaration":{ + "type":"structure", + "required":[ + "name", + "ruleTypeId" + ], + "members":{ + "name":{"shape":"RuleName"}, + "ruleTypeId":{"shape":"RuleTypeId"}, + "configuration":{"shape":"RuleConfigurationMap"}, + "inputArtifacts":{"shape":"InputArtifactList"}, + "roleArn":{"shape":"RoleArn"}, + "region":{"shape":"AWSRegionName"}, + "timeoutInMinutes":{"shape":"RuleTimeout"} + } + }, + "RuleDeclarationList":{ + "type":"list", + "member":{"shape":"RuleDeclaration"}, + "max":5, + "min":1 + }, + "RuleExecution":{ + "type":"structure", + "members":{ + "ruleExecutionId":{"shape":"RuleExecutionId"}, + "status":{"shape":"RuleExecutionStatus"}, + "summary":{"shape":"ExecutionSummary"}, + "lastStatusChange":{"shape":"Timestamp"}, + "token":{"shape":"RuleExecutionToken"}, + "lastUpdatedBy":{"shape":"LastUpdatedBy"}, + "externalExecutionId":{"shape":"ExecutionId"}, + "externalExecutionUrl":{"shape":"Url"}, + "errorDetails":{"shape":"ErrorDetails"} + } + }, + "RuleExecutionDetail":{ + "type":"structure", + "members":{ + "pipelineExecutionId":{"shape":"PipelineExecutionId"}, + "ruleExecutionId":{"shape":"RuleExecutionId"}, + "pipelineVersion":{"shape":"PipelineVersion"}, + "stageName":{"shape":"StageName"}, + "ruleName":{"shape":"RuleName"}, + "startTime":{"shape":"Timestamp"}, + "lastUpdateTime":{"shape":"Timestamp"}, + "updatedBy":{"shape":"LastUpdatedBy"}, + "status":{"shape":"RuleExecutionStatus"}, + "input":{"shape":"RuleExecutionInput"}, + "output":{"shape":"RuleExecutionOutput"} + } + }, + "RuleExecutionDetailList":{ + "type":"list", + "member":{"shape":"RuleExecutionDetail"} + }, + "RuleExecutionFilter":{ + "type":"structure", + "members":{ + "pipelineExecutionId":{"shape":"PipelineExecutionId"}, + "latestInPipelineExecution":{"shape":"LatestInPipelineExecutionFilter"} + } + }, + "RuleExecutionId":{ + "type":"string", + "max":200, + "min":1 + }, + "RuleExecutionInput":{ + "type":"structure", + "members":{ + "ruleTypeId":{"shape":"RuleTypeId"}, + "configuration":{"shape":"RuleConfigurationMap"}, + "resolvedConfiguration":{"shape":"ResolvedRuleConfigurationMap"}, + "roleArn":{"shape":"RoleArn"}, + "region":{"shape":"AWSRegionName"}, + "inputArtifacts":{"shape":"ArtifactDetailList"} + } + }, + "RuleExecutionOutput":{ + "type":"structure", + "members":{ + "executionResult":{"shape":"RuleExecutionResult"} + } + }, + "RuleExecutionResult":{ + "type":"structure", + "members":{ + "externalExecutionId":{"shape":"ExternalExecutionId"}, + "externalExecutionSummary":{"shape":"ExternalExecutionSummary"}, + "externalExecutionUrl":{"shape":"Url"}, + "errorDetails":{"shape":"ErrorDetails"} + } + }, + "RuleExecutionStatus":{ + "type":"string", + "enum":[ + "InProgress", + "Abandoned", + "Succeeded", + "Failed" + ] + }, + "RuleExecutionToken":{ + "type":"string", + "max":200, + "min":1, + "pattern":"[a-zA-Z0-9\\-\\.]+" + }, + "RuleName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"[A-Za-z0-9.@\\-_]+" + }, + "RuleOwner":{ + "type":"string", + "enum":["AWS"] + }, + "RuleProvider":{ + "type":"string", + "max":35, + "min":1, + "pattern":"[0-9A-Za-z_-]+" + }, + "RuleRevision":{ + "type":"structure", + "required":[ + "revisionId", + "revisionChangeId", + "created" + ], + "members":{ + "revisionId":{"shape":"Revision"}, + "revisionChangeId":{"shape":"RevisionChangeIdentifier"}, + "created":{"shape":"Timestamp"} + } + }, + "RuleState":{ + "type":"structure", + "members":{ + "ruleName":{"shape":"RuleName"}, + "currentRevision":{"shape":"RuleRevision"}, + "latestExecution":{"shape":"RuleExecution"}, + "entityUrl":{"shape":"Url"}, + "revisionUrl":{"shape":"Url"} + } + }, + "RuleStateList":{ + "type":"list", + "member":{"shape":"RuleState"} + }, + "RuleTimeout":{ + "type":"integer", + "box":true, + "max":86400, + "min":5 + }, + "RuleType":{ + "type":"structure", + "required":[ + "id", + "inputArtifactDetails" + ], + "members":{ + "id":{"shape":"RuleTypeId"}, + "settings":{"shape":"RuleTypeSettings"}, + "ruleConfigurationProperties":{"shape":"RuleConfigurationPropertyList"}, + "inputArtifactDetails":{"shape":"ArtifactDetails"} + } + }, + "RuleTypeId":{ + "type":"structure", + "required":[ + "category", + "provider" + ], + "members":{ + "category":{"shape":"RuleCategory"}, + "owner":{"shape":"RuleOwner"}, + "provider":{"shape":"RuleProvider"}, + "version":{"shape":"Version"} + } + }, + "RuleTypeList":{ + "type":"list", + "member":{"shape":"RuleType"} + }, + "RuleTypeSettings":{ + "type":"structure", + "members":{ + "thirdPartyConfigurationUrl":{"shape":"Url"}, + "entityUrlTemplate":{"shape":"UrlTemplate"}, + "executionUrlTemplate":{"shape":"UrlTemplate"}, + "revisionUrlTemplate":{"shape":"UrlTemplate"} + } + }, "S3ArtifactLocation":{ "type":"structure", "required":[ @@ -2757,6 +3173,20 @@ "type":"list", "member":{"shape":"BlockerDeclaration"} }, + "StageConditionState":{ + "type":"structure", + "members":{ + "latestExecution":{"shape":"StageConditionsExecution"}, + "conditionStates":{"shape":"ConditionStateList"} + } + }, + "StageConditionsExecution":{ + "type":"structure", + "members":{ + "status":{"shape":"ConditionExecutionStatus"}, + "summary":{"shape":"ExecutionSummary"} + } + }, "StageContext":{ "type":"structure", "members":{ @@ -2773,7 +3203,9 @@ "name":{"shape":"StageName"}, "blockers":{"shape":"StageBlockerDeclarationList"}, "actions":{"shape":"StageActionDeclarationList"}, - "onFailure":{"shape":"FailureConditions"} + "onFailure":{"shape":"FailureConditions"}, + "onSuccess":{"shape":"SuccessConditions"}, + "beforeEntry":{"shape":"BeforeEntryConditions"} } }, "StageExecution":{ @@ -2836,7 +3268,10 @@ "inboundExecutions":{"shape":"StageExecutionList"}, "inboundTransitionState":{"shape":"TransitionState"}, "actionStates":{"shape":"ActionStateList"}, - "latestExecution":{"shape":"StageExecution"} + "latestExecution":{"shape":"StageExecution"}, + "beforeEntryConditionState":{"shape":"StageConditionState"}, + "onSuccessConditionState":{"shape":"StageConditionState"}, + "onFailureConditionState":{"shape":"StageConditionState"} } }, "StageStateList":{ @@ -2912,6 +3347,13 @@ "stageName":{"shape":"StageName"} } }, + "SuccessConditions":{ + "type":"structure", + "required":["conditions"], + "members":{ + "conditions":{"shape":"ConditionList"} + } + }, "Tag":{ "type":"structure", "required":[ diff --git a/models/apis/codepipeline/2015-07-09/docs-2.json b/models/apis/codepipeline/2015-07-09/docs-2.json index 06c94964a9b..5688adba4dc 100644 --- a/models/apis/codepipeline/2015-07-09/docs-2.json +++ b/models/apis/codepipeline/2015-07-09/docs-2.json @@ -22,8 +22,11 @@ "ListActionTypes": "

Gets a summary of all CodePipeline action types associated with your account.

", "ListPipelineExecutions": "

Gets a summary of the most recent executions for a pipeline.

When applying the filter for pipeline executions that have succeeded in the stage, the operation returns all executions in the current pipeline version beginning on February 1, 2024.

", "ListPipelines": "

Gets a summary of all of the pipelines associated with your account.

", + "ListRuleExecutions": "

Lists the rule executions that have occurred in a pipeline configured for conditions with rules.

", + "ListRuleTypes": "

Lists the rules for the condition.

", "ListTagsForResource": "

Gets the set of key-value pairs (metadata) that are used to manage the resource.

", "ListWebhooks": "

Gets a listing of all the webhooks in this Amazon Web Services Region for this account. The output lists all webhooks and includes the webhook URL and ARN and the configuration for each webhook.

", + "OverrideStageCondition": "

Used to override a stage condition.

", "PollForJobs": "

Returns information about any jobs for CodePipeline to act on. PollForJobs is valid only for action types with \"Custom\" in the owner field. If the action type contains AWS or ThirdParty in the owner field, the PollForJobs action returns an error.

When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.

", "PollForThirdPartyJobs": "

Determines whether there are any third party jobs for a job worker to act on. Used for partner actions only.

When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts.

", "PutActionRevision": "

Provides information to CodePipeline about new revisions to a source.

", @@ -50,7 +53,10 @@ "ActionDeclaration$region": "

The action declaration's Amazon Web Services Region, such as us-east-1.

", "ActionExecutionInput$region": "

The Amazon Web Services Region for the action, such as us-east-1.

", "ArtifactStoreMap$key": null, - "ListActionTypesInput$regionFilter": "

The Region to filter on for the list of action types.

" + "ListActionTypesInput$regionFilter": "

The Region to filter on for the list of action types.

", + "ListRuleTypesInput$regionFilter": "

The rule Region to filter on.

", + "RuleDeclaration$region": "

The Region for the condition associated with the rule.

", + "RuleExecutionInput$region": "

The Amazon Web Services Region for the rule, such as us-east-1.

" } }, "AWSSessionCredentials": { @@ -471,7 +477,8 @@ "base": null, "refs": { "ActionExecutionInput$inputArtifacts": "

Details of input artifacts of the action that correspond to the action execution.

", - "ActionExecutionOutput$outputArtifacts": "

Details of output artifacts of the action that correspond to the action execution.

" + "ActionExecutionOutput$outputArtifacts": "

Details of output artifacts of the action that correspond to the action execution.

", + "RuleExecutionInput$inputArtifacts": "

Details of input artifacts of the rule that correspond to the rule execution.

" } }, "ArtifactDetails": { @@ -480,7 +487,8 @@ "ActionType$inputArtifactDetails": "

The details of the input artifact for the action, such as its commit ID.

", "ActionType$outputArtifactDetails": "

The details of the output artifact of the action, such as its commit ID.

", "CreateCustomActionTypeInput$inputArtifactDetails": "

The details of the input artifact for the action, such as its commit ID.

", - "CreateCustomActionTypeInput$outputArtifactDetails": "

The details of the output artifact of the action, such as its commit ID.

" + "CreateCustomActionTypeInput$outputArtifactDetails": "

The details of the output artifact of the action, such as its commit ID.

", + "RuleType$inputArtifactDetails": null } }, "ArtifactList": { @@ -551,6 +559,12 @@ "ArtifactStore$type": "

The type of the artifact store, such as S3.

" } }, + "BeforeEntryConditions": { + "base": "

The conditions for making checks for entry to a stage.

", + "refs": { + "StageDeclaration$beforeEntry": "

The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.

" + } + }, "BlockerDeclaration": { "base": "

Reserved for future use.

", "refs": { @@ -581,6 +595,10 @@ "ActionTypeProperty$noEcho": "

Whether to omit the field value entered by the customer in the log. If true, the value is not saved in CloudTrail logs for the action execution.

", "ActionTypeProperty$queryable": "

Indicates that the property is used with polling. An action type can have up to one queryable property. If it has one, that property must be both required and not secret.

", "PutActionRevisionOutput$newRevision": "

Indicates whether the artifact revision was previously used in an execution of the specified pipeline.

", + "RuleConfigurationProperty$required": "

Whether the configuration property is a required value.

", + "RuleConfigurationProperty$key": "

Whether the configuration property is a key.

", + "RuleConfigurationProperty$secret": "

Whether the configuration property is secret.

When updating a pipeline, passing * * * * * without changing any other values of the action preserves the previous value of the secret.

", + "RuleConfigurationProperty$queryable": "

Indicates whether the property can be queried.

If you create a pipeline with a condition and rule, and that rule contains a queryable property, the value for that configuration property is subject to other restrictions. The value must be less than or equal to twenty (20) characters. The value can contain only alphanumeric characters, underscores, and hyphens.

", "StopPipelineExecutionInput$abandon": "

Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.

This option can lead to failed or out-of-sequence tasks.

" } }, @@ -621,6 +639,56 @@ "refs": { } }, + "Condition": { + "base": "

The condition for the stage. A condition is made up of the rules and the result for the condition.

", + "refs": { + "ConditionList$member": null + } + }, + "ConditionExecution": { + "base": "

The run of a condition.

", + "refs": { + "ConditionState$latestExecution": "

The state of the latest run of the rule.

" + } + }, + "ConditionExecutionStatus": { + "base": null, + "refs": { + "ConditionExecution$status": "

The status of the run for a condition.

", + "StageConditionsExecution$status": "

The status of a run of a condition for a stage.

" + } + }, + "ConditionList": { + "base": null, + "refs": { + "BeforeEntryConditions$conditions": "

The conditions that are configured as entry conditions.

", + "FailureConditions$conditions": "

The conditions that are configured as failure conditions.

", + "SuccessConditions$conditions": "

The conditions that are success conditions.

" + } + }, + "ConditionNotOverridableException": { + "base": "

Unable to override because the condition does not allow overrides.

", + "refs": { + } + }, + "ConditionState": { + "base": "

Information about the state of the condition.

", + "refs": { + "ConditionStateList$member": null + } + }, + "ConditionStateList": { + "base": null, + "refs": { + "StageConditionState$conditionStates": "

The states of the conditions for a run of a condition for a stage.

" + } + }, + "ConditionType": { + "base": null, + "refs": { + "OverrideStageConditionInput$conditionType": "

The type of condition to override for the stage, such as entry conditions, failure conditions, or success conditions.

" + } + }, "ConflictException": { "base": "

Your request cannot be handled because the pipeline is busy handling ongoing activities. Try again later.

", "refs": { @@ -695,7 +763,8 @@ "Description": { "base": null, "refs": { - "ActionConfigurationProperty$description": "

The description of the action configuration property that is displayed to users.

" + "ActionConfigurationProperty$description": "

The description of the action configuration property that is displayed to users.

", + "RuleConfigurationProperty$description": "

The description of the action configuration property that is displayed to users.

" } }, "DisableStageTransitionInput": { @@ -750,7 +819,9 @@ "base": "

Represents information about an error in CodePipeline.

", "refs": { "ActionExecution$errorDetails": "

The details of an error returned by a URL external to Amazon Web Services.

", - "ActionExecutionResult$errorDetails": null + "ActionExecutionResult$errorDetails": null, + "RuleExecution$errorDetails": null, + "RuleExecutionResult$errorDetails": null } }, "ExecutionDetails": { @@ -765,7 +836,8 @@ "refs": { "ActionExecution$externalExecutionId": "

The external ID of the run of the action.

", "ExecutionDetails$externalExecutionId": "

The system-generated unique ID of this action used to identify this job worker in any external systems, such as CodeDeploy.

", - "FailureDetails$externalExecutionId": "

The external ID of the run of the action that failed.

" + "FailureDetails$externalExecutionId": "

The external ID of the run of the action that failed.

", + "RuleExecution$externalExecutionId": "

The external ID of the run of the rule.

" } }, "ExecutionMode": { @@ -781,7 +853,10 @@ "base": null, "refs": { "ActionExecution$summary": "

A summary of the run of the action.

", - "ExecutionDetails$summary": "

The summary of the current status of the actions.

" + "ConditionExecution$summary": "

The summary of information about a run for a condition.

", + "ExecutionDetails$summary": "

The summary of the current status of the actions.

", + "RuleExecution$summary": "

A summary of the run of the rule.

", + "StageConditionsExecution$summary": "

A summary of the run of the condition for a stage.

" } }, "ExecutionTrigger": { @@ -814,13 +889,15 @@ "ExternalExecutionId": { "base": null, "refs": { - "ActionExecutionResult$externalExecutionId": "

The action provider's external ID for the action execution.

" + "ActionExecutionResult$externalExecutionId": "

The action provider's external ID for the action execution.

", + "RuleExecutionResult$externalExecutionId": "

The external ID for the rule execution.

" } }, "ExternalExecutionSummary": { "base": null, "refs": { - "ActionExecutionResult$externalExecutionSummary": "

The action provider's summary for the action execution.

" + "ActionExecutionResult$externalExecutionSummary": "

The action provider's summary for the action execution.

", + "RuleExecutionResult$externalExecutionSummary": "

The external provider summary for the rule execution.

" } }, "FailureConditions": { @@ -1012,7 +1089,8 @@ "InputArtifactList": { "base": null, "refs": { - "ActionDeclaration$inputArtifacts": "

The name or ID of the artifact consumed by the action, such as a test or build artifact.

" + "ActionDeclaration$inputArtifacts": "

The name or ID of the artifact consumed by the action, such as a test or build artifact.

", + "RuleDeclaration$inputArtifacts": "

The input artifacts fields for the rule, such as specifying an input file for the rule.

" } }, "InvalidActionDeclarationException": { @@ -1180,13 +1258,16 @@ "base": null, "refs": { "ActionExecution$lastUpdatedBy": "

The ARN of the user who last changed the pipeline.

", - "ActionExecutionDetail$updatedBy": "

The ARN of the user who changed the pipeline execution details.

" + "ActionExecutionDetail$updatedBy": "

The ARN of the user who changed the pipeline execution details.

", + "RuleExecution$lastUpdatedBy": "

The ARN of the user who last changed the rule.

", + "RuleExecutionDetail$updatedBy": "

The ARN of the user who changed the rule execution details.

" } }, "LatestInPipelineExecutionFilter": { "base": "

The field that specifies to filter on the latest execution in the pipeline.

Filtering on the latest execution is available for executions run on or after February 08, 2024.

", "refs": { - "ActionExecutionFilter$latestInPipelineExecution": "

The latest execution in the pipeline.

Filtering on the latest execution is available for executions run on or after February 08, 2024.

" + "ActionExecutionFilter$latestInPipelineExecution": "

The latest execution in the pipeline.

Filtering on the latest execution is available for executions run on or after February 08, 2024.

", + "RuleExecutionFilter$latestInPipelineExecution": null } }, "LimitExceededException": { @@ -1234,6 +1315,26 @@ "refs": { } }, + "ListRuleExecutionsInput": { + "base": null, + "refs": { + } + }, + "ListRuleExecutionsOutput": { + "base": null, + "refs": { + } + }, + "ListRuleTypesInput": { + "base": null, + "refs": { + } + }, + "ListRuleTypesOutput": { + "base": null, + "refs": { + } + }, "ListTagsForResourceInput": { "base": null, "refs": { @@ -1285,6 +1386,7 @@ "refs": { "ListActionExecutionsInput$maxResults": "

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Action execution history is retained for up to 12 months, based on action execution start times. Default value is 100.

", "ListPipelineExecutionsInput$maxResults": "

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.

", + "ListRuleExecutionsInput$maxResults": "

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.

", "ListTagsForResourceInput$maxResults": "

The maximum number of results to return in a single call.

", "ListWebhooksInput$MaxResults": "

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" } @@ -1342,6 +1444,8 @@ "ListPipelineExecutionsOutput$nextToken": "

A token that can be used in the next ListPipelineExecutions call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

", "ListPipelinesInput$nextToken": "

An identifier that was returned from the previous list pipelines call. It can be used to return the next set of pipelines in the list.

", "ListPipelinesOutput$nextToken": "

If the amount of returned information is significantly large, an identifier is also returned. It can be used in a subsequent list pipelines call to return the next set of pipelines in the list.

", + "ListRuleExecutionsInput$nextToken": "

The token that was returned from the previous ListRuleExecutions call, which can be used to return the next set of rule executions in the list.

", + "ListRuleExecutionsOutput$nextToken": "

A token that can be used in the next ListRuleExecutions call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.

", "ListTagsForResourceInput$nextToken": "

The token that was returned from the previous API call, which would be used to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.

", "ListTagsForResourceOutput$nextToken": "

If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent API call to return the next page of the list. The ListTagsforResource call lists all available tags in one call and does not use pagination.

", "ListWebhooksInput$NextToken": "

The token that was returned from the previous ListWebhooks call, which can be used to return the next set of webhooks in the list.

", @@ -1398,6 +1502,11 @@ "OutputVariablesMap$value": null } }, + "OverrideStageConditionInput": { + "base": null, + "refs": { + } + }, "Percentage": { "base": null, "refs": { @@ -1448,6 +1557,7 @@ "ActionExecutionFilter$pipelineExecutionId": "

The pipeline execution ID used to filter action execution history.

", "GetPipelineExecutionInput$pipelineExecutionId": "

The ID of the pipeline execution about which you want to get execution details.

", "LatestInPipelineExecutionFilter$pipelineExecutionId": "

The execution ID for the latest execution in the pipeline.

", + "OverrideStageConditionInput$pipelineExecutionId": "

The ID of the pipeline execution for the override.

", "PipelineContext$pipelineExecutionId": "

The execution ID of the pipeline.

", "PipelineExecution$pipelineExecutionId": "

The ID of the pipeline execution.

", "PipelineExecutionSummary$pipelineExecutionId": "

The ID of the pipeline execution.

", @@ -1457,6 +1567,8 @@ "RetryStageExecutionOutput$pipelineExecutionId": "

The ID of the current workflow execution in the failed stage.

", "RollbackStageInput$targetPipelineExecutionId": "

The pipeline execution ID for the stage to be rolled back to.

", "RollbackStageOutput$pipelineExecutionId": "

The execution ID of the pipeline execution for the stage that has been rolled back.

", + "RuleExecutionDetail$pipelineExecutionId": "

The ID of the pipeline execution in the stage where the rule was run. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the stage.

", + "RuleExecutionFilter$pipelineExecutionId": "

The pipeline execution ID used to filter rule execution history.

", "StageExecution$pipelineExecutionId": "

The ID of the pipeline execution associated with the stage.

", "StartPipelineExecutionOutput$pipelineExecutionId": "

The unique system-generated ID of the pipeline execution that was started.

", "StopPipelineExecutionInput$pipelineExecutionId": "

The ID of the pipeline execution to be stopped in the current stage. Use the GetPipelineState action to retrieve the current pipelineExecutionId.

", @@ -1528,6 +1640,8 @@ "GetPipelineStateOutput$pipelineName": "

The name of the pipeline for which you want to get the state.

", "ListActionExecutionsInput$pipelineName": "

The name of the pipeline for which you want to list action execution history.

", "ListPipelineExecutionsInput$pipelineName": "

The name of the pipeline for which you want to get execution summary information.

", + "ListRuleExecutionsInput$pipelineName": "

The name of the pipeline for which you want to get execution summary information.

", + "OverrideStageConditionInput$pipelineName": "

The name of the pipeline with the stage that will override the condition.

", "PipelineContext$pipelineName": "

The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.

", "PipelineDeclaration$name": "

The name of the pipeline.

", "PipelineExecution$pipelineName": "

The name of the pipeline with the specified pipeline execution.

", @@ -1647,7 +1761,8 @@ "GetPipelineStateOutput$pipelineVersion": "

The version number of the pipeline.

A newly created pipeline is always assigned a version number of 1.

", "PipelineDeclaration$version": "

The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.

", "PipelineExecution$pipelineVersion": "

The version number of the pipeline with the specified pipeline execution.

", - "PipelineSummary$version": "

The version number of the pipeline.

" + "PipelineSummary$version": "

The version number of the pipeline.

", + "RuleExecutionDetail$pipelineVersion": "

The version number of the pipeline with the stage where the rule was run.

" } }, "PipelineVersionNotFoundException": { @@ -1788,6 +1903,12 @@ "PipelineExecution$variables": "

A list of pipeline variables used for the pipeline execution.

" } }, + "ResolvedRuleConfigurationMap": { + "base": null, + "refs": { + "RuleExecutionInput$resolvedConfiguration": "

Configuration data for a rule execution with all variable references replaced with their real values for the execution.

" + } + }, "ResourceArn": { "base": null, "refs": { @@ -1804,6 +1925,7 @@ "Result": { "base": null, "refs": { + "Condition$result": "

The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

", "FailureConditions$result": "

The specified result for when the failure conditions are met, such as rolling back the stage.

" } }, @@ -1824,6 +1946,7 @@ "Artifact$revision": "

The artifact's revision ID. Depending on the type of object, this could be a commit ID (GitHub) or a revision ID (Amazon S3).

", "ArtifactRevision$revisionId": "

The revision ID of the artifact.

", "CurrentRevision$revision": "

The revision ID of the current version of an artifact.

", + "RuleRevision$revisionId": "

The system-generated unique ID that identifies the revision number of the rule.

", "SourceRevision$revisionId": "

The system-generated unique ID that identifies the revision number of the artifact.

", "SourceRevisionOverride$revisionValue": "

The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.

" } @@ -1833,7 +1956,8 @@ "refs": { "ActionRevision$revisionChangeId": "

The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).

", "ArtifactRevision$revisionChangeIdentifier": "

An additional identifier for a revision, such as a commit date or, for artifacts stored in Amazon S3 buckets, the ETag value.

", - "CurrentRevision$changeIdentifier": "

The change identifier for the current revision.

" + "CurrentRevision$changeIdentifier": "

The change identifier for the current revision.

", + "RuleRevision$revisionChangeId": "

The unique identifier of the change that set the state to this revision (for example, a deployment ID or timestamp).

" } }, "RevisionSummary": { @@ -1849,7 +1973,9 @@ "refs": { "ActionDeclaration$roleArn": "

The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.

", "ActionExecutionInput$roleArn": "

The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.

", - "PipelineDeclaration$roleArn": "

The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn.

" + "PipelineDeclaration$roleArn": "

The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn.

", + "RuleDeclaration$roleArn": "

The pipeline role ARN associated with the rule.

", + "RuleExecutionInput$roleArn": "

The ARN of the IAM service role that performs the declared rule. This is assumed through the roleArn for the pipeline.

" } }, "RollbackStageInput": { @@ -1862,6 +1988,195 @@ "refs": { } }, + "RuleCategory": { + "base": null, + "refs": { + "RuleTypeId$category": "

A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values.

" + } + }, + "RuleConfigurationKey": { + "base": null, + "refs": { + "RuleConfigurationMap$key": null, + "RuleConfigurationProperty$name": "

The name of the rule configuration property.

" + } + }, + "RuleConfigurationMap": { + "base": null, + "refs": { + "RuleDeclaration$configuration": "

The action configuration fields for the rule.

", + "RuleExecutionInput$configuration": "

Configuration data for a rule execution, such as the resolved values for that run.

" + } + }, + "RuleConfigurationProperty": { + "base": "

Represents information about a rule configuration property.

", + "refs": { + "RuleConfigurationPropertyList$member": null + } + }, + "RuleConfigurationPropertyList": { + "base": null, + "refs": { + "RuleType$ruleConfigurationProperties": "

The configuration properties for the rule type.

" + } + }, + "RuleConfigurationPropertyType": { + "base": null, + "refs": { + "RuleConfigurationProperty$type": "

The type of the configuration property.

" + } + }, + "RuleConfigurationValue": { + "base": null, + "refs": { + "RuleConfigurationMap$value": null + } + }, + "RuleDeclaration": { + "base": "

Represents information about the rule to be created for an associated condition. An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage.

", + "refs": { + "RuleDeclarationList$member": null + } + }, + "RuleDeclarationList": { + "base": null, + "refs": { + "Condition$rules": "

The rules that make up the condition.

" + } + }, + "RuleExecution": { + "base": "

Represents information about each time a rule is run as part of the pipeline execution for a pipeline configured with conditions.

", + "refs": { + "RuleState$latestExecution": "

Represents information about the latest run of an rule.

" + } + }, + "RuleExecutionDetail": { + "base": "

The details of the runs for a rule and the results produced on an artifact as it passes through stages in the pipeline.

", + "refs": { + "RuleExecutionDetailList$member": null + } + }, + "RuleExecutionDetailList": { + "base": null, + "refs": { + "ListRuleExecutionsOutput$ruleExecutionDetails": "

Details about the output for listing rule executions.

" + } + }, + "RuleExecutionFilter": { + "base": "

Filter values for the rule execution.

", + "refs": { + "ListRuleExecutionsInput$filter": "

Input information used to filter rule execution history.

" + } + }, + "RuleExecutionId": { + "base": null, + "refs": { + "RuleExecution$ruleExecutionId": "

The execution ID for the run of the rule.

", + "RuleExecutionDetail$ruleExecutionId": "

The ID of the run for the rule.

" + } + }, + "RuleExecutionInput": { + "base": "

Input information used for a rule execution.

", + "refs": { + "RuleExecutionDetail$input": "

Input details for the rule execution, such as role ARN, Region, and input artifacts.

" + } + }, + "RuleExecutionOutput": { + "base": "

Output details listed for a rule execution, such as the rule execution result.

", + "refs": { + "RuleExecutionDetail$output": "

Output details for the rule execution, such as the rule execution result.

" + } + }, + "RuleExecutionResult": { + "base": "

Execution result information, such as the external execution ID.

", + "refs": { + "RuleExecutionOutput$executionResult": "

Execution result information listed in the output details for a rule execution.

" + } + }, + "RuleExecutionStatus": { + "base": null, + "refs": { + "RuleExecution$status": "

The status of the run of the rule, such as FAILED.

", + "RuleExecutionDetail$status": "

The status of the rule execution. Status categories are InProgress, Succeeded, and Failed.

" + } + }, + "RuleExecutionToken": { + "base": null, + "refs": { + "RuleExecution$token": "

The system-generated token used to identify a unique request.

" + } + }, + "RuleName": { + "base": null, + "refs": { + "RuleDeclaration$name": "

The name of the rule that is created for the condition, such as CheckAllResults.

", + "RuleExecutionDetail$ruleName": "

The name of the rule that was run in the stage.

", + "RuleState$ruleName": "

The name of the rule.

" + } + }, + "RuleOwner": { + "base": null, + "refs": { + "ListRuleTypesInput$ruleOwnerFilter": "

The rule owner to filter on.

", + "RuleTypeId$owner": "

The creator of the rule being called. The valid value for the Owner field in the rule category is AWS.

" + } + }, + "RuleProvider": { + "base": null, + "refs": { + "RuleTypeId$provider": "

The provider of the service being called by the rule. Valid providers are determined by the rulecategory. For example, a managed rule in the Rule category type has an owner of AWS, which would be specified as AWS.

" + } + }, + "RuleRevision": { + "base": "

The change to a rule that creates a revision of the rule.

", + "refs": { + "RuleState$currentRevision": "

The ID of the current revision of the artifact successfully worked on by the job.

" + } + }, + "RuleState": { + "base": "

Returns information about the state of a rule.

Values returned in the revisionId field indicate the rule revision information, such as the commit ID, for the current state.

", + "refs": { + "RuleStateList$member": null + } + }, + "RuleStateList": { + "base": null, + "refs": { + "ConditionState$ruleStates": "

The state of the rules for the condition.

" + } + }, + "RuleTimeout": { + "base": null, + "refs": { + "RuleDeclaration$timeoutInMinutes": "

The action timeout for the rule.

" + } + }, + "RuleType": { + "base": "

The rule type, which is made up of the combined values for category, owner, provider, and version.

", + "refs": { + "RuleTypeList$member": null + } + }, + "RuleTypeId": { + "base": "

The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

", + "refs": { + "RuleDeclaration$ruleTypeId": "

The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

", + "RuleExecutionInput$ruleTypeId": "

The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.

", + "RuleType$id": "

Represents information about a rule type.

" + } + }, + "RuleTypeList": { + "base": null, + "refs": { + "ListRuleTypesOutput$ruleTypes": "

Lists the rules that are configured for the condition.

" + } + }, + "RuleTypeSettings": { + "base": "

Returns information about the settings for a rule type.

", + "refs": { + "RuleType$settings": "

Returns information about the settings for a rule type.

" + } + }, "S3ArtifactLocation": { "base": "

The location of the S3 bucket that contains a revision.

", "refs": { @@ -1958,6 +2273,20 @@ "StageDeclaration$blockers": "

Reserved for future use.

" } }, + "StageConditionState": { + "base": "

The state of a run of a condition for a stage.

", + "refs": { + "StageState$beforeEntryConditionState": "

The state of the entry conditions for a stage.

", + "StageState$onSuccessConditionState": "

The state of the success conditions for a stage.

", + "StageState$onFailureConditionState": "

The state of the failure conditions for a stage.

" + } + }, + "StageConditionsExecution": { + "base": "

Represents information about the run of a condition for a stage.

", + "refs": { + "StageConditionState$latestExecution": "

Represents information about the latest run of a condition for a stage.

" + } + }, "StageContext": { "base": "

Represents information about a stage to a job worker.

", "refs": { @@ -1996,10 +2325,12 @@ "ActionExecutionDetail$stageName": "

The name of the stage that contains the action.

", "DisableStageTransitionInput$stageName": "

The name of the stage where you want to disable the inbound or outbound transition of artifacts.

", "EnableStageTransitionInput$stageName": "

The name of the stage where you want to enable the transition of artifacts, either into the stage (inbound) or from that stage to the next stage (outbound).

", + "OverrideStageConditionInput$stageName": "

The name of the stage for the override.

", "PutActionRevisionInput$stageName": "

The name of the stage that contains the action that acts on the revision.

", "PutApprovalResultInput$stageName": "

The name of the stage that contains the action.

", "RetryStageExecutionInput$stageName": "

The name of the failed stage to be retried.

", "RollbackStageInput$stageName": "

The name of the stage in the pipeline to be rolled back.

", + "RuleExecutionDetail$stageName": "

The name of the stage where the rule was run.

", "StageContext$name": "

The name of the stage.

", "StageDeclaration$name": "

The name of the stage.

", "StageState$stageName": "

The name of the stage.

", @@ -2083,10 +2414,13 @@ "String": { "base": null, "refs": { + "ConditionNotOverridableException$message": null, "ResolvedActionConfigurationMap$key": null, "ResolvedActionConfigurationMap$value": null, "ResolvedPipelineVariable$name": "

The name of a pipeline-level variable.

", "ResolvedPipelineVariable$resolvedValue": "

The resolved value of a pipeline-level variable.

", + "ResolvedRuleConfigurationMap$key": null, + "ResolvedRuleConfigurationMap$value": null, "UnableToRollbackStageException$message": null } }, @@ -2096,6 +2430,12 @@ "PipelineExecutionFilter$succeededInStage": "

Filter for pipeline executions where the stage was successful in the current pipeline version.

" } }, + "SuccessConditions": { + "base": "

The conditions for making checks that, if met, succeed a stage.

", + "refs": { + "StageDeclaration$onSuccess": "

The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.

" + } + }, "Tag": { "base": "

A tag is a key-value pair that is used to manage the resource.

", "refs": { @@ -2192,6 +2532,7 @@ "ActionExecutionDetail$lastUpdateTime": "

The last update time of the action execution.

", "ActionRevision$created": "

The date and time when the most recent version of the action was created, in timestamp format.

", "ArtifactRevision$created": "

The date and time when the most recent revision of the artifact was created, in timestamp format.

", + "ConditionExecution$lastStatusChange": "

The last status change of the condition.

", "GetPipelineStateOutput$created": "

The date and time the pipeline was created, in timestamp format.

", "GetPipelineStateOutput$updated": "

The date and time the pipeline was last updated, in timestamp format.

", "PipelineExecutionSummary$startTime": "

The date and time when the pipeline execution began, in timestamp format.

", @@ -2201,7 +2542,11 @@ "PipelineMetadata$pollingDisabledAt": "

The date and time that polling for source changes (periodic checks) was stopped for the pipeline, in timestamp format. You can migrate (update) a polling pipeline to use event-based change detection. For example, for a pipeline with a CodeCommit source, we recommend you migrate (update) your pipeline to use CloudWatch Events. To learn more, see Migrate polling pipelines to use event-based change detection in the CodePipeline User Guide.

", "PipelineSummary$created": "

The date and time the pipeline was created, in timestamp format.

", "PipelineSummary$updated": "

The date and time of the last update to the pipeline, in timestamp format.

", - "PutApprovalResultOutput$approvedAt": "

The timestamp showing when the approval or rejection was submitted.

" + "PutApprovalResultOutput$approvedAt": "

The timestamp showing when the approval or rejection was submitted.

", + "RuleExecution$lastStatusChange": "

The last status change of the rule.

", + "RuleExecutionDetail$startTime": "

The start time of the rule execution.

", + "RuleExecutionDetail$lastUpdateTime": "

The date and time of the last change to the rule execution, in timestamp format.

", + "RuleRevision$created": "

The date and time when the most recent version of the rule was created, in timestamp format.

" } }, "TooManyTagsException": { @@ -2267,6 +2612,11 @@ "ActionTypeSettings$thirdPartyConfigurationUrl": "

The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.

", "ActionTypeUrls$configurationUrl": "

The URL returned to the CodePipeline console that contains a link to the page where customers can configure the external action.

", "ArtifactRevision$revisionUrl": "

The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.

", + "RuleExecution$externalExecutionUrl": "

The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).

", + "RuleExecutionResult$externalExecutionUrl": "

The deepest external link to the external resource (for example, a repository URL or deployment endpoint) that is used when running the rule.

", + "RuleState$entityUrl": "

A URL link for more information about the state of the action, such as a details page.

", + "RuleState$revisionUrl": "

A URL link for more information about the revision, such as a commit details page.

", + "RuleTypeSettings$thirdPartyConfigurationUrl": "

The URL of a sign-up page where users can sign up for an external service and perform initial configuration of the action provided by that service.

", "SourceRevision$revisionUrl": "

The commit ID for the artifact revision. For artifacts stored in GitHub or CodeCommit repositories, the commit ID is linked to a commit details page.

" } }, @@ -2278,7 +2628,10 @@ "ActionTypeSettings$revisionUrlTemplate": "

The URL returned to the CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.

", "ActionTypeUrls$entityUrlTemplate": "

The URL returned to the CodePipeline console that provides a deep link to the resources of the external system, such as a status page. This link is provided as part of the action display in the pipeline.

", "ActionTypeUrls$executionUrlTemplate": "

The link to an execution page for the action type in progress. For example, for a CodeDeploy action, this link is shown on the pipeline view page in the CodePipeline console, and it links to a CodeDeploy status page.

", - "ActionTypeUrls$revisionUrlTemplate": "

The URL returned to the CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.

" + "ActionTypeUrls$revisionUrlTemplate": "

The URL returned to the CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.

", + "RuleTypeSettings$entityUrlTemplate": "

The URL returned to the CodePipeline console that provides a deep link to the resources of the external system, such as the configuration page for a CodeDeploy deployment group. This link is provided as part of the action display in the pipeline.

", + "RuleTypeSettings$executionUrlTemplate": "

The URL returned to the CodePipeline console that contains a link to the top-level landing page for the external system, such as the console page for CodeDeploy. This link is shown on the pipeline view page in the CodePipeline console and provides a link to the execution entity of the external action.

", + "RuleTypeSettings$revisionUrlTemplate": "

The URL returned to the CodePipeline console that contains a link to the page where customers can update or change the configuration of the external action.

" } }, "ValidationException": { @@ -2293,7 +2646,8 @@ "ActionTypeIdentifier$version": "

A string that describes the action type version.

", "CreateCustomActionTypeInput$version": "

The version identifier of the custom action.

", "DeleteCustomActionTypeInput$version": "

The version of the custom action to delete.

", - "GetActionTypeInput$version": "

A string that describes the action type version.

" + "GetActionTypeInput$version": "

A string that describes the action type version.

", + "RuleTypeId$version": "

A string that describes the rule version.

" } }, "WebhookArn": { diff --git a/models/apis/codepipeline/2015-07-09/paginators-1.json b/models/apis/codepipeline/2015-07-09/paginators-1.json index a13c3ff7cb4..8479855006c 100644 --- a/models/apis/codepipeline/2015-07-09/paginators-1.json +++ b/models/apis/codepipeline/2015-07-09/paginators-1.json @@ -23,6 +23,12 @@ "limit_key": "maxResults", "result_key": "pipelines" }, + "ListRuleExecutions": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "ruleExecutionDetails" + }, "ListTagsForResource": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/elasticache/2015-02-02/docs-2.json b/models/apis/elasticache/2015-02-02/docs-2.json index a0c8a4c0677..a094e4f560c 100644 --- a/models/apis/elasticache/2015-02-02/docs-2.json +++ b/models/apis/elasticache/2015-02-02/docs-2.json @@ -27,8 +27,8 @@ "DeleteCacheSecurityGroup": "

Deletes a cache security group.

You cannot delete a cache security group if it is associated with any clusters.

", "DeleteCacheSubnetGroup": "

Deletes a cache subnet group.

You cannot delete a default cache subnet group or one that is associated with any clusters.

", "DeleteGlobalReplicationGroup": "

Deleting a Global datastore is a two-step process:

Since the Global Datastore has only a primary cluster, you can delete the Global Datastore while retaining the primary by setting RetainPrimaryReplicationGroup=true. The primary cluster is never deleted when deleting a Global Datastore. It can only be deleted when it no longer is associated with any Global Datastore.

When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.

", - "DeleteReplicationGroup": "

Deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary/primaries and all of the read replicas. If the replication group has only one primary, you can optionally delete only the read replicas, while retaining the primary by setting RetainPrimaryCluster=true.

When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.

This operation is valid for Redis OSS only.

", - "DeleteServerlessCache": "

Deletes a specified existing serverless cache.

", + "DeleteReplicationGroup": "

Deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary/primaries and all of the read replicas. If the replication group has only one primary, you can optionally delete only the read replicas, while retaining the primary by setting RetainPrimaryCluster=true.

When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.

", + "DeleteServerlessCache": "

Deletes a specified existing serverless cache.

CreateServerlessCacheSnapshot permission is required to create a final snapshot. Without this permission, the API call will fail with an Access Denied exception.

", "DeleteServerlessCacheSnapshot": "

Deletes an existing serverless cache snapshot. Available for Redis OSS and Serverless Memcached only.

", "DeleteSnapshot": "

Deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.

This operation is valid for Redis OSS only.

", "DeleteUser": "

For Redis OSS engine version 6.0 onwards: Deletes a user. The user will be removed from all user groups and in turn removed from all replication groups. For more information, see Using Role Based Access Control (RBAC).

", diff --git a/models/apis/elasticloadbalancing/2012-06-01/api-2.json b/models/apis/elasticloadbalancing/2012-06-01/api-2.json index a83e5046016..7a4737e14d7 100644 --- a/models/apis/elasticloadbalancing/2012-06-01/api-2.json +++ b/models/apis/elasticloadbalancing/2012-06-01/api-2.json @@ -4,11 +4,13 @@ "apiVersion":"2012-06-01", "endpointPrefix":"elasticloadbalancing", "protocol":"query", + "protocols":["query"], "serviceFullName":"Elastic Load Balancing", "serviceId":"Elastic Load Balancing", "signatureVersion":"v4", "uid":"elasticloadbalancing-2012-06-01", - "xmlNamespace":"http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/" + "xmlNamespace":"http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddTags":{ diff --git a/models/apis/elasticloadbalancing/2012-06-01/endpoint-rule-set-1.json b/models/apis/elasticloadbalancing/2012-06-01/endpoint-rule-set-1.json new file mode 100644 index 00000000000..c840251e544 --- /dev/null +++ b/models/apis/elasticloadbalancing/2012-06-01/endpoint-rule-set-1.json @@ -0,0 +1,339 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + }, + "aws-us-gov" + ] + } + ], + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ] +} \ No newline at end of file diff --git a/models/apis/elasticloadbalancing/2012-06-01/endpoint-tests-1.json b/models/apis/elasticloadbalancing/2012-06-01/endpoint-tests-1.json new file mode 100644 index 00000000000..a5e023b96c1 --- /dev/null +++ b/models/apis/elasticloadbalancing/2012-06-01/endpoint-tests-1.json @@ -0,0 +1,678 @@ +{ + "testCases": [ + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-northeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-southeast-3.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/elasticloadbalancing/2012-06-01/smoke-2.json b/models/apis/elasticloadbalancing/2012-06-01/smoke-2.json new file mode 100644 index 00000000000..e339a8d8635 --- /dev/null +++ b/models/apis/elasticloadbalancing/2012-06-01/smoke-2.json @@ -0,0 +1,31 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeLoadBalancersSuccess", + "operationName": "DescribeLoadBalancers", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeLoadBalancersFailure", + "operationName": "DescribeLoadBalancers", + "input": { + "LoadBalancerNames": [ + "fake_load_balancer" + ] + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/eventbridge/2015-10-07/api-2.json b/models/apis/eventbridge/2015-10-07/api-2.json index c192c8b7feb..f564c67ecaa 100644 --- a/models/apis/eventbridge/2015-10-07/api-2.json +++ b/models/apis/eventbridge/2015-10-07/api-2.json @@ -10,7 +10,8 @@ "serviceId":"EventBridge", "signatureVersion":"v4", "targetPrefix":"AWSEvents", - "uid":"eventbridge-2015-10-07" + "uid":"eventbridge-2015-10-07", + "auth":["aws.auth#sigv4"] }, "operations":{ "ActivateEventSource":{ diff --git a/models/apis/eventbridge/2015-10-07/smoke-2.json b/models/apis/eventbridge/2015-10-07/smoke-2.json new file mode 100644 index 00000000000..9de69b1be57 --- /dev/null +++ b/models/apis/eventbridge/2015-10-07/smoke-2.json @@ -0,0 +1,29 @@ +{ + "version": 2, + "testCases": [ + { + "id": "ListRulesSuccess", + "operationName": "ListRules", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "DescribeRuleFailure", + "operationName": "DescribeRule", + "input": { + "Name": "fake-rule" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/logs/2014-03-28/api-2.json b/models/apis/logs/2014-03-28/api-2.json index 48174c7e8f6..779ed63b4e4 100644 --- a/models/apis/logs/2014-03-28/api-2.json +++ b/models/apis/logs/2014-03-28/api-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"logs", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"Amazon CloudWatch Logs", "serviceId":"CloudWatch Logs", "signatureVersion":"v4", "targetPrefix":"Logs_20140328", - "uid":"logs-2014-03-28" + "uid":"logs-2014-03-28", + "auth":["aws.auth#sigv4"] }, "operations":{ "AssociateKmsKey":{ diff --git a/models/apis/logs/2014-03-28/smoke-2.json b/models/apis/logs/2014-03-28/smoke-2.json new file mode 100644 index 00000000000..666c340fce3 --- /dev/null +++ b/models/apis/logs/2014-03-28/smoke-2.json @@ -0,0 +1,30 @@ +{ + "version": 2, + "testCases": [ + { + "id": "DescribeLogGroupsSuccess", + "operationName": "DescribeLogGroups", + "input": {}, + "expectation": { + "success": {} + }, + "config": { + "region": "us-west-2" + } + }, + { + "id": "GetLogEventsFailure", + "operationName": "GetLogEvents", + "input": { + "logGroupName": "fakegroup", + "logStreamName": "fakestream" + }, + "expectation": { + "failure": {} + }, + "config": { + "region": "us-west-2" + } + } + ] +} diff --git a/models/apis/models.lex.v2/2020-08-07/api-2.json b/models/apis/models.lex.v2/2020-08-07/api-2.json index f4a4b46b4f4..03fc7c0eccb 100644 --- a/models/apis/models.lex.v2/2020-08-07/api-2.json +++ b/models/apis/models.lex.v2/2020-08-07/api-2.json @@ -5,12 +5,14 @@ "endpointPrefix":"models-v2-lex", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"Lex Models V2", "serviceFullName":"Amazon Lex Model Building V2", "serviceId":"Lex Models V2", "signatureVersion":"v4", "signingName":"lex", - "uid":"models.lex.v2-2020-08-07" + "uid":"models.lex.v2-2020-08-07", + "auth":["aws.auth#sigv4"] }, "operations":{ "BatchCreateCustomVocabularyItem":{ @@ -2765,6 +2767,27 @@ "resources":{"shape":"CustomVocabularyItems"} } }, + "BedrockGuardrailConfiguration":{ + "type":"structure", + "required":[ + "identifier", + "version" + ], + "members":{ + "identifier":{"shape":"BedrockGuardrailIdentifier"}, + "version":{"shape":"BedrockGuardrailVersion"} + } + }, + "BedrockGuardrailIdentifier":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$" + }, + "BedrockGuardrailVersion":{ + "type":"string", + "pattern":"^(([1-9][0-9]{0,7})|(DRAFT))$" + }, "BedrockKnowledgeBaseArn":{ "type":"string", "max":200, @@ -2775,20 +2798,43 @@ "type":"structure", "required":["bedrockKnowledgeBaseArn"], "members":{ - "bedrockKnowledgeBaseArn":{"shape":"BedrockKnowledgeBaseArn"} + "bedrockKnowledgeBaseArn":{"shape":"BedrockKnowledgeBaseArn"}, + "exactResponse":{"shape":"Boolean"}, + "exactResponseFields":{"shape":"BedrockKnowledgeStoreExactResponseFields"} + } + }, + "BedrockKnowledgeStoreExactResponseFields":{ + "type":"structure", + "members":{ + "answerField":{"shape":"AnswerField"} } }, "BedrockModelArn":{ "type":"string", "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model\\/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}$" }, + "BedrockModelCustomPrompt":{ + "type":"string", + "max":4000, + "min":1 + }, "BedrockModelSpecification":{ "type":"structure", "required":["modelArn"], "members":{ - "modelArn":{"shape":"BedrockModelArn"} + "modelArn":{"shape":"BedrockModelArn"}, + "guardrail":{"shape":"BedrockGuardrailConfiguration"}, + "traceStatus":{"shape":"BedrockTraceStatus"}, + "customPrompt":{"shape":"BedrockModelCustomPrompt"} } }, + "BedrockTraceStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "Boolean":{"type":"boolean"}, "BotAliasHistoryEvent":{ "type":"structure", diff --git a/models/apis/models.lex.v2/2020-08-07/docs-2.json b/models/apis/models.lex.v2/2020-08-07/docs-2.json index 0babcb36c24..53695cab502 100644 --- a/models/apis/models.lex.v2/2020-08-07/docs-2.json +++ b/models/apis/models.lex.v2/2020-08-07/docs-2.json @@ -14,7 +14,7 @@ "CreateExport": "

Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.

You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.

For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots

", "CreateIntent": "

Creates an intent.

To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an OrderPizza intent.

When you create an intent, you must provide a name. You can optionally provide the following:

", "CreateResourcePolicy": "

Creates a new resource policy with the specified policy statements.

", - "CreateResourcePolicyStatement": "

Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.

You can't create a resource policy statement that allows cross-account access.

", + "CreateResourcePolicyStatement": "

Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.

You can't create a resource policy statement that allows cross-account access.

You need to add the CreateResourcePolicy or UpdateResourcePolicy action to the bot role in order to call the API.

", "CreateSlot": "

Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an OrderPizza intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.

", "CreateSlotType": "

Creates a custom slot type

To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.

", "CreateTestSetDiscrepancyReport": "

Create a report that describes the differences between the bot and the test set.

", @@ -29,7 +29,7 @@ "DeleteImport": "

Removes a previous import and the associated file stored in an S3 bucket.

", "DeleteIntent": "

Removes the specified intent.

Deleting an intent also deletes the slots associated with the intent.

", "DeleteResourcePolicy": "

Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.

", - "DeleteResourcePolicyStatement": "

Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.

", + "DeleteResourcePolicyStatement": "

Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.

You need to add the DeleteResourcePolicy or UpdateResourcePolicy action to the bot role in order to call the API.

", "DeleteSlot": "

Deletes the specified slot from an intent.

", "DeleteSlotType": "

Deletes a slot type from a bot locale.

If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.

", "DeleteTestSet": "

The action to delete the selected test set.

", @@ -840,6 +840,7 @@ "AnswerField": { "base": null, "refs": { + "BedrockKnowledgeStoreExactResponseFields$answerField": "

The answer field used for an exact response from Bedrock Knowledge Store.

", "ExactResponseFields$answerField": "

The name of the field that contains the answer to the query made to the OpenSearch Service database.

" } }, @@ -958,10 +959,28 @@ "refs": { } }, + "BedrockGuardrailConfiguration": { + "base": "

The details on the Bedrock guardrail configuration.

", + "refs": { + "BedrockModelSpecification$guardrail": "

The guardrail configuration in the Bedrock model specification details.

" + } + }, + "BedrockGuardrailIdentifier": { + "base": null, + "refs": { + "BedrockGuardrailConfiguration$identifier": "

The unique guardrail id for the Bedrock guardrail configuration.

" + } + }, + "BedrockGuardrailVersion": { + "base": null, + "refs": { + "BedrockGuardrailConfiguration$version": "

The guardrail version for the Bedrock guardrail configuration.

" + } + }, "BedrockKnowledgeBaseArn": { "base": null, "refs": { - "BedrockKnowledgeStoreConfiguration$bedrockKnowledgeBaseArn": "

The ARN of the knowledge base used.

" + "BedrockKnowledgeStoreConfiguration$bedrockKnowledgeBaseArn": "

The base ARN of the knowledge base used.

" } }, "BedrockKnowledgeStoreConfiguration": { @@ -970,6 +989,12 @@ "DataSourceConfiguration$bedrockKnowledgeStoreConfiguration": "

Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent. To set up a knowledge base, follow the steps at Building a knowledge base.

" } }, + "BedrockKnowledgeStoreExactResponseFields": { + "base": "

The exact response fields given by the Bedrock knowledge store.

", + "refs": { + "BedrockKnowledgeStoreConfiguration$exactResponseFields": "

Contains the names of the fields used for an exact response to the user.

" + } + }, "BedrockModelArn": { "base": null, "refs": { @@ -977,6 +1002,12 @@ "DescribeBotResourceGenerationResponse$modelArn": "

The ARN of the model used to generate the bot resources.

" } }, + "BedrockModelCustomPrompt": { + "base": null, + "refs": { + "BedrockModelSpecification$customPrompt": "

The custom prompt used in the Bedrock model specification details.

" + } + }, "BedrockModelSpecification": { "base": "

Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.

", "refs": { @@ -986,10 +1017,17 @@ "SlotResolutionImprovementSpecification$bedrockModelSpecification": "

An object containing information about the Amazon Bedrock model used to assist slot resolution.

" } }, + "BedrockTraceStatus": { + "base": null, + "refs": { + "BedrockModelSpecification$traceStatus": "

The Bedrock trace status in the Bedrock model specification details.

" + } + }, "Boolean": { "base": null, "refs": { "AudioLogSetting$enabled": "

Determines whether audio logging in enabled for the bot.

", + "BedrockKnowledgeStoreConfiguration$exactResponse": "

Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.

", "BotAliasLocaleSettings$enabled": "

Determines whether the locale is enabled for the bot. If the value is false, the locale isn't available for use.

", "DescriptiveBotBuilderSpecification$enabled": "

Specifies whether the descriptive bot building feature is activated or not.

", "DialogCodeHookSettings$enabled": "

Enables the dialog code hook so that it processes user requests.

", diff --git a/models/apis/rolesanywhere/2018-05-10/api-2.json b/models/apis/rolesanywhere/2018-05-10/api-2.json index 2580b345117..c81cc15c8fd 100644 --- a/models/apis/rolesanywhere/2018-05-10/api-2.json +++ b/models/apis/rolesanywhere/2018-05-10/api-2.json @@ -5,11 +5,13 @@ "endpointPrefix":"rolesanywhere", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"IAM Roles Anywhere", "serviceId":"RolesAnywhere", "signatureVersion":"v4", "signingName":"rolesanywhere", - "uid":"rolesanywhere-2018-05-10" + "uid":"rolesanywhere-2018-05-10", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreateProfile":{ @@ -499,6 +501,7 @@ "roleArns" ], "members":{ + "acceptRoleSessionName":{"shape":"Boolean"}, "durationSeconds":{"shape":"CreateProfileRequestDurationSecondsInteger"}, "enabled":{"shape":"Boolean"}, "managedPolicyArns":{"shape":"ManagedPolicyList"}, @@ -834,6 +837,7 @@ "ProfileDetail":{ "type":"structure", "members":{ + "acceptRoleSessionName":{"shape":"Boolean"}, "attributeMappings":{"shape":"AttributeMappings"}, "createdAt":{"shape":"SyntheticTimestamp_date_time"}, "createdBy":{"shape":"String"}, @@ -1197,6 +1201,7 @@ "type":"structure", "required":["profileId"], "members":{ + "acceptRoleSessionName":{"shape":"Boolean"}, "durationSeconds":{"shape":"UpdateProfileRequestDurationSecondsInteger"}, "managedPolicyArns":{"shape":"ManagedPolicyList"}, "name":{"shape":"ResourceName"}, diff --git a/models/apis/rolesanywhere/2018-05-10/docs-2.json b/models/apis/rolesanywhere/2018-05-10/docs-2.json index c44b65a8666..c0e98c05181 100644 --- a/models/apis/rolesanywhere/2018-05-10/docs-2.json +++ b/models/apis/rolesanywhere/2018-05-10/docs-2.json @@ -68,6 +68,7 @@ "Boolean": { "base": null, "refs": { + "CreateProfileRequest$acceptRoleSessionName": "

Used to determine if a custom role session name will be accepted in a temporary credential request.

", "CreateProfileRequest$enabled": "

Specifies whether the profile is enabled.

", "CreateProfileRequest$requireInstanceProperties": "

Specifies whether instance properties are required in temporary credential requests with this profile.

", "CreateTrustAnchorRequest$enabled": "

Specifies whether the trust anchor is enabled.

", @@ -78,11 +79,13 @@ "InstanceProperty$failed": "

Indicates whether the temporary credential request was successful.

", "NotificationSetting$enabled": "

Indicates whether the notification setting is enabled.

", "NotificationSettingDetail$enabled": "

Indicates whether the notification setting is enabled.

", + "ProfileDetail$acceptRoleSessionName": "

Used to determine if a custom role session name will be accepted in a temporary credential request.

", "ProfileDetail$enabled": "

Indicates whether the profile is enabled.

", "ProfileDetail$requireInstanceProperties": "

Specifies whether instance properties are required in temporary credential requests with this profile.

", "SubjectDetail$enabled": "

The enabled status of the subject.

", "SubjectSummary$enabled": "

The enabled status of the subject.

", - "TrustAnchorDetail$enabled": "

Indicates whether the trust anchor is enabled.

" + "TrustAnchorDetail$enabled": "

Indicates whether the trust anchor is enabled.

", + "UpdateProfileRequest$acceptRoleSessionName": "

Used to determine if a custom role session name will be accepted in a temporary credential request.

" } }, "CertificateField": { diff --git a/models/apis/tnb/2008-10-21/api-2.json b/models/apis/tnb/2008-10-21/api-2.json index c9f26a92847..2fcbd739629 100644 --- a/models/apis/tnb/2008-10-21/api-2.json +++ b/models/apis/tnb/2008-10-21/api-2.json @@ -1,9 +1,15 @@ { "metadata": { "apiVersion": "2008-10-21", + "auth": [ + "aws.auth#sigv4" + ], "endpointPrefix": "tnb", "jsonVersion": "1.1", "protocol": "rest-json", + "protocols": [ + "rest-json" + ], "serviceFullName": "AWS Telco Network Builder", "serviceId": "tnb", "signatureVersion": "v4", @@ -1591,8 +1597,14 @@ "createdAt": { "shape": "SyntheticTimestamp_date_time" }, + "instantiateMetadata": { + "shape": "InstantiateMetadata" + }, "lastModified": { "shape": "SyntheticTimestamp_date_time" + }, + "updateNsMetadata": { + "shape": "UpdateNsMetadata" } }, "required": [ @@ -1629,6 +1641,9 @@ }, "tasks": { "shape": "GetSolNetworkOperationTasksList" + }, + "updateType": { + "shape": "UpdateSolNetworkType" } }, "required": [ @@ -1845,6 +1860,17 @@ }, "type": "structure" }, + "InstantiateMetadata": { + "members": { + "nsdInfoId": { + "shape": "NsdInfoId" + } + }, + "required": [ + "nsdInfoId" + ], + "type": "structure" + }, "InstantiateSolNetworkInstanceInput": { "members": { "dryRun": { @@ -2217,6 +2243,9 @@ }, "operationState": { "shape": "NsLcmOperationState" + }, + "updateType": { + "shape": "UpdateSolNetworkType" } }, "required": [ @@ -2239,6 +2268,11 @@ "location": "querystring", "locationName": "nextpage_opaque_marker", "shape": "PaginationToken" + }, + "nsInstanceId": { + "location": "querystring", + "locationName": "nsInstanceId", + "shape": "NsInstanceId" } }, "type": "structure" @@ -2256,6 +2290,12 @@ }, "lastModified": { "shape": "SyntheticTimestamp_date_time" + }, + "nsdInfoId": { + "shape": "NsdInfoId" + }, + "vnfInstanceId": { + "shape": "VnfInstanceId" } }, "required": [ @@ -2448,10 +2488,13 @@ "enum": [ "INSTANTIATED", "NOT_INSTANTIATED", + "UPDATED", "IMPAIRED", + "UPDATE_FAILED", "STOPPED", "DELETED", "INSTANTIATE_IN_PROGRESS", + "INTENT_TO_UPDATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "TERMINATE_IN_PROGRESS" ], @@ -2543,7 +2586,7 @@ "shape": "PackageContentType" }, "file": { - "shape": "Blob" + "shape": "SensitiveBlob" }, "vnfPkgId": { "location": "uri", @@ -2605,7 +2648,7 @@ "shape": "PackageContentType" }, "file": { - "shape": "Blob" + "shape": "SensitiveBlob" }, "nsdInfoId": { "location": "uri", @@ -2679,6 +2722,10 @@ ], "type": "structure" }, + "SensitiveBlob": { + "sensitive": true, + "type": "blob" + }, "ServiceQuotaExceededException": { "error": { "httpStatusCode": 402, @@ -2854,6 +2901,17 @@ "members": {}, "type": "structure" }, + "UpdateNsMetadata": { + "members": { + "nsdInfoId": { + "shape": "NsdInfoId" + } + }, + "required": [ + "nsdInfoId" + ], + "type": "structure" + }, "UpdateSolFunctionPackageInput": { "members": { "operationalState": { @@ -2892,6 +2950,9 @@ "tags": { "shape": "TagMap" }, + "updateNs": { + "shape": "UpdateSolNetworkServiceData" + }, "updateType": { "shape": "UpdateSolNetworkType" } @@ -2941,9 +3002,21 @@ ], "type": "structure" }, + "UpdateSolNetworkServiceData": { + "members": { + "nsdInfoId": { + "shape": "NsdInfoId" + } + }, + "required": [ + "nsdInfoId" + ], + "type": "structure" + }, "UpdateSolNetworkType": { "enum": [ - "MODIFY_VNF_INFORMATION" + "MODIFY_VNF_INFORMATION", + "UPDATE_NS" ], "type": "string" }, @@ -2962,7 +3035,7 @@ "shape": "PackageContentType" }, "file": { - "shape": "Blob" + "shape": "SensitiveBlob" }, "vnfPkgId": { "location": "uri", @@ -3024,7 +3097,7 @@ "shape": "PackageContentType" }, "file": { - "shape": "Blob" + "shape": "SensitiveBlob" }, "nsdInfoId": { "location": "uri", diff --git a/models/apis/tnb/2008-10-21/docs-2.json b/models/apis/tnb/2008-10-21/docs-2.json index c2b9ceba588..ac32baf044e 100644 --- a/models/apis/tnb/2008-10-21/docs-2.json +++ b/models/apis/tnb/2008-10-21/docs-2.json @@ -9,7 +9,7 @@ "DeleteSolFunctionPackage": "

Deletes a function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

To delete a function package, the package must be in a disabled state. To disable a function package, see UpdateSolFunctionPackage.

", "DeleteSolNetworkInstance": "

Deletes a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

To delete a network instance, the instance must be in a stopped or terminated state. To terminate a network instance, see TerminateSolNetworkInstance.

", "DeleteSolNetworkPackage": "

Deletes network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

To delete a network package, the package must be in a disable state. To disable a network package, see UpdateSolNetworkPackage.

", - "GetSolFunctionInstance": "

Gets the details of a network function instance, including the instantation state and metadata from the function package descriptor in the network function package.

A network function instance is a function in a function package .

", + "GetSolFunctionInstance": "

Gets the details of a network function instance, including the instantiation state and metadata from the function package descriptor in the network function package.

A network function instance is a function in a function package .

", "GetSolFunctionPackage": "

Gets the details of an individual function package, such as the operational state and whether the package is in use.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network..

", "GetSolFunctionPackageContent": "

Gets the contents of a function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

", "GetSolFunctionPackageDescriptor": "

Gets a function package descriptor in a function package.

A function package descriptor is a .yaml file in a function package that uses the TOSCA standard to describe how the network function in the function package should run on your network.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

", @@ -31,7 +31,7 @@ "TerminateSolNetworkInstance": "

Terminates a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

You must terminate a network instance before you can delete it.

", "UntagResource": "

Untags an AWS TNB resource.

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

", "UpdateSolFunctionPackage": "

Updates the operational state of function package.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

", - "UpdateSolNetworkInstance": "

Update a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

", + "UpdateSolNetworkInstance": "

Update a network instance.

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.

Choose the updateType parameter to target the necessary update of the network instance.

", "UpdateSolNetworkPackage": "

Updates the operational state of a network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network functions on.

", "ValidateSolFunctionPackageContent": "

Validates function package content. This can be used as a dry run before uploading function package content with PutSolFunctionPackageContent.

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

", "ValidateSolNetworkPackageContent": "

Validates network package content. This can be used as a dry run before uploading network package content with PutSolNetworkPackageContent.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

" @@ -48,11 +48,7 @@ "GetSolFunctionPackageContentOutput$packageContent": "

Contents of the function package.

", "GetSolFunctionPackageDescriptorOutput$vnfd": "

Contents of the function package descriptor.

", "GetSolNetworkPackageContentOutput$nsdContent": "

Content of the network service descriptor in the network package.

", - "GetSolNetworkPackageDescriptorOutput$nsd": "

Contents of the network service descriptor in the network package.

", - "PutSolFunctionPackageContentInput$file": "

Function package file.

", - "PutSolNetworkPackageContentInput$file": "

Network package file.

", - "ValidateSolFunctionPackageContentInput$file": "

Function package file.

", - "ValidateSolNetworkPackageContentInput$file": "

Network package file.

" + "GetSolNetworkPackageDescriptorOutput$nsd": "

Contents of the network service descriptor in the network package.

" } }, "Boolean": { @@ -134,8 +130,12 @@ "Document": { "base": null, "refs": { + "InstantiateMetadata$additionalParamsForNs": "

The configurable properties used during instantiation.

", "InstantiateSolNetworkInstanceInput$additionalParamsForNs": "

Provides values for the configurable properties.

", - "UpdateSolNetworkModify$vnfConfigurableProperties": "

Provides values for the configurable properties declared in the function package descriptor.

" + "ModifyVnfInfoMetadata$vnfConfigurableProperties": "

The configurable properties used during update of the network function instance.

", + "UpdateNsMetadata$additionalParamsForNs": "

The configurable properties used during update.

", + "UpdateSolNetworkModify$vnfConfigurableProperties": "

Provides values for the configurable properties declared in the function package descriptor.

", + "UpdateSolNetworkServiceData$additionalParamsForNs": "

Values for the configurable properties declared in the network service descriptor.

" } }, "ErrorCause": { @@ -326,6 +326,12 @@ "GetSolVnfcResourceInfo$metadata": "

The metadata of the network function compute.

" } }, + "InstantiateMetadata": { + "base": "

Metadata related to the configuration properties used during instantiation of the network instance.

", + "refs": { + "GetSolNetworkOperationMetadata$instantiateMetadata": "

Metadata related to the network operation occurrence for network instantiation. This is populated only if the lcmOperationType is INSTANTIATE.

" + } + }, "InstantiateSolNetworkInstanceInput": { "base": null, "refs": { @@ -534,6 +540,12 @@ "refs": { } }, + "ModifyVnfInfoMetadata": { + "base": "

Metadata related to the configuration properties used during update of a specific network function in a network instance.

", + "refs": { + "GetSolNetworkOperationMetadata$modifyVnfInfoMetadata": "

Metadata related to the network operation occurrence for network function updates in a network instance. This is populated only if the lcmOperationType is UPDATE and the updateType is MODIFY_VNF_INFORMATION.

" + } + }, "NetworkArtifactMeta": { "base": "

Metadata for network package artifacts.

Artifacts are the contents of the package descriptor file and the state of the package.

", "refs": { @@ -563,6 +575,7 @@ "ListSolFunctionInstanceInfo$nsInstanceId": "

Network instance ID.

", "ListSolNetworkInstanceInfo$id": "

ID of the network instance.

", "ListSolNetworkOperationsInfo$nsInstanceId": "

ID of the network instance related to this operation.

", + "ListSolNetworkOperationsInput$nsInstanceId": "

Network instance id filter, to retrieve network operations associated to a network instance.

", "TerminateSolNetworkInstanceInput$nsInstanceId": "

ID of the network instance.

", "UpdateSolNetworkInstanceInput$nsInstanceId": "

ID of the network instance.

" } @@ -633,11 +646,15 @@ "GetSolNetworkPackageDescriptorInput$nsdInfoId": "

ID of the network service descriptor in the network package.

", "GetSolNetworkPackageInput$nsdInfoId": "

ID of the network service descriptor in the network package.

", "GetSolNetworkPackageOutput$id": "

Network package ID.

", + "InstantiateMetadata$nsdInfoId": "

The network service descriptor used for instantiating the network instance.

", "ListSolNetworkInstanceInfo$nsdInfoId": "

ID of the network service descriptor in the network package.

", + "ListSolNetworkOperationsMetadata$nsdInfoId": "

The network service descriptor id used for the operation.

Only present if the updateType is UPDATE_NS.

", "ListSolNetworkPackageInfo$id": "

ID of the individual network package.

", "PutSolNetworkPackageContentInput$nsdInfoId": "

Network service descriptor info ID.

", "PutSolNetworkPackageContentOutput$id": "

Network package ID.

", + "UpdateNsMetadata$nsdInfoId": "

The network service descriptor used for updating the network instance.

", "UpdateSolNetworkPackageInput$nsdInfoId": "

ID of the network service descriptor in the network package.

", + "UpdateSolNetworkServiceData$nsdInfoId": "

ID of the network service descriptor.

", "ValidateSolNetworkPackageContentInput$nsdInfoId": "

Network service descriptor file.

", "ValidateSolNetworkPackageContentOutput$id": "

Network package ID.

" } @@ -765,6 +782,15 @@ "refs": { } }, + "SensitiveBlob": { + "base": null, + "refs": { + "PutSolFunctionPackageContentInput$file": "

Function package file.

", + "PutSolNetworkPackageContentInput$file": "

Network package file.

", + "ValidateSolFunctionPackageContentInput$file": "

Function package file.

", + "ValidateSolNetworkPackageContentInput$file": "

Network package file.

" + } + }, "ServiceQuotaExceededException": { "base": "

Service quotas have been exceeded.

", "refs": { @@ -893,14 +919,14 @@ "GetSolNetworkInstanceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

", "GetSolNetworkOperationOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

", "GetSolNetworkPackageOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

", - "InstantiateSolNetworkInstanceInput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

", - "InstantiateSolNetworkInstanceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

", + "InstantiateSolNetworkInstanceInput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.

", + "InstantiateSolNetworkInstanceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.

", "ListTagsForResourceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

", "TagResourceInput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

", - "TerminateSolNetworkInstanceInput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

", - "TerminateSolNetworkInstanceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

", - "UpdateSolNetworkInstanceInput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

", - "UpdateSolNetworkInstanceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are transferred to the network operation that is created. Use tags to search and filter your resources or track your Amazon Web Services costs.

" + "TerminateSolNetworkInstanceInput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.

", + "TerminateSolNetworkInstanceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.

", + "UpdateSolNetworkInstanceInput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.

", + "UpdateSolNetworkInstanceOutput$tags": "

A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. When you use this API, the tags are only applied to the network operation that is created. These tags are not applied to the network instance. Use tags to search and filter your resources or track your Amazon Web Services costs.

" } }, "TagResourceInput": { @@ -956,6 +982,12 @@ "refs": { } }, + "UpdateNsMetadata": { + "base": "

Metadata related to the configuration properties used during update of a network instance.

", + "refs": { + "GetSolNetworkOperationMetadata$updateNsMetadata": "

Metadata related to the network operation occurrence for network instance updates. This is populated only if the lcmOperationType is UPDATE and the updateType is UPDATE_NS.

" + } + }, "UpdateSolFunctionPackageInput": { "base": null, "refs": { @@ -979,7 +1011,7 @@ "UpdateSolNetworkModify": { "base": "

Information parameters and/or the configurable properties for a network function.

A network function instance is a function in a function package .

", "refs": { - "UpdateSolNetworkInstanceInput$modifyVnfInfoData": "

Identifies the network function information parameters and/or the configurable properties of the network function to be modified.

" + "UpdateSolNetworkInstanceInput$modifyVnfInfoData": "

Identifies the network function information parameters and/or the configurable properties of the network function to be modified.

Include this property only if the update type is MODIFY_VNF_INFORMATION.

" } }, "UpdateSolNetworkPackageInput": { @@ -992,10 +1024,18 @@ "refs": { } }, + "UpdateSolNetworkServiceData": { + "base": "

Information parameters and/or the configurable properties for a network descriptor used for update.

", + "refs": { + "UpdateSolNetworkInstanceInput$updateNs": "

Identifies the network service descriptor and the configurable properties of the descriptor, to be used for the update.

Include this property only if the update type is UPDATE_NS.

" + } + }, "UpdateSolNetworkType": { "base": null, "refs": { - "UpdateSolNetworkInstanceInput$updateType": "

The type of update.

" + "GetSolNetworkOperationOutput$updateType": "

Type of the update. Only present if the network operation lcmOperationType is UPDATE.

", + "ListSolNetworkOperationsInfo$updateType": "

Type of the update. Only present if the network operation lcmOperationType is UPDATE.

", + "UpdateSolNetworkInstanceInput$updateType": "

The type of update.

" } }, "UsageState": { @@ -1056,6 +1096,8 @@ "GetSolFunctionInstanceInput$vnfInstanceId": "

ID of the network function.

", "GetSolFunctionInstanceOutput$id": "

Network function instance ID.

", "ListSolFunctionInstanceInfo$id": "

Network function instance ID.

", + "ListSolNetworkOperationsMetadata$vnfInstanceId": "

The network function id used for the operation.

Only present if the updateType is MODIFY_VNF_INFO.

", + "ModifyVnfInfoMetadata$vnfInstanceId": "

The network function instance that was updated in the network instance.

", "UpdateSolNetworkModify$vnfInstanceId": "

ID of the network function instance.

A network function instance is a function in a function package .

" } }, diff --git a/models/apis/tnb/2008-10-21/endpoint-rule-set-1.json b/models/apis/tnb/2008-10-21/endpoint-rule-set-1.json index bdbdea94cf4..836b7d68d1e 100644 --- a/models/apis/tnb/2008-10-21/endpoint-rule-set-1.json +++ b/models/apis/tnb/2008-10-21/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/tnb/2008-10-21/endpoint-tests-1.json b/models/apis/tnb/2008-10-21/endpoint-tests-1.json index 777e258d27c..ec1704312a8 100644 --- a/models/apis/tnb/2008-10-21/endpoint-tests-1.json +++ b/models/apis/tnb/2008-10-21/endpoint-tests-1.json @@ -1,54 +1,54 @@ { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://tnb-fips.us-gov-east-1.api.aws" + "url": "https://tnb-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tnb-fips.us-gov-east-1.amazonaws.com" + "url": "https://tnb-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": true, - "Region": "us-gov-east-1", "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://tnb.us-gov-east-1.api.aws" + "url": "https://tnb.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tnb.us-gov-east-1.amazonaws.com" + "url": "https://tnb.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseFIPS": false, - "Region": "us-gov-east-1", "UseDualStack": false } }, @@ -60,8 +60,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -73,8 +73,8 @@ } }, "params": { - "UseFIPS": true, "Region": "cn-north-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -86,8 +86,8 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -99,108 +99,108 @@ } }, "params": { - "UseFIPS": false, "Region": "cn-north-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://tnb-fips.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tnb-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://tnb-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://tnb.us-gov-east-1.api.aws" + } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tnb.us-iso-east-1.c2s.ic.gov" + "url": "https://tnb.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-iso-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://tnb-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tnb-fips.us-east-1.amazonaws.com" + "url": "https://tnb-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://tnb.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tnb.us-east-1.amazonaws.com" + "url": "https://tnb.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false } }, @@ -210,8 +210,8 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": true } }, @@ -223,8 +223,8 @@ } }, "params": { - "UseFIPS": true, "Region": "us-isob-east-1", + "UseFIPS": true, "UseDualStack": false } }, @@ -234,8 +234,8 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": true } }, @@ -247,21 +247,34 @@ } }, "params": { - "UseFIPS": false, "Region": "us-isob-east-1", + "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -272,8 +285,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } @@ -284,11 +297,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index 406c04e652f..770100f0456 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -17,7 +17,7 @@ "CreateUpdatedWorkspaceImage": "

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

", "CreateWorkspaceBundle": "

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

", "CreateWorkspaceImage": "

Creates a new WorkSpace image from an existing WorkSpace.

", - "CreateWorkspaces": "

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

", + "CreateWorkspaces": "

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

", "CreateWorkspacesPool": "

Creates a pool of WorkSpaces.

", "DeleteAccountLinkInvitation": "

Deletes the account link invitation.

", "DeleteClientBranding": "

Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you delete your customized client branding, your login portal reverts to the default client branding.

", @@ -175,13 +175,13 @@ "ActiveUserSessions": { "base": null, "refs": { - "CapacityStatus$ActiveUserSessions": "

The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.

" + "CapacityStatus$ActiveUserSessions": "

The number of user sessions currently being used for your pool.

" } }, "ActualUserSessions": { "base": null, "refs": { - "CapacityStatus$ActualUserSessions": "

The total number of session slots that are available for a pool of WorkSpaces.

" + "CapacityStatus$ActualUserSessions": "

The total number of user sessions that are available for streaming or are currently streaming in your pool.

ActualUserSessions = AvailableUserSessions + ActiveUserSessions

" } }, "AddInName": { @@ -358,7 +358,7 @@ "AvailableUserSessions": { "base": null, "refs": { - "CapacityStatus$AvailableUserSessions": "

The number of user sessions currently being used for pool sessions. This only applies to multi-session pools.

" + "CapacityStatus$AvailableUserSessions": "

The number of user sessions currently available for streaming from your pool.

AvailableUserSessions = ActualUserSessions - ActiveUserSessions

" } }, "AwsAccount": { @@ -1337,7 +1337,7 @@ "DesiredUserSessions": { "base": null, "refs": { - "Capacity$DesiredUserSessions": "

The desired number of user sessions for a multi-session pool. This is not allowed for single-session pools.

", + "Capacity$DesiredUserSessions": "

The desired number of user sessions for the WorkSpaces in the pool.

", "CapacityStatus$DesiredUserSessions": "

The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your pool can support in a steady state.

" } }, @@ -2321,7 +2321,7 @@ "RunningMode": { "base": null, "refs": { - "WorkspaceProperties$RunningMode": "

The running mode. For more information, see Manage the WorkSpace Running Mode.

The MANUAL value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

" + "WorkspaceProperties$RunningMode": "

The running mode. For more information, see Manage the WorkSpace Running Mode.

The MANUAL value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

Review your running mode to ensure you are using one that is optimal for your needs and budget. For more information on switching running modes, see Can I switch between hourly and monthly billing?

" } }, "RunningModeAutoStopTimeoutInMinutes": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index a1d64bd1e52..5877b015f7a 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -5479,6 +5479,8 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, diff --git a/service/appstream/api.go b/service/appstream/api.go index 938382cff6d..949c2b6fc69 100644 --- a/service/appstream/api.go +++ b/service/appstream/api.go @@ -9645,7 +9645,7 @@ type CreateFleetInput struct { // their previous session. Otherwise, they are connected to a new session with // a new streaming instance. // - // Specify a value between 60 and 360000. + // Specify a value between 60 and 36000. DisconnectTimeoutInSeconds *int64 `type:"integer"` // The fleet name to display. @@ -9697,8 +9697,8 @@ type CreateFleetInput struct { // elapses, they are disconnected. // // To prevent users from being disconnected due to inactivity, specify a value - // of 0. Otherwise, specify a value between 60 and 3600. The default value is - // 0. + // of 0. Otherwise, specify a value between 60 and 36000. The default value + // is 0. // // If you enable this feature, we recommend that you specify a value that corresponds // exactly to a whole number of minutes (for example, 60, 120, and 180). If @@ -15057,7 +15057,7 @@ type Fleet struct { // previous session. Otherwise, they are connected to a new session with a new // streaming instance. // - // Specify a value between 60 and 360000. + // Specify a value between 60 and 36000. DisconnectTimeoutInSeconds *int64 `type:"integer"` // The fleet name to display. @@ -15111,8 +15111,8 @@ type Fleet struct { // elapses, they are disconnected. // // To prevent users from being disconnected due to inactivity, specify a value - // of 0. Otherwise, specify a value between 60 and 3600. The default value is - // 0. + // of 0. Otherwise, specify a value between 60 and 36000. The default value + // is 0. // // If you enable this feature, we recommend that you specify a value that corresponds // exactly to a whole number of minutes (for example, 60, 120, and 180). If @@ -19308,7 +19308,7 @@ type UpdateFleetInput struct { // their previous session. Otherwise, they are connected to a new session with // a new streaming instance. // - // Specify a value between 60 and 360000. + // Specify a value between 60 and 36000. DisconnectTimeoutInSeconds *int64 `type:"integer"` // The fleet name to display. @@ -19345,8 +19345,8 @@ type UpdateFleetInput struct { // elapses, they are disconnected. // // To prevent users from being disconnected due to inactivity, specify a value - // of 0. Otherwise, specify a value between 60 and 3600. The default value is - // 0. + // of 0. Otherwise, specify a value between 60 and 36000. The default value + // is 0. // // If you enable this feature, we recommend that you specify a value that corresponds // exactly to a whole number of minutes (for example, 60, 120, and 180). If @@ -20244,9 +20244,6 @@ type UserSetting struct { // This defaults to 20,971,520 (20 MB) when unspecified and the permission is // ENABLED. This can't be specified when the permission is DISABLED. // - // This can only be specified for AlwaysOn and OnDemand fleets. The attribute - // is not supported on Elastic fleets. - // // The value can be between 1 and 20,971,520 (20 MB). MaximumLength *int64 `type:"integer"` @@ -21105,6 +21102,9 @@ const ( // PlatformTypeAmazonLinux2 is a PlatformType enum value PlatformTypeAmazonLinux2 = "AMAZON_LINUX2" + + // PlatformTypeRhel8 is a PlatformType enum value + PlatformTypeRhel8 = "RHEL8" ) // PlatformType_Values returns all elements of the PlatformType enum @@ -21115,6 +21115,7 @@ func PlatformType_Values() []string { PlatformTypeWindowsServer2019, PlatformTypeWindowsServer2022, PlatformTypeAmazonLinux2, + PlatformTypeRhel8, } } diff --git a/service/codepipeline/api.go b/service/codepipeline/api.go index 644fe9f98b7..86cc4f4f1b0 100644 --- a/service/codepipeline/api.go +++ b/service/codepipeline/api.go @@ -2010,6 +2010,237 @@ func (c *CodePipeline) ListPipelinesPagesWithContext(ctx aws.Context, input *Lis return p.Err() } +const opListRuleExecutions = "ListRuleExecutions" + +// ListRuleExecutionsRequest generates a "aws/request.Request" representing the +// client's request for the ListRuleExecutions 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 ListRuleExecutions for more information on using the ListRuleExecutions +// 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 ListRuleExecutionsRequest method. +// req, resp := client.ListRuleExecutionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleExecutions +func (c *CodePipeline) ListRuleExecutionsRequest(input *ListRuleExecutionsInput) (req *request.Request, output *ListRuleExecutionsOutput) { + op := &request.Operation{ + Name: opListRuleExecutions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListRuleExecutionsInput{} + } + + output = &ListRuleExecutionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListRuleExecutions API operation for AWS CodePipeline. +// +// Lists the rule executions that have occurred in a pipeline configured for +// conditions with rules. +// +// 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 CodePipeline's +// API operation ListRuleExecutions for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The validation was specified in an invalid format. +// +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. +// +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. +// +// - PipelineExecutionNotFoundException +// The pipeline execution was specified in an invalid format or cannot be found, +// or an execution ID does not belong to the specified pipeline. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleExecutions +func (c *CodePipeline) ListRuleExecutions(input *ListRuleExecutionsInput) (*ListRuleExecutionsOutput, error) { + req, out := c.ListRuleExecutionsRequest(input) + return out, req.Send() +} + +// ListRuleExecutionsWithContext is the same as ListRuleExecutions with the addition of +// the ability to pass a context and additional request options. +// +// See ListRuleExecutions 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 *CodePipeline) ListRuleExecutionsWithContext(ctx aws.Context, input *ListRuleExecutionsInput, opts ...request.Option) (*ListRuleExecutionsOutput, error) { + req, out := c.ListRuleExecutionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListRuleExecutionsPages iterates over the pages of a ListRuleExecutions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListRuleExecutions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListRuleExecutions operation. +// pageNum := 0 +// err := client.ListRuleExecutionsPages(params, +// func(page *codepipeline.ListRuleExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *CodePipeline) ListRuleExecutionsPages(input *ListRuleExecutionsInput, fn func(*ListRuleExecutionsOutput, bool) bool) error { + return c.ListRuleExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListRuleExecutionsPagesWithContext same as ListRuleExecutionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *CodePipeline) ListRuleExecutionsPagesWithContext(ctx aws.Context, input *ListRuleExecutionsInput, fn func(*ListRuleExecutionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListRuleExecutionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListRuleExecutionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListRuleExecutionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListRuleTypes = "ListRuleTypes" + +// ListRuleTypesRequest generates a "aws/request.Request" representing the +// client's request for the ListRuleTypes 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 ListRuleTypes for more information on using the ListRuleTypes +// 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 ListRuleTypesRequest method. +// req, resp := client.ListRuleTypesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleTypes +func (c *CodePipeline) ListRuleTypesRequest(input *ListRuleTypesInput) (req *request.Request, output *ListRuleTypesOutput) { + op := &request.Operation{ + Name: opListRuleTypes, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListRuleTypesInput{} + } + + output = &ListRuleTypesOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListRuleTypes API operation for AWS CodePipeline. +// +// Lists the rules for the condition. +// +// 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 CodePipeline's +// API operation ListRuleTypes for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The validation was specified in an invalid format. +// +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListRuleTypes +func (c *CodePipeline) ListRuleTypes(input *ListRuleTypesInput) (*ListRuleTypesOutput, error) { + req, out := c.ListRuleTypesRequest(input) + return out, req.Send() +} + +// ListRuleTypesWithContext is the same as ListRuleTypes with the addition of +// the ability to pass a context and additional request options. +// +// See ListRuleTypes 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 *CodePipeline) ListRuleTypesWithContext(ctx aws.Context, input *ListRuleTypesInput, opts ...request.Option) (*ListRuleTypesOutput, error) { + req, out := c.ListRuleTypesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -2298,6 +2529,106 @@ func (c *CodePipeline) ListWebhooksPagesWithContext(ctx aws.Context, input *List return p.Err() } +const opOverrideStageCondition = "OverrideStageCondition" + +// OverrideStageConditionRequest generates a "aws/request.Request" representing the +// client's request for the OverrideStageCondition 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 OverrideStageCondition for more information on using the OverrideStageCondition +// 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 OverrideStageConditionRequest method. +// req, resp := client.OverrideStageConditionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OverrideStageCondition +func (c *CodePipeline) OverrideStageConditionRequest(input *OverrideStageConditionInput) (req *request.Request, output *OverrideStageConditionOutput) { + op := &request.Operation{ + Name: opOverrideStageCondition, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &OverrideStageConditionInput{} + } + + output = &OverrideStageConditionOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// OverrideStageCondition API operation for AWS CodePipeline. +// +// Used to override a stage condition. +// +// 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 CodePipeline's +// API operation OverrideStageCondition for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// The validation was specified in an invalid format. +// +// - ConflictException +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. +// +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. +// +// - StageNotFoundException +// The stage was specified in an invalid format or cannot be found. +// +// - ConditionNotOverridableException +// Unable to override because the condition does not allow overrides. +// +// - NotLatestPipelineExecutionException +// The stage has failed in a later run of the pipeline and the pipelineExecutionId +// associated with the request is out of date. +// +// - ConcurrentPipelineExecutionsLimitExceededException +// The pipeline has reached the limit for concurrent pipeline executions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OverrideStageCondition +func (c *CodePipeline) OverrideStageCondition(input *OverrideStageConditionInput) (*OverrideStageConditionOutput, error) { + req, out := c.OverrideStageConditionRequest(input) + return out, req.Send() +} + +// OverrideStageConditionWithContext is the same as OverrideStageCondition with the addition of +// the ability to pass a context and additional request options. +// +// See OverrideStageCondition 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 *CodePipeline) OverrideStageConditionWithContext(ctx aws.Context, input *OverrideStageConditionInput, opts ...request.Option) (*OverrideStageConditionOutput, error) { + req, out := c.OverrideStageConditionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPollForJobs = "PollForJobs" // PollForJobsRequest generates a "aws/request.Request" representing the @@ -2541,6 +2872,9 @@ func (c *CodePipeline) PutActionRevisionRequest(input *PutActionRevisionInput) ( // - ValidationException // The validation was specified in an invalid format. // +// - ConcurrentPipelineExecutionsLimitExceededException +// The pipeline has reached the limit for concurrent pipeline executions. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision func (c *CodePipeline) PutActionRevision(input *PutActionRevisionInput) (*PutActionRevisionOutput, error) { req, out := c.PutActionRevisionRequest(input) @@ -3289,6 +3623,9 @@ func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInpu // The stage has failed in a later run of the pipeline and the pipelineExecutionId // associated with the request is out of date. // +// - ConcurrentPipelineExecutionsLimitExceededException +// The pipeline has reached the limit for concurrent pipeline executions. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution func (c *CodePipeline) RetryStageExecution(input *RetryStageExecutionInput) (*RetryStageExecutionOutput, error) { req, out := c.RetryStageExecutionRequest(input) @@ -6944,6 +7281,66 @@ func (s *ArtifactStore) SetType(v string) *ArtifactStore { return s } +// The conditions for making checks for entry to a stage. +type BeforeEntryConditions struct { + _ struct{} `type:"structure"` + + // The conditions that are configured as entry conditions. + // + // Conditions is a required field + Conditions []*Condition `locationName:"conditions" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BeforeEntryConditions) 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 BeforeEntryConditions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BeforeEntryConditions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BeforeEntryConditions"} + if s.Conditions == nil { + invalidParams.Add(request.NewErrParamRequired("Conditions")) + } + if s.Conditions != nil && len(s.Conditions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Conditions", 1)) + } + if s.Conditions != nil { + for i, v := range s.Conditions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConditions sets the Conditions field's value. +func (s *BeforeEntryConditions) SetConditions(v []*Condition) *BeforeEntryConditions { + s.Conditions = v + return s +} + // Reserved for future use. type BlockerDeclaration struct { _ struct{} `type:"structure"` @@ -7136,6 +7533,227 @@ func (s *ConcurrentPipelineExecutionsLimitExceededException) RequestID() string return s.RespMetadata.RequestID } +// The condition for the stage. A condition is made up of the rules and the +// result for the condition. +type Condition struct { + _ struct{} `type:"structure"` + + // The action to be done when the condition is met. For example, rolling back + // an execution for a failure condition. + Result *string `locationName:"result" type:"string" enum:"Result"` + + // The rules that make up the condition. + Rules []*RuleDeclaration `locationName:"rules" min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Condition) 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 Condition) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Condition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Condition"} + if s.Rules != nil && len(s.Rules) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Rules", 1)) + } + if s.Rules != nil { + for i, v := range s.Rules { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Rules", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResult sets the Result field's value. +func (s *Condition) SetResult(v string) *Condition { + s.Result = &v + return s +} + +// SetRules sets the Rules field's value. +func (s *Condition) SetRules(v []*RuleDeclaration) *Condition { + s.Rules = v + return s +} + +// The run of a condition. +type ConditionExecution struct { + _ struct{} `type:"structure"` + + // The last status change of the condition. + LastStatusChange *time.Time `locationName:"lastStatusChange" type:"timestamp"` + + // The status of the run for a condition. + Status *string `locationName:"status" type:"string" enum:"ConditionExecutionStatus"` + + // The summary of information about a run for a condition. + Summary *string `locationName:"summary" 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 ConditionExecution) 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 ConditionExecution) GoString() string { + return s.String() +} + +// SetLastStatusChange sets the LastStatusChange field's value. +func (s *ConditionExecution) SetLastStatusChange(v time.Time) *ConditionExecution { + s.LastStatusChange = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ConditionExecution) SetStatus(v string) *ConditionExecution { + s.Status = &v + return s +} + +// SetSummary sets the Summary field's value. +func (s *ConditionExecution) SetSummary(v string) *ConditionExecution { + s.Summary = &v + return s +} + +// Unable to override because the condition does not allow overrides. +type ConditionNotOverridableException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConditionNotOverridableException) 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 ConditionNotOverridableException) GoString() string { + return s.String() +} + +func newErrorConditionNotOverridableException(v protocol.ResponseMetadata) error { + return &ConditionNotOverridableException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConditionNotOverridableException) Code() string { + return "ConditionNotOverridableException" +} + +// Message returns the exception's message. +func (s *ConditionNotOverridableException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConditionNotOverridableException) OrigErr() error { + return nil +} + +func (s *ConditionNotOverridableException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConditionNotOverridableException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConditionNotOverridableException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Information about the state of the condition. +type ConditionState struct { + _ struct{} `type:"structure"` + + // The state of the latest run of the rule. + LatestExecution *ConditionExecution `locationName:"latestExecution" type:"structure"` + + // The state of the rules for the condition. + RuleStates []*RuleState `locationName:"ruleStates" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConditionState) 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 ConditionState) GoString() string { + return s.String() +} + +// SetLatestExecution sets the LatestExecution field's value. +func (s *ConditionState) SetLatestExecution(v *ConditionExecution) *ConditionState { + s.LatestExecution = v + return s +} + +// SetRuleStates sets the RuleStates field's value. +func (s *ConditionState) SetRuleStates(v []*RuleState) *ConditionState { + s.RuleStates = v + return s +} + // Your request cannot be handled because the pipeline is busy handling ongoing // activities. Try again later. type ConflictException struct { @@ -8533,6 +9151,9 @@ func (s *ExecutorConfiguration) SetLambdaExecutorConfiguration(v *LambdaExecutor type FailureConditions struct { _ struct{} `type:"structure"` + // The conditions that are configured as failure conditions. + Conditions []*Condition `locationName:"conditions" min:"1" type:"list"` + // The specified result for when the failure conditions are met, such as rolling // back the stage. Result *string `locationName:"result" type:"string" enum:"Result"` @@ -8556,6 +9177,35 @@ func (s FailureConditions) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *FailureConditions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FailureConditions"} + if s.Conditions != nil && len(s.Conditions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Conditions", 1)) + } + if s.Conditions != nil { + for i, v := range s.Conditions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConditions sets the Conditions field's value. +func (s *FailureConditions) SetConditions(v []*Condition) *FailureConditions { + s.Conditions = v + return s +} + // SetResult sets the Result field's value. func (s *FailureConditions) SetResult(v string) *FailureConditions { s.Result = &v @@ -11690,21 +12340,26 @@ func (s *ListPipelinesOutput) SetPipelines(v []*PipelineSummary) *ListPipelinesO return s } -type ListTagsForResourceInput struct { +type ListRuleExecutionsInput struct { _ struct{} `type:"structure"` - // The maximum number of results to return in a single call. + // Input information used to filter rule execution history. + Filter *RuleExecutionFilter `locationName:"filter" type:"structure"` + + // The maximum number of results to return in a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. Pipeline + // history is limited to the most recent 12 months, based on pipeline execution + // start times. Default value is 100. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` - // The token that was returned from the previous API call, which would be used - // to return the next page of the list. The ListTagsforResource call lists all - // available tags in one call and does not use pagination. + // The token that was returned from the previous ListRuleExecutions call, which + // can be used to return the next set of rule executions in the list. NextToken *string `locationName:"nextToken" min:"1" type:"string"` - // The Amazon Resource Name (ARN) of the resource to get tags for. + // The name of the pipeline for which you want to get execution summary information. // - // ResourceArn is a required field - ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` + // PipelineName is a required field + PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -11712,7 +12367,7 @@ type ListTagsForResourceInput struct { // 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 ListTagsForResourceInput) String() string { +func (s ListRuleExecutionsInput) String() string { return awsutil.Prettify(s) } @@ -11721,25 +12376,239 @@ func (s ListTagsForResourceInput) String() string { // 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 ListTagsForResourceInput) GoString() string { +func (s ListRuleExecutionsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListTagsForResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} +func (s *ListRuleExecutionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRuleExecutionsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } if s.NextToken != nil && len(*s.NextToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) } - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + if s.PipelineName == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineName")) } - - if invalidParams.Len() > 0 { - return invalidParams + if s.PipelineName != nil && len(*s.PipelineName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) + } + if s.Filter != nil { + if err := s.Filter.Validate(); err != nil { + invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFilter sets the Filter field's value. +func (s *ListRuleExecutionsInput) SetFilter(v *RuleExecutionFilter) *ListRuleExecutionsInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListRuleExecutionsInput) SetMaxResults(v int64) *ListRuleExecutionsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListRuleExecutionsInput) SetNextToken(v string) *ListRuleExecutionsInput { + s.NextToken = &v + return s +} + +// SetPipelineName sets the PipelineName field's value. +func (s *ListRuleExecutionsInput) SetPipelineName(v string) *ListRuleExecutionsInput { + s.PipelineName = &v + return s +} + +type ListRuleExecutionsOutput struct { + _ struct{} `type:"structure"` + + // A token that can be used in the next ListRuleExecutions call. To view all + // items in the list, continue to call this operation with each subsequent token + // until no more nextToken values are returned. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // Details about the output for listing rule executions. + RuleExecutionDetails []*RuleExecutionDetail `locationName:"ruleExecutionDetails" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRuleExecutionsOutput) 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 ListRuleExecutionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListRuleExecutionsOutput) SetNextToken(v string) *ListRuleExecutionsOutput { + s.NextToken = &v + return s +} + +// SetRuleExecutionDetails sets the RuleExecutionDetails field's value. +func (s *ListRuleExecutionsOutput) SetRuleExecutionDetails(v []*RuleExecutionDetail) *ListRuleExecutionsOutput { + s.RuleExecutionDetails = v + return s +} + +type ListRuleTypesInput struct { + _ struct{} `type:"structure"` + + // The rule Region to filter on. + RegionFilter *string `locationName:"regionFilter" min:"4" type:"string"` + + // The rule owner to filter on. + RuleOwnerFilter *string `locationName:"ruleOwnerFilter" type:"string" enum:"RuleOwner"` +} + +// 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 ListRuleTypesInput) 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 ListRuleTypesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListRuleTypesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListRuleTypesInput"} + if s.RegionFilter != nil && len(*s.RegionFilter) < 4 { + invalidParams.Add(request.NewErrParamMinLen("RegionFilter", 4)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRegionFilter sets the RegionFilter field's value. +func (s *ListRuleTypesInput) SetRegionFilter(v string) *ListRuleTypesInput { + s.RegionFilter = &v + return s +} + +// SetRuleOwnerFilter sets the RuleOwnerFilter field's value. +func (s *ListRuleTypesInput) SetRuleOwnerFilter(v string) *ListRuleTypesInput { + s.RuleOwnerFilter = &v + return s +} + +type ListRuleTypesOutput struct { + _ struct{} `type:"structure"` + + // Lists the rules that are configured for the condition. + // + // RuleTypes is a required field + RuleTypes []*RuleType `locationName:"ruleTypes" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListRuleTypesOutput) 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 ListRuleTypesOutput) GoString() string { + return s.String() +} + +// SetRuleTypes sets the RuleTypes field's value. +func (s *ListRuleTypesOutput) SetRuleTypes(v []*RuleType) *ListRuleTypesOutput { + s.RuleTypes = v + return s +} + +type ListTagsForResourceInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results to return in a single call. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The token that was returned from the previous API call, which would be used + // to return the next page of the list. The ListTagsforResource call lists all + // available tags in one call and does not use pagination. + NextToken *string `locationName:"nextToken" min:"1" type:"string"` + + // The Amazon Resource Name (ARN) of the resource to get tags for. + // + // ResourceArn is a required field + ResourceArn *string `locationName:"resourceArn" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListTagsForResourceInput) 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 ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams } return nil } @@ -12189,29 +13058,29 @@ func (s *OutputVariablesSizeExceededException) RequestID() string { return s.RespMetadata.RequestID } -// Represents information about a pipeline to a job worker. -// -// PipelineContext contains pipelineArn and pipelineExecutionId for custom action -// jobs. The pipelineArn and pipelineExecutionId fields are not populated for -// ThirdParty action jobs. -type PipelineContext struct { +type OverrideStageConditionInput struct { _ struct{} `type:"structure"` - // The context of an action to a job worker in the stage of a pipeline. - Action *ActionContext `locationName:"action" type:"structure"` - - // The Amazon Resource Name (ARN) of the pipeline. - PipelineArn *string `locationName:"pipelineArn" type:"string"` + // The type of condition to override for the stage, such as entry conditions, + // failure conditions, or success conditions. + // + // ConditionType is a required field + ConditionType *string `locationName:"conditionType" type:"string" required:"true" enum:"ConditionType"` - // The execution ID of the pipeline. - PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` + // The ID of the pipeline execution for the override. + // + // PipelineExecutionId is a required field + PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` - // The name of the pipeline. This is a user-specified value. Pipeline names - // must be unique across all pipeline names under an Amazon Web Services account. - PipelineName *string `locationName:"pipelineName" min:"1" type:"string"` + // The name of the pipeline with the stage that will override the condition. + // + // PipelineName is a required field + PipelineName *string `locationName:"pipelineName" min:"1" type:"string" required:"true"` - // The stage of the pipeline. - Stage *StageContext `locationName:"stage" type:"structure"` + // The name of the stage for the override. + // + // StageName is a required field + StageName *string `locationName:"stageName" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -12219,7 +13088,7 @@ type PipelineContext struct { // 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 PipelineContext) String() string { +func (s OverrideStageConditionInput) String() string { return awsutil.Prettify(s) } @@ -12228,51 +13097,168 @@ func (s PipelineContext) String() string { // 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 PipelineContext) GoString() string { +func (s OverrideStageConditionInput) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *PipelineContext) SetAction(v *ActionContext) *PipelineContext { - s.Action = v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *OverrideStageConditionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "OverrideStageConditionInput"} + if s.ConditionType == nil { + invalidParams.Add(request.NewErrParamRequired("ConditionType")) + } + if s.PipelineExecutionId == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineExecutionId")) + } + if s.PipelineName == nil { + invalidParams.Add(request.NewErrParamRequired("PipelineName")) + } + if s.PipelineName != nil && len(*s.PipelineName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1)) + } + if s.StageName == nil { + invalidParams.Add(request.NewErrParamRequired("StageName")) + } + if s.StageName != nil && len(*s.StageName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("StageName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetPipelineArn sets the PipelineArn field's value. -func (s *PipelineContext) SetPipelineArn(v string) *PipelineContext { - s.PipelineArn = &v +// SetConditionType sets the ConditionType field's value. +func (s *OverrideStageConditionInput) SetConditionType(v string) *OverrideStageConditionInput { + s.ConditionType = &v return s } // SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *PipelineContext) SetPipelineExecutionId(v string) *PipelineContext { +func (s *OverrideStageConditionInput) SetPipelineExecutionId(v string) *OverrideStageConditionInput { s.PipelineExecutionId = &v return s } // SetPipelineName sets the PipelineName field's value. -func (s *PipelineContext) SetPipelineName(v string) *PipelineContext { +func (s *OverrideStageConditionInput) SetPipelineName(v string) *OverrideStageConditionInput { s.PipelineName = &v return s } -// SetStage sets the Stage field's value. -func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext { - s.Stage = v +// SetStageName sets the StageName field's value. +func (s *OverrideStageConditionInput) SetStageName(v string) *OverrideStageConditionInput { + s.StageName = &v return s } -// Represents the structure of actions and stages to be performed in the pipeline. -type PipelineDeclaration struct { +type OverrideStageConditionOutput struct { _ struct{} `type:"structure"` +} - // Represents information about the S3 bucket where artifacts are stored for - // the pipeline. - // - // You must include either artifactStore or artifactStores in your pipeline, - // but you cannot use both. If you create a cross-region action in your pipeline, - // you must use artifactStores. - ArtifactStore *ArtifactStore `locationName:"artifactStore" type:"structure"` +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OverrideStageConditionOutput) 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 OverrideStageConditionOutput) GoString() string { + return s.String() +} + +// Represents information about a pipeline to a job worker. +// +// PipelineContext contains pipelineArn and pipelineExecutionId for custom action +// jobs. The pipelineArn and pipelineExecutionId fields are not populated for +// ThirdParty action jobs. +type PipelineContext struct { + _ struct{} `type:"structure"` + + // The context of an action to a job worker in the stage of a pipeline. + Action *ActionContext `locationName:"action" type:"structure"` + + // The Amazon Resource Name (ARN) of the pipeline. + PipelineArn *string `locationName:"pipelineArn" type:"string"` + + // The execution ID of the pipeline. + PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` + + // The name of the pipeline. This is a user-specified value. Pipeline names + // must be unique across all pipeline names under an Amazon Web Services account. + PipelineName *string `locationName:"pipelineName" min:"1" type:"string"` + + // The stage of the pipeline. + Stage *StageContext `locationName:"stage" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PipelineContext) 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 PipelineContext) GoString() string { + return s.String() +} + +// SetAction sets the Action field's value. +func (s *PipelineContext) SetAction(v *ActionContext) *PipelineContext { + s.Action = v + return s +} + +// SetPipelineArn sets the PipelineArn field's value. +func (s *PipelineContext) SetPipelineArn(v string) *PipelineContext { + s.PipelineArn = &v + return s +} + +// SetPipelineExecutionId sets the PipelineExecutionId field's value. +func (s *PipelineContext) SetPipelineExecutionId(v string) *PipelineContext { + s.PipelineExecutionId = &v + return s +} + +// SetPipelineName sets the PipelineName field's value. +func (s *PipelineContext) SetPipelineName(v string) *PipelineContext { + s.PipelineName = &v + return s +} + +// SetStage sets the Stage field's value. +func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext { + s.Stage = v + return s +} + +// Represents the structure of actions and stages to be performed in the pipeline. +type PipelineDeclaration struct { + _ struct{} `type:"structure"` + + // Represents information about the S3 bucket where artifacts are stored for + // the pipeline. + // + // You must include either artifactStore or artifactStores in your pipeline, + // but you cannot use both. If you create a cross-region action in your pipeline, + // you must use artifactStores. + ArtifactStore *ArtifactStore `locationName:"artifactStore" type:"structure"` // A mapping of artifactStore objects and their corresponding Amazon Web Services // Regions. There must be an artifact store for the pipeline Region and for @@ -15104,8 +16090,1035 @@ func (s *RollbackStageInput) Validate() error { if s.StageName != nil && len(*s.StageName) < 1 { invalidParams.Add(request.NewErrParamMinLen("StageName", 1)) } - if s.TargetPipelineExecutionId == nil { - invalidParams.Add(request.NewErrParamRequired("TargetPipelineExecutionId")) + if s.TargetPipelineExecutionId == nil { + invalidParams.Add(request.NewErrParamRequired("TargetPipelineExecutionId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPipelineName sets the PipelineName field's value. +func (s *RollbackStageInput) SetPipelineName(v string) *RollbackStageInput { + s.PipelineName = &v + return s +} + +// SetStageName sets the StageName field's value. +func (s *RollbackStageInput) SetStageName(v string) *RollbackStageInput { + s.StageName = &v + return s +} + +// SetTargetPipelineExecutionId sets the TargetPipelineExecutionId field's value. +func (s *RollbackStageInput) SetTargetPipelineExecutionId(v string) *RollbackStageInput { + s.TargetPipelineExecutionId = &v + return s +} + +type RollbackStageOutput struct { + _ struct{} `type:"structure"` + + // The execution ID of the pipeline execution for the stage that has been rolled + // back. + // + // PipelineExecutionId is a required field + PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RollbackStageOutput) 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 RollbackStageOutput) GoString() string { + return s.String() +} + +// SetPipelineExecutionId sets the PipelineExecutionId field's value. +func (s *RollbackStageOutput) SetPipelineExecutionId(v string) *RollbackStageOutput { + s.PipelineExecutionId = &v + return s +} + +// Represents information about a rule configuration property. +type RuleConfigurationProperty struct { + _ struct{} `type:"structure"` + + // The description of the action configuration property that is displayed to + // users. + Description *string `locationName:"description" min:"1" type:"string"` + + // Whether the configuration property is a key. + // + // Key is a required field + Key *bool `locationName:"key" type:"boolean" required:"true"` + + // The name of the rule configuration property. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // Indicates whether the property can be queried. + // + // If you create a pipeline with a condition and rule, and that rule contains + // a queryable property, the value for that configuration property is subject + // to other restrictions. The value must be less than or equal to twenty (20) + // characters. The value can contain only alphanumeric characters, underscores, + // and hyphens. + Queryable *bool `locationName:"queryable" type:"boolean"` + + // Whether the configuration property is a required value. + // + // Required is a required field + Required *bool `locationName:"required" type:"boolean" required:"true"` + + // Whether the configuration property is secret. + // + // When updating a pipeline, passing * * * * * without changing any other values + // of the action preserves the previous value of the secret. + // + // Secret is a required field + Secret *bool `locationName:"secret" type:"boolean" required:"true"` + + // The type of the configuration property. + Type *string `locationName:"type" type:"string" enum:"RuleConfigurationPropertyType"` +} + +// 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 RuleConfigurationProperty) 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 RuleConfigurationProperty) GoString() string { + return s.String() +} + +// SetDescription sets the Description field's value. +func (s *RuleConfigurationProperty) SetDescription(v string) *RuleConfigurationProperty { + s.Description = &v + return s +} + +// SetKey sets the Key field's value. +func (s *RuleConfigurationProperty) SetKey(v bool) *RuleConfigurationProperty { + s.Key = &v + return s +} + +// SetName sets the Name field's value. +func (s *RuleConfigurationProperty) SetName(v string) *RuleConfigurationProperty { + s.Name = &v + return s +} + +// SetQueryable sets the Queryable field's value. +func (s *RuleConfigurationProperty) SetQueryable(v bool) *RuleConfigurationProperty { + s.Queryable = &v + return s +} + +// SetRequired sets the Required field's value. +func (s *RuleConfigurationProperty) SetRequired(v bool) *RuleConfigurationProperty { + s.Required = &v + return s +} + +// SetSecret sets the Secret field's value. +func (s *RuleConfigurationProperty) SetSecret(v bool) *RuleConfigurationProperty { + s.Secret = &v + return s +} + +// SetType sets the Type field's value. +func (s *RuleConfigurationProperty) SetType(v string) *RuleConfigurationProperty { + s.Type = &v + return s +} + +// Represents information about the rule to be created for an associated condition. +// An example would be creating a new rule for an entry condition, such as a +// rule that checks for a test result before allowing the run to enter the deployment +// stage. +type RuleDeclaration struct { + _ struct{} `type:"structure"` + + // The action configuration fields for the rule. + Configuration map[string]*string `locationName:"configuration" type:"map"` + + // The input artifacts fields for the rule, such as specifying an input file + // for the rule. + InputArtifacts []*InputArtifact `locationName:"inputArtifacts" type:"list"` + + // The name of the rule that is created for the condition, such as CheckAllResults. + // + // Name is a required field + Name *string `locationName:"name" min:"1" type:"string" required:"true"` + + // The Region for the condition associated with the rule. + Region *string `locationName:"region" min:"4" type:"string"` + + // The pipeline role ARN associated with the rule. + RoleArn *string `locationName:"roleArn" type:"string"` + + // The ID for the rule type, which is made up of the combined values for category, + // owner, provider, and version. + // + // RuleTypeId is a required field + RuleTypeId *RuleTypeId `locationName:"ruleTypeId" type:"structure" required:"true"` + + // The action timeout for the rule. + TimeoutInMinutes *int64 `locationName:"timeoutInMinutes" min:"5" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleDeclaration) 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 RuleDeclaration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RuleDeclaration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RuleDeclaration"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Region != nil && len(*s.Region) < 4 { + invalidParams.Add(request.NewErrParamMinLen("Region", 4)) + } + if s.RuleTypeId == nil { + invalidParams.Add(request.NewErrParamRequired("RuleTypeId")) + } + if s.TimeoutInMinutes != nil && *s.TimeoutInMinutes < 5 { + invalidParams.Add(request.NewErrParamMinValue("TimeoutInMinutes", 5)) + } + if s.InputArtifacts != nil { + for i, v := range s.InputArtifacts { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams)) + } + } + } + if s.RuleTypeId != nil { + if err := s.RuleTypeId.Validate(); err != nil { + invalidParams.AddNested("RuleTypeId", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfiguration sets the Configuration field's value. +func (s *RuleDeclaration) SetConfiguration(v map[string]*string) *RuleDeclaration { + s.Configuration = v + return s +} + +// SetInputArtifacts sets the InputArtifacts field's value. +func (s *RuleDeclaration) SetInputArtifacts(v []*InputArtifact) *RuleDeclaration { + s.InputArtifacts = v + return s +} + +// SetName sets the Name field's value. +func (s *RuleDeclaration) SetName(v string) *RuleDeclaration { + s.Name = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *RuleDeclaration) SetRegion(v string) *RuleDeclaration { + s.Region = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *RuleDeclaration) SetRoleArn(v string) *RuleDeclaration { + s.RoleArn = &v + return s +} + +// SetRuleTypeId sets the RuleTypeId field's value. +func (s *RuleDeclaration) SetRuleTypeId(v *RuleTypeId) *RuleDeclaration { + s.RuleTypeId = v + return s +} + +// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. +func (s *RuleDeclaration) SetTimeoutInMinutes(v int64) *RuleDeclaration { + s.TimeoutInMinutes = &v + return s +} + +// Represents information about each time a rule is run as part of the pipeline +// execution for a pipeline configured with conditions. +type RuleExecution struct { + _ struct{} `type:"structure"` + + // Represents information about an error in CodePipeline. + ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` + + // The external ID of the run of the rule. + ExternalExecutionId *string `locationName:"externalExecutionId" min:"1" type:"string"` + + // The URL of a resource external to Amazon Web Services that is used when running + // the rule (for example, an external repository URL). + ExternalExecutionUrl *string `locationName:"externalExecutionUrl" min:"1" type:"string"` + + // The last status change of the rule. + LastStatusChange *time.Time `locationName:"lastStatusChange" type:"timestamp"` + + // The ARN of the user who last changed the rule. + LastUpdatedBy *string `locationName:"lastUpdatedBy" type:"string"` + + // The execution ID for the run of the rule. + RuleExecutionId *string `locationName:"ruleExecutionId" min:"1" type:"string"` + + // The status of the run of the rule, such as FAILED. + Status *string `locationName:"status" type:"string" enum:"RuleExecutionStatus"` + + // A summary of the run of the rule. + Summary *string `locationName:"summary" min:"1" type:"string"` + + // The system-generated token used to identify a unique request. + Token *string `locationName:"token" 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 RuleExecution) 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 RuleExecution) GoString() string { + return s.String() +} + +// SetErrorDetails sets the ErrorDetails field's value. +func (s *RuleExecution) SetErrorDetails(v *ErrorDetails) *RuleExecution { + s.ErrorDetails = v + return s +} + +// SetExternalExecutionId sets the ExternalExecutionId field's value. +func (s *RuleExecution) SetExternalExecutionId(v string) *RuleExecution { + s.ExternalExecutionId = &v + return s +} + +// SetExternalExecutionUrl sets the ExternalExecutionUrl field's value. +func (s *RuleExecution) SetExternalExecutionUrl(v string) *RuleExecution { + s.ExternalExecutionUrl = &v + return s +} + +// SetLastStatusChange sets the LastStatusChange field's value. +func (s *RuleExecution) SetLastStatusChange(v time.Time) *RuleExecution { + s.LastStatusChange = &v + return s +} + +// SetLastUpdatedBy sets the LastUpdatedBy field's value. +func (s *RuleExecution) SetLastUpdatedBy(v string) *RuleExecution { + s.LastUpdatedBy = &v + return s +} + +// SetRuleExecutionId sets the RuleExecutionId field's value. +func (s *RuleExecution) SetRuleExecutionId(v string) *RuleExecution { + s.RuleExecutionId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *RuleExecution) SetStatus(v string) *RuleExecution { + s.Status = &v + return s +} + +// SetSummary sets the Summary field's value. +func (s *RuleExecution) SetSummary(v string) *RuleExecution { + s.Summary = &v + return s +} + +// SetToken sets the Token field's value. +func (s *RuleExecution) SetToken(v string) *RuleExecution { + s.Token = &v + return s +} + +// The details of the runs for a rule and the results produced on an artifact +// as it passes through stages in the pipeline. +type RuleExecutionDetail struct { + _ struct{} `type:"structure"` + + // Input details for the rule execution, such as role ARN, Region, and input + // artifacts. + Input *RuleExecutionInput_ `locationName:"input" type:"structure"` + + // The date and time of the last change to the rule execution, in timestamp + // format. + LastUpdateTime *time.Time `locationName:"lastUpdateTime" type:"timestamp"` + + // Output details for the rule execution, such as the rule execution result. + Output *RuleExecutionOutput_ `locationName:"output" type:"structure"` + + // The ID of the pipeline execution in the stage where the rule was run. Use + // the GetPipelineState action to retrieve the current pipelineExecutionId of + // the stage. + PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string"` + + // The version number of the pipeline with the stage where the rule was run. + PipelineVersion *int64 `locationName:"pipelineVersion" min:"1" type:"integer"` + + // The ID of the run for the rule. + RuleExecutionId *string `locationName:"ruleExecutionId" min:"1" type:"string"` + + // The name of the rule that was run in the stage. + RuleName *string `locationName:"ruleName" min:"1" type:"string"` + + // The name of the stage where the rule was run. + StageName *string `locationName:"stageName" min:"1" type:"string"` + + // The start time of the rule execution. + StartTime *time.Time `locationName:"startTime" type:"timestamp"` + + // The status of the rule execution. Status categories are InProgress, Succeeded, + // and Failed. + Status *string `locationName:"status" type:"string" enum:"RuleExecutionStatus"` + + // The ARN of the user who changed the rule execution details. + UpdatedBy *string `locationName:"updatedBy" 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 RuleExecutionDetail) 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 RuleExecutionDetail) GoString() string { + return s.String() +} + +// SetInput sets the Input field's value. +func (s *RuleExecutionDetail) SetInput(v *RuleExecutionInput_) *RuleExecutionDetail { + s.Input = v + return s +} + +// SetLastUpdateTime sets the LastUpdateTime field's value. +func (s *RuleExecutionDetail) SetLastUpdateTime(v time.Time) *RuleExecutionDetail { + s.LastUpdateTime = &v + return s +} + +// SetOutput sets the Output field's value. +func (s *RuleExecutionDetail) SetOutput(v *RuleExecutionOutput_) *RuleExecutionDetail { + s.Output = v + return s +} + +// SetPipelineExecutionId sets the PipelineExecutionId field's value. +func (s *RuleExecutionDetail) SetPipelineExecutionId(v string) *RuleExecutionDetail { + s.PipelineExecutionId = &v + return s +} + +// SetPipelineVersion sets the PipelineVersion field's value. +func (s *RuleExecutionDetail) SetPipelineVersion(v int64) *RuleExecutionDetail { + s.PipelineVersion = &v + return s +} + +// SetRuleExecutionId sets the RuleExecutionId field's value. +func (s *RuleExecutionDetail) SetRuleExecutionId(v string) *RuleExecutionDetail { + s.RuleExecutionId = &v + return s +} + +// SetRuleName sets the RuleName field's value. +func (s *RuleExecutionDetail) SetRuleName(v string) *RuleExecutionDetail { + s.RuleName = &v + return s +} + +// SetStageName sets the StageName field's value. +func (s *RuleExecutionDetail) SetStageName(v string) *RuleExecutionDetail { + s.StageName = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *RuleExecutionDetail) SetStartTime(v time.Time) *RuleExecutionDetail { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *RuleExecutionDetail) SetStatus(v string) *RuleExecutionDetail { + s.Status = &v + return s +} + +// SetUpdatedBy sets the UpdatedBy field's value. +func (s *RuleExecutionDetail) SetUpdatedBy(v string) *RuleExecutionDetail { + s.UpdatedBy = &v + return s +} + +// Filter values for the rule execution. +type RuleExecutionFilter struct { + _ struct{} `type:"structure"` + + // The field that specifies to filter on the latest execution in the pipeline. + // + // Filtering on the latest execution is available for executions run on or after + // February 08, 2024. + LatestInPipelineExecution *LatestInPipelineExecutionFilter `locationName:"latestInPipelineExecution" type:"structure"` + + // The pipeline execution ID used to filter rule execution history. + PipelineExecutionId *string `locationName:"pipelineExecutionId" 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 RuleExecutionFilter) 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 RuleExecutionFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RuleExecutionFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RuleExecutionFilter"} + if s.LatestInPipelineExecution != nil { + if err := s.LatestInPipelineExecution.Validate(); err != nil { + invalidParams.AddNested("LatestInPipelineExecution", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLatestInPipelineExecution sets the LatestInPipelineExecution field's value. +func (s *RuleExecutionFilter) SetLatestInPipelineExecution(v *LatestInPipelineExecutionFilter) *RuleExecutionFilter { + s.LatestInPipelineExecution = v + return s +} + +// SetPipelineExecutionId sets the PipelineExecutionId field's value. +func (s *RuleExecutionFilter) SetPipelineExecutionId(v string) *RuleExecutionFilter { + s.PipelineExecutionId = &v + return s +} + +// Input information used for a rule execution. +type RuleExecutionInput_ struct { + _ struct{} `type:"structure"` + + // Configuration data for a rule execution, such as the resolved values for + // that run. + Configuration map[string]*string `locationName:"configuration" type:"map"` + + // Details of input artifacts of the rule that correspond to the rule execution. + InputArtifacts []*ArtifactDetail `locationName:"inputArtifacts" type:"list"` + + // The Amazon Web Services Region for the rule, such as us-east-1. + Region *string `locationName:"region" min:"4" type:"string"` + + // Configuration data for a rule execution with all variable references replaced + // with their real values for the execution. + ResolvedConfiguration map[string]*string `locationName:"resolvedConfiguration" type:"map"` + + // The ARN of the IAM service role that performs the declared rule. This is + // assumed through the roleArn for the pipeline. + RoleArn *string `locationName:"roleArn" type:"string"` + + // The ID for the rule type, which is made up of the combined values for category, + // owner, provider, and version. + RuleTypeId *RuleTypeId `locationName:"ruleTypeId" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleExecutionInput_) 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 RuleExecutionInput_) GoString() string { + return s.String() +} + +// SetConfiguration sets the Configuration field's value. +func (s *RuleExecutionInput_) SetConfiguration(v map[string]*string) *RuleExecutionInput_ { + s.Configuration = v + return s +} + +// SetInputArtifacts sets the InputArtifacts field's value. +func (s *RuleExecutionInput_) SetInputArtifacts(v []*ArtifactDetail) *RuleExecutionInput_ { + s.InputArtifacts = v + return s +} + +// SetRegion sets the Region field's value. +func (s *RuleExecutionInput_) SetRegion(v string) *RuleExecutionInput_ { + s.Region = &v + return s +} + +// SetResolvedConfiguration sets the ResolvedConfiguration field's value. +func (s *RuleExecutionInput_) SetResolvedConfiguration(v map[string]*string) *RuleExecutionInput_ { + s.ResolvedConfiguration = v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *RuleExecutionInput_) SetRoleArn(v string) *RuleExecutionInput_ { + s.RoleArn = &v + return s +} + +// SetRuleTypeId sets the RuleTypeId field's value. +func (s *RuleExecutionInput_) SetRuleTypeId(v *RuleTypeId) *RuleExecutionInput_ { + s.RuleTypeId = v + return s +} + +// Output details listed for a rule execution, such as the rule execution result. +type RuleExecutionOutput_ struct { + _ struct{} `type:"structure"` + + // Execution result information listed in the output details for a rule execution. + ExecutionResult *RuleExecutionResult `locationName:"executionResult" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleExecutionOutput_) 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 RuleExecutionOutput_) GoString() string { + return s.String() +} + +// SetExecutionResult sets the ExecutionResult field's value. +func (s *RuleExecutionOutput_) SetExecutionResult(v *RuleExecutionResult) *RuleExecutionOutput_ { + s.ExecutionResult = v + return s +} + +// Execution result information, such as the external execution ID. +type RuleExecutionResult struct { + _ struct{} `type:"structure"` + + // Represents information about an error in CodePipeline. + ErrorDetails *ErrorDetails `locationName:"errorDetails" type:"structure"` + + // The external ID for the rule execution. + ExternalExecutionId *string `locationName:"externalExecutionId" type:"string"` + + // The external provider summary for the rule execution. + ExternalExecutionSummary *string `locationName:"externalExecutionSummary" type:"string"` + + // The deepest external link to the external resource (for example, a repository + // URL or deployment endpoint) that is used when running the rule. + ExternalExecutionUrl *string `locationName:"externalExecutionUrl" 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 RuleExecutionResult) 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 RuleExecutionResult) GoString() string { + return s.String() +} + +// SetErrorDetails sets the ErrorDetails field's value. +func (s *RuleExecutionResult) SetErrorDetails(v *ErrorDetails) *RuleExecutionResult { + s.ErrorDetails = v + return s +} + +// SetExternalExecutionId sets the ExternalExecutionId field's value. +func (s *RuleExecutionResult) SetExternalExecutionId(v string) *RuleExecutionResult { + s.ExternalExecutionId = &v + return s +} + +// SetExternalExecutionSummary sets the ExternalExecutionSummary field's value. +func (s *RuleExecutionResult) SetExternalExecutionSummary(v string) *RuleExecutionResult { + s.ExternalExecutionSummary = &v + return s +} + +// SetExternalExecutionUrl sets the ExternalExecutionUrl field's value. +func (s *RuleExecutionResult) SetExternalExecutionUrl(v string) *RuleExecutionResult { + s.ExternalExecutionUrl = &v + return s +} + +// The change to a rule that creates a revision of the rule. +type RuleRevision struct { + _ struct{} `type:"structure"` + + // The date and time when the most recent version of the rule was created, in + // timestamp format. + // + // Created is a required field + Created *time.Time `locationName:"created" type:"timestamp" required:"true"` + + // The unique identifier of the change that set the state to this revision (for + // example, a deployment ID or timestamp). + // + // RevisionChangeId is a required field + RevisionChangeId *string `locationName:"revisionChangeId" min:"1" type:"string" required:"true"` + + // The system-generated unique ID that identifies the revision number of the + // rule. + // + // RevisionId is a required field + RevisionId *string `locationName:"revisionId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleRevision) 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 RuleRevision) GoString() string { + return s.String() +} + +// SetCreated sets the Created field's value. +func (s *RuleRevision) SetCreated(v time.Time) *RuleRevision { + s.Created = &v + return s +} + +// SetRevisionChangeId sets the RevisionChangeId field's value. +func (s *RuleRevision) SetRevisionChangeId(v string) *RuleRevision { + s.RevisionChangeId = &v + return s +} + +// SetRevisionId sets the RevisionId field's value. +func (s *RuleRevision) SetRevisionId(v string) *RuleRevision { + s.RevisionId = &v + return s +} + +// Returns information about the state of a rule. +// +// Values returned in the revisionId field indicate the rule revision information, +// such as the commit ID, for the current state. +type RuleState struct { + _ struct{} `type:"structure"` + + // The ID of the current revision of the artifact successfully worked on by + // the job. + CurrentRevision *RuleRevision `locationName:"currentRevision" type:"structure"` + + // A URL link for more information about the state of the action, such as a + // details page. + EntityUrl *string `locationName:"entityUrl" min:"1" type:"string"` + + // Represents information about the latest run of an rule. + LatestExecution *RuleExecution `locationName:"latestExecution" type:"structure"` + + // A URL link for more information about the revision, such as a commit details + // page. + RevisionUrl *string `locationName:"revisionUrl" min:"1" type:"string"` + + // The name of the rule. + RuleName *string `locationName:"ruleName" 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 RuleState) 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 RuleState) GoString() string { + return s.String() +} + +// SetCurrentRevision sets the CurrentRevision field's value. +func (s *RuleState) SetCurrentRevision(v *RuleRevision) *RuleState { + s.CurrentRevision = v + return s +} + +// SetEntityUrl sets the EntityUrl field's value. +func (s *RuleState) SetEntityUrl(v string) *RuleState { + s.EntityUrl = &v + return s +} + +// SetLatestExecution sets the LatestExecution field's value. +func (s *RuleState) SetLatestExecution(v *RuleExecution) *RuleState { + s.LatestExecution = v + return s +} + +// SetRevisionUrl sets the RevisionUrl field's value. +func (s *RuleState) SetRevisionUrl(v string) *RuleState { + s.RevisionUrl = &v + return s +} + +// SetRuleName sets the RuleName field's value. +func (s *RuleState) SetRuleName(v string) *RuleState { + s.RuleName = &v + return s +} + +// The rule type, which is made up of the combined values for category, owner, +// provider, and version. +type RuleType struct { + _ struct{} `type:"structure"` + + // Represents information about a rule type. + // + // Id is a required field + Id *RuleTypeId `locationName:"id" type:"structure" required:"true"` + + // Returns information about the details of an artifact. + // + // InputArtifactDetails is a required field + InputArtifactDetails *ArtifactDetails `locationName:"inputArtifactDetails" type:"structure" required:"true"` + + // The configuration properties for the rule type. + RuleConfigurationProperties []*RuleConfigurationProperty `locationName:"ruleConfigurationProperties" type:"list"` + + // Returns information about the settings for a rule type. + Settings *RuleTypeSettings `locationName:"settings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuleType) 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 RuleType) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *RuleType) SetId(v *RuleTypeId) *RuleType { + s.Id = v + return s +} + +// SetInputArtifactDetails sets the InputArtifactDetails field's value. +func (s *RuleType) SetInputArtifactDetails(v *ArtifactDetails) *RuleType { + s.InputArtifactDetails = v + return s +} + +// SetRuleConfigurationProperties sets the RuleConfigurationProperties field's value. +func (s *RuleType) SetRuleConfigurationProperties(v []*RuleConfigurationProperty) *RuleType { + s.RuleConfigurationProperties = v + return s +} + +// SetSettings sets the Settings field's value. +func (s *RuleType) SetSettings(v *RuleTypeSettings) *RuleType { + s.Settings = v + return s +} + +// The ID for the rule type, which is made up of the combined values for category, +// owner, provider, and version. +type RuleTypeId struct { + _ struct{} `type:"structure"` + + // A category defines what kind of rule can be run in the stage, and constrains + // the provider type for the rule. Valid categories are limited to one of the + // following values. + // + // * INVOKE + // + // * Approval + // + // * Rule + // + // Category is a required field + Category *string `locationName:"category" type:"string" required:"true" enum:"RuleCategory"` + + // The creator of the rule being called. The valid value for the Owner field + // in the rule category is AWS. + Owner *string `locationName:"owner" type:"string" enum:"RuleOwner"` + + // The provider of the service being called by the rule. Valid providers are + // determined by the rulecategory. For example, a managed rule in the Rule category + // type has an owner of AWS, which would be specified as AWS. + // + // Provider is a required field + Provider *string `locationName:"provider" min:"1" type:"string" required:"true"` + + // A string that describes the rule version. + Version *string `locationName:"version" 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 RuleTypeId) 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 RuleTypeId) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RuleTypeId) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RuleTypeId"} + if s.Category == nil { + invalidParams.Add(request.NewErrParamRequired("Category")) + } + if s.Provider == nil { + invalidParams.Add(request.NewErrParamRequired("Provider")) + } + if s.Provider != nil && len(*s.Provider) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Provider", 1)) + } + if s.Version != nil && len(*s.Version) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Version", 1)) } if invalidParams.Len() > 0 { @@ -15114,32 +17127,54 @@ func (s *RollbackStageInput) Validate() error { return nil } -// SetPipelineName sets the PipelineName field's value. -func (s *RollbackStageInput) SetPipelineName(v string) *RollbackStageInput { - s.PipelineName = &v +// SetCategory sets the Category field's value. +func (s *RuleTypeId) SetCategory(v string) *RuleTypeId { + s.Category = &v return s } -// SetStageName sets the StageName field's value. -func (s *RollbackStageInput) SetStageName(v string) *RollbackStageInput { - s.StageName = &v +// SetOwner sets the Owner field's value. +func (s *RuleTypeId) SetOwner(v string) *RuleTypeId { + s.Owner = &v return s } -// SetTargetPipelineExecutionId sets the TargetPipelineExecutionId field's value. -func (s *RollbackStageInput) SetTargetPipelineExecutionId(v string) *RollbackStageInput { - s.TargetPipelineExecutionId = &v +// SetProvider sets the Provider field's value. +func (s *RuleTypeId) SetProvider(v string) *RuleTypeId { + s.Provider = &v return s } -type RollbackStageOutput struct { +// SetVersion sets the Version field's value. +func (s *RuleTypeId) SetVersion(v string) *RuleTypeId { + s.Version = &v + return s +} + +// Returns information about the settings for a rule type. +type RuleTypeSettings struct { _ struct{} `type:"structure"` - // The execution ID of the pipeline execution for the stage that has been rolled - // back. - // - // PipelineExecutionId is a required field - PipelineExecutionId *string `locationName:"pipelineExecutionId" type:"string" required:"true"` + // The URL returned to the CodePipeline console that provides a deep link to + // the resources of the external system, such as the configuration page for + // a CodeDeploy deployment group. This link is provided as part of the action + // display in the pipeline. + EntityUrlTemplate *string `locationName:"entityUrlTemplate" min:"1" type:"string"` + + // The URL returned to the CodePipeline console that contains a link to the + // top-level landing page for the external system, such as the console page + // for CodeDeploy. This link is shown on the pipeline view page in the CodePipeline + // console and provides a link to the execution entity of the external action. + ExecutionUrlTemplate *string `locationName:"executionUrlTemplate" min:"1" type:"string"` + + // The URL returned to the CodePipeline console that contains a link to the + // page where customers can update or change the configuration of the external + // action. + RevisionUrlTemplate *string `locationName:"revisionUrlTemplate" min:"1" type:"string"` + + // The URL of a sign-up page where users can sign up for an external service + // and perform initial configuration of the action provided by that service. + ThirdPartyConfigurationUrl *string `locationName:"thirdPartyConfigurationUrl" min:"1" type:"string"` } // String returns the string representation. @@ -15147,7 +17182,7 @@ type RollbackStageOutput struct { // 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 RollbackStageOutput) String() string { +func (s RuleTypeSettings) String() string { return awsutil.Prettify(s) } @@ -15156,13 +17191,31 @@ func (s RollbackStageOutput) String() string { // 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 RollbackStageOutput) GoString() string { +func (s RuleTypeSettings) GoString() string { return s.String() } -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *RollbackStageOutput) SetPipelineExecutionId(v string) *RollbackStageOutput { - s.PipelineExecutionId = &v +// SetEntityUrlTemplate sets the EntityUrlTemplate field's value. +func (s *RuleTypeSettings) SetEntityUrlTemplate(v string) *RuleTypeSettings { + s.EntityUrlTemplate = &v + return s +} + +// SetExecutionUrlTemplate sets the ExecutionUrlTemplate field's value. +func (s *RuleTypeSettings) SetExecutionUrlTemplate(v string) *RuleTypeSettings { + s.ExecutionUrlTemplate = &v + return s +} + +// SetRevisionUrlTemplate sets the RevisionUrlTemplate field's value. +func (s *RuleTypeSettings) SetRevisionUrlTemplate(v string) *RuleTypeSettings { + s.RevisionUrlTemplate = &v + return s +} + +// SetThirdPartyConfigurationUrl sets the ThirdPartyConfigurationUrl field's value. +func (s *RuleTypeSettings) SetThirdPartyConfigurationUrl(v string) *RuleTypeSettings { + s.ThirdPartyConfigurationUrl = &v return s } @@ -15410,6 +17463,88 @@ func (s *SourceRevisionOverride) SetRevisionValue(v string) *SourceRevisionOverr return s } +// The state of a run of a condition for a stage. +type StageConditionState struct { + _ struct{} `type:"structure"` + + // The states of the conditions for a run of a condition for a stage. + ConditionStates []*ConditionState `locationName:"conditionStates" type:"list"` + + // Represents information about the latest run of a condition for a stage. + LatestExecution *StageConditionsExecution `locationName:"latestExecution" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s StageConditionState) 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 StageConditionState) GoString() string { + return s.String() +} + +// SetConditionStates sets the ConditionStates field's value. +func (s *StageConditionState) SetConditionStates(v []*ConditionState) *StageConditionState { + s.ConditionStates = v + return s +} + +// SetLatestExecution sets the LatestExecution field's value. +func (s *StageConditionState) SetLatestExecution(v *StageConditionsExecution) *StageConditionState { + s.LatestExecution = v + return s +} + +// Represents information about the run of a condition for a stage. +type StageConditionsExecution struct { + _ struct{} `type:"structure"` + + // The status of a run of a condition for a stage. + Status *string `locationName:"status" type:"string" enum:"ConditionExecutionStatus"` + + // A summary of the run of the condition for a stage. + Summary *string `locationName:"summary" 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 StageConditionsExecution) 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 StageConditionsExecution) GoString() string { + return s.String() +} + +// SetStatus sets the Status field's value. +func (s *StageConditionsExecution) SetStatus(v string) *StageConditionsExecution { + s.Status = &v + return s +} + +// SetSummary sets the Summary field's value. +func (s *StageConditionsExecution) SetSummary(v string) *StageConditionsExecution { + s.Summary = &v + return s +} + // Represents information about a stage to a job worker. type StageContext struct { _ struct{} `type:"structure"` @@ -15451,6 +17586,11 @@ type StageDeclaration struct { // Actions is a required field Actions []*ActionDeclaration `locationName:"actions" type:"list" required:"true"` + // The method to use when a stage allows entry. For example, configuring this + // field for conditions will allow entry to the stage when the conditions are + // met. + BeforeEntry *BeforeEntryConditions `locationName:"beforeEntry" type:"structure"` + // Reserved for future use. Blockers []*BlockerDeclaration `locationName:"blockers" type:"list"` @@ -15463,6 +17603,11 @@ type StageDeclaration struct { // configuring this field for rollback will roll back a failed stage automatically // to the last successful pipeline execution in the stage. OnFailure *FailureConditions `locationName:"onFailure" type:"structure"` + + // The method to use when a stage has succeeded. For example, configuring this + // field for conditions will allow the stage to succeed when the conditions + // are met. + OnSuccess *SuccessConditions `locationName:"onSuccess" type:"structure"` } // String returns the string representation. @@ -15505,6 +17650,11 @@ func (s *StageDeclaration) Validate() error { } } } + if s.BeforeEntry != nil { + if err := s.BeforeEntry.Validate(); err != nil { + invalidParams.AddNested("BeforeEntry", err.(request.ErrInvalidParams)) + } + } if s.Blockers != nil { for i, v := range s.Blockers { if v == nil { @@ -15515,6 +17665,16 @@ func (s *StageDeclaration) Validate() error { } } } + if s.OnFailure != nil { + if err := s.OnFailure.Validate(); err != nil { + invalidParams.AddNested("OnFailure", err.(request.ErrInvalidParams)) + } + } + if s.OnSuccess != nil { + if err := s.OnSuccess.Validate(); err != nil { + invalidParams.AddNested("OnSuccess", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -15528,6 +17688,12 @@ func (s *StageDeclaration) SetActions(v []*ActionDeclaration) *StageDeclaration return s } +// SetBeforeEntry sets the BeforeEntry field's value. +func (s *StageDeclaration) SetBeforeEntry(v *BeforeEntryConditions) *StageDeclaration { + s.BeforeEntry = v + return s +} + // SetBlockers sets the Blockers field's value. func (s *StageDeclaration) SetBlockers(v []*BlockerDeclaration) *StageDeclaration { s.Blockers = v @@ -15546,6 +17712,12 @@ func (s *StageDeclaration) SetOnFailure(v *FailureConditions) *StageDeclaration return s } +// SetOnSuccess sets the OnSuccess field's value. +func (s *StageDeclaration) SetOnSuccess(v *SuccessConditions) *StageDeclaration { + s.OnSuccess = v + return s +} + // Represents information about the run of a stage. type StageExecution struct { _ struct{} `type:"structure"` @@ -15741,6 +17913,9 @@ type StageState struct { // The state of the stage. ActionStates []*ActionState `locationName:"actionStates" type:"list"` + // The state of the entry conditions for a stage. + BeforeEntryConditionState *StageConditionState `locationName:"beforeEntryConditionState" type:"structure"` + // Represents information about the run of a stage. InboundExecution *StageExecution `locationName:"inboundExecution" type:"structure"` @@ -15754,6 +17929,12 @@ type StageState struct { // status. LatestExecution *StageExecution `locationName:"latestExecution" type:"structure"` + // The state of the failure conditions for a stage. + OnFailureConditionState *StageConditionState `locationName:"onFailureConditionState" type:"structure"` + + // The state of the success conditions for a stage. + OnSuccessConditionState *StageConditionState `locationName:"onSuccessConditionState" type:"structure"` + // The name of the stage. StageName *string `locationName:"stageName" min:"1" type:"string"` } @@ -15782,6 +17963,12 @@ func (s *StageState) SetActionStates(v []*ActionState) *StageState { return s } +// SetBeforeEntryConditionState sets the BeforeEntryConditionState field's value. +func (s *StageState) SetBeforeEntryConditionState(v *StageConditionState) *StageState { + s.BeforeEntryConditionState = v + return s +} + // SetInboundExecution sets the InboundExecution field's value. func (s *StageState) SetInboundExecution(v *StageExecution) *StageState { s.InboundExecution = v @@ -15806,6 +17993,18 @@ func (s *StageState) SetLatestExecution(v *StageExecution) *StageState { return s } +// SetOnFailureConditionState sets the OnFailureConditionState field's value. +func (s *StageState) SetOnFailureConditionState(v *StageConditionState) *StageState { + s.OnFailureConditionState = v + return s +} + +// SetOnSuccessConditionState sets the OnSuccessConditionState field's value. +func (s *StageState) SetOnSuccessConditionState(v *StageConditionState) *StageState { + s.OnSuccessConditionState = v + return s +} + // SetStageName sets the StageName field's value. func (s *StageState) SetStageName(v string) *StageState { s.StageName = &v @@ -16147,6 +18346,66 @@ func (s *SucceededInStageFilter) SetStageName(v string) *SucceededInStageFilter return s } +// The conditions for making checks that, if met, succeed a stage. +type SuccessConditions struct { + _ struct{} `type:"structure"` + + // The conditions that are success conditions. + // + // Conditions is a required field + Conditions []*Condition `locationName:"conditions" min:"1" type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SuccessConditions) 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 SuccessConditions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SuccessConditions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SuccessConditions"} + if s.Conditions == nil { + invalidParams.Add(request.NewErrParamRequired("Conditions")) + } + if s.Conditions != nil && len(s.Conditions) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Conditions", 1)) + } + if s.Conditions != nil { + for i, v := range s.Conditions { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Conditions", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConditions sets the Conditions field's value. +func (s *SuccessConditions) SetConditions(v []*Condition) *SuccessConditions { + s.Conditions = v + return s +} + // A tag is a key-value pair that is used to manage the resource. type Tag struct { _ struct{} `type:"structure"` @@ -17509,6 +19768,58 @@ func BlockerType_Values() []string { } } +const ( + // ConditionExecutionStatusInProgress is a ConditionExecutionStatus enum value + ConditionExecutionStatusInProgress = "InProgress" + + // ConditionExecutionStatusFailed is a ConditionExecutionStatus enum value + ConditionExecutionStatusFailed = "Failed" + + // ConditionExecutionStatusErrored is a ConditionExecutionStatus enum value + ConditionExecutionStatusErrored = "Errored" + + // ConditionExecutionStatusSucceeded is a ConditionExecutionStatus enum value + ConditionExecutionStatusSucceeded = "Succeeded" + + // ConditionExecutionStatusCancelled is a ConditionExecutionStatus enum value + ConditionExecutionStatusCancelled = "Cancelled" + + // ConditionExecutionStatusAbandoned is a ConditionExecutionStatus enum value + ConditionExecutionStatusAbandoned = "Abandoned" + + // ConditionExecutionStatusOverridden is a ConditionExecutionStatus enum value + ConditionExecutionStatusOverridden = "Overridden" +) + +// ConditionExecutionStatus_Values returns all elements of the ConditionExecutionStatus enum +func ConditionExecutionStatus_Values() []string { + return []string{ + ConditionExecutionStatusInProgress, + ConditionExecutionStatusFailed, + ConditionExecutionStatusErrored, + ConditionExecutionStatusSucceeded, + ConditionExecutionStatusCancelled, + ConditionExecutionStatusAbandoned, + ConditionExecutionStatusOverridden, + } +} + +const ( + // ConditionTypeBeforeEntry is a ConditionType enum value + ConditionTypeBeforeEntry = "BEFORE_ENTRY" + + // ConditionTypeOnSuccess is a ConditionType enum value + ConditionTypeOnSuccess = "ON_SUCCESS" +) + +// ConditionType_Values returns all elements of the ConditionType enum +func ConditionType_Values() []string { + return []string{ + ConditionTypeBeforeEntry, + ConditionTypeOnSuccess, + } +} + const ( // EncryptionKeyTypeKms is a EncryptionKeyType enum value EncryptionKeyTypeKms = "KMS" @@ -17728,12 +20039,84 @@ func PipelineType_Values() []string { const ( // ResultRollback is a Result enum value ResultRollback = "ROLLBACK" + + // ResultFail is a Result enum value + ResultFail = "FAIL" ) // Result_Values returns all elements of the Result enum func Result_Values() []string { return []string{ ResultRollback, + ResultFail, + } +} + +const ( + // RuleCategoryRule is a RuleCategory enum value + RuleCategoryRule = "Rule" +) + +// RuleCategory_Values returns all elements of the RuleCategory enum +func RuleCategory_Values() []string { + return []string{ + RuleCategoryRule, + } +} + +const ( + // RuleConfigurationPropertyTypeString is a RuleConfigurationPropertyType enum value + RuleConfigurationPropertyTypeString = "String" + + // RuleConfigurationPropertyTypeNumber is a RuleConfigurationPropertyType enum value + RuleConfigurationPropertyTypeNumber = "Number" + + // RuleConfigurationPropertyTypeBoolean is a RuleConfigurationPropertyType enum value + RuleConfigurationPropertyTypeBoolean = "Boolean" +) + +// RuleConfigurationPropertyType_Values returns all elements of the RuleConfigurationPropertyType enum +func RuleConfigurationPropertyType_Values() []string { + return []string{ + RuleConfigurationPropertyTypeString, + RuleConfigurationPropertyTypeNumber, + RuleConfigurationPropertyTypeBoolean, + } +} + +const ( + // RuleExecutionStatusInProgress is a RuleExecutionStatus enum value + RuleExecutionStatusInProgress = "InProgress" + + // RuleExecutionStatusAbandoned is a RuleExecutionStatus enum value + RuleExecutionStatusAbandoned = "Abandoned" + + // RuleExecutionStatusSucceeded is a RuleExecutionStatus enum value + RuleExecutionStatusSucceeded = "Succeeded" + + // RuleExecutionStatusFailed is a RuleExecutionStatus enum value + RuleExecutionStatusFailed = "Failed" +) + +// RuleExecutionStatus_Values returns all elements of the RuleExecutionStatus enum +func RuleExecutionStatus_Values() []string { + return []string{ + RuleExecutionStatusInProgress, + RuleExecutionStatusAbandoned, + RuleExecutionStatusSucceeded, + RuleExecutionStatusFailed, + } +} + +const ( + // RuleOwnerAws is a RuleOwner enum value + RuleOwnerAws = "AWS" +) + +// RuleOwner_Values returns all elements of the RuleOwner enum +func RuleOwner_Values() []string { + return []string{ + RuleOwnerAws, } } diff --git a/service/codepipeline/codepipelineiface/interface.go b/service/codepipeline/codepipelineiface/interface.go index cf75bca9fac..8995c81a8b9 100644 --- a/service/codepipeline/codepipelineiface/interface.go +++ b/service/codepipeline/codepipelineiface/interface.go @@ -152,6 +152,17 @@ type CodePipelineAPI interface { ListPipelinesPages(*codepipeline.ListPipelinesInput, func(*codepipeline.ListPipelinesOutput, bool) bool) error ListPipelinesPagesWithContext(aws.Context, *codepipeline.ListPipelinesInput, func(*codepipeline.ListPipelinesOutput, bool) bool, ...request.Option) error + ListRuleExecutions(*codepipeline.ListRuleExecutionsInput) (*codepipeline.ListRuleExecutionsOutput, error) + ListRuleExecutionsWithContext(aws.Context, *codepipeline.ListRuleExecutionsInput, ...request.Option) (*codepipeline.ListRuleExecutionsOutput, error) + ListRuleExecutionsRequest(*codepipeline.ListRuleExecutionsInput) (*request.Request, *codepipeline.ListRuleExecutionsOutput) + + ListRuleExecutionsPages(*codepipeline.ListRuleExecutionsInput, func(*codepipeline.ListRuleExecutionsOutput, bool) bool) error + ListRuleExecutionsPagesWithContext(aws.Context, *codepipeline.ListRuleExecutionsInput, func(*codepipeline.ListRuleExecutionsOutput, bool) bool, ...request.Option) error + + ListRuleTypes(*codepipeline.ListRuleTypesInput) (*codepipeline.ListRuleTypesOutput, error) + ListRuleTypesWithContext(aws.Context, *codepipeline.ListRuleTypesInput, ...request.Option) (*codepipeline.ListRuleTypesOutput, error) + ListRuleTypesRequest(*codepipeline.ListRuleTypesInput) (*request.Request, *codepipeline.ListRuleTypesOutput) + ListTagsForResource(*codepipeline.ListTagsForResourceInput) (*codepipeline.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *codepipeline.ListTagsForResourceInput, ...request.Option) (*codepipeline.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*codepipeline.ListTagsForResourceInput) (*request.Request, *codepipeline.ListTagsForResourceOutput) @@ -166,6 +177,10 @@ type CodePipelineAPI interface { ListWebhooksPages(*codepipeline.ListWebhooksInput, func(*codepipeline.ListWebhooksOutput, bool) bool) error ListWebhooksPagesWithContext(aws.Context, *codepipeline.ListWebhooksInput, func(*codepipeline.ListWebhooksOutput, bool) bool, ...request.Option) error + OverrideStageCondition(*codepipeline.OverrideStageConditionInput) (*codepipeline.OverrideStageConditionOutput, error) + OverrideStageConditionWithContext(aws.Context, *codepipeline.OverrideStageConditionInput, ...request.Option) (*codepipeline.OverrideStageConditionOutput, error) + OverrideStageConditionRequest(*codepipeline.OverrideStageConditionInput) (*request.Request, *codepipeline.OverrideStageConditionOutput) + PollForJobs(*codepipeline.PollForJobsInput) (*codepipeline.PollForJobsOutput, error) PollForJobsWithContext(aws.Context, *codepipeline.PollForJobsInput, ...request.Option) (*codepipeline.PollForJobsOutput, error) PollForJobsRequest(*codepipeline.PollForJobsInput) (*request.Request, *codepipeline.PollForJobsOutput) diff --git a/service/codepipeline/errors.go b/service/codepipeline/errors.go index ecd53b5d2f1..bcbaef42a72 100644 --- a/service/codepipeline/errors.go +++ b/service/codepipeline/errors.go @@ -38,6 +38,12 @@ const ( // The pipeline has reached the limit for concurrent pipeline executions. ErrCodeConcurrentPipelineExecutionsLimitExceededException = "ConcurrentPipelineExecutionsLimitExceededException" + // ErrCodeConditionNotOverridableException for service response error code + // "ConditionNotOverridableException". + // + // Unable to override because the condition does not allow overrides. + ErrCodeConditionNotOverridableException = "ConditionNotOverridableException" + // ErrCodeConflictException for service response error code // "ConflictException". // @@ -263,6 +269,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ApprovalAlreadyCompletedException": newErrorApprovalAlreadyCompletedException, "ConcurrentModificationException": newErrorConcurrentModificationException, "ConcurrentPipelineExecutionsLimitExceededException": newErrorConcurrentPipelineExecutionsLimitExceededException, + "ConditionNotOverridableException": newErrorConditionNotOverridableException, "ConflictException": newErrorConflictException, "DuplicatedStopRequestException": newErrorDuplicatedStopRequestException, "InvalidActionDeclarationException": newErrorInvalidActionDeclarationException, diff --git a/service/elasticache/api.go b/service/elasticache/api.go index 9ecbc9c72cd..1b6cad70e01 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -2797,7 +2797,10 @@ func (c *ElastiCache) DeleteReplicationGroupRequest(input *DeleteReplicationGrou // immediately begins deleting the selected resources; you cannot cancel or // revert this operation. // -// This operation is valid for Redis OSS only. +// - CreateSnapshot permission is required to create a final snapshot. Without +// this permission, the API call will fail with an Access Denied exception. +// +// - This operation is valid for Redis OSS only. // // 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 @@ -2905,6 +2908,9 @@ func (c *ElastiCache) DeleteServerlessCacheRequest(input *DeleteServerlessCacheI // // Deletes a specified existing serverless cache. // +// CreateServerlessCacheSnapshot permission is required to create a final snapshot. +// Without this permission, the API call will fail with an Access Denied exception. +// // 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. diff --git a/service/lexmodelsv2/api.go b/service/lexmodelsv2/api.go index 0df46e91802..dce46f0e474 100644 --- a/service/lexmodelsv2/api.go +++ b/service/lexmodelsv2/api.go @@ -1276,6 +1276,9 @@ func (c *LexModelsV2) CreateResourcePolicyStatementRequest(input *CreateResource // // You can't create a resource policy statement that allows cross-account access. // +// You need to add the CreateResourcePolicy or UpdateResourcePolicy action to +// the bot role in order to call the API. +// // 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. @@ -2758,6 +2761,9 @@ func (c *LexModelsV2) DeleteResourcePolicyStatementRequest(input *DeleteResource // ID that doesn't exist in the policy, or if the bot or bot alias doesn't have // a policy attached, Amazon Lex returns an exception. // +// You need to add the DeleteResourcePolicy or UpdateResourcePolicy action to +// the bot role in order to call the API. +// // 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. @@ -15171,14 +15177,85 @@ func (s *BatchUpdateCustomVocabularyItemOutput) SetResources(v []*CustomVocabula return s } +// The details on the Bedrock guardrail configuration. +type BedrockGuardrailConfiguration struct { + _ struct{} `type:"structure"` + + // The unique guardrail id for the Bedrock guardrail configuration. + // + // Identifier is a required field + Identifier *string `locationName:"identifier" min:"1" type:"string" required:"true"` + + // The guardrail version for the Bedrock guardrail configuration. + // + // Version is a required field + Version *string `locationName:"version" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BedrockGuardrailConfiguration) 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 BedrockGuardrailConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BedrockGuardrailConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BedrockGuardrailConfiguration"} + if s.Identifier == nil { + invalidParams.Add(request.NewErrParamRequired("Identifier")) + } + if s.Identifier != nil && len(*s.Identifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Identifier", 1)) + } + if s.Version == nil { + invalidParams.Add(request.NewErrParamRequired("Version")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIdentifier sets the Identifier field's value. +func (s *BedrockGuardrailConfiguration) SetIdentifier(v string) *BedrockGuardrailConfiguration { + s.Identifier = &v + return s +} + +// SetVersion sets the Version field's value. +func (s *BedrockGuardrailConfiguration) SetVersion(v string) *BedrockGuardrailConfiguration { + s.Version = &v + return s +} + // Contains details about the configuration of a Amazon Bedrock knowledge base. type BedrockKnowledgeStoreConfiguration struct { _ struct{} `type:"structure"` - // The ARN of the knowledge base used. + // The base ARN of the knowledge base used. // // BedrockKnowledgeBaseArn is a required field BedrockKnowledgeBaseArn *string `locationName:"bedrockKnowledgeBaseArn" min:"1" type:"string" required:"true"` + + // Specifies whether to return an exact response, or to return an answer generated + // by the model, using the fields you specify from the database. + ExactResponse *bool `locationName:"exactResponse" type:"boolean"` + + // Contains the names of the fields used for an exact response to the user. + ExactResponseFields *BedrockKnowledgeStoreExactResponseFields `locationName:"exactResponseFields" type:"structure"` } // String returns the string representation. @@ -15221,15 +15298,68 @@ func (s *BedrockKnowledgeStoreConfiguration) SetBedrockKnowledgeBaseArn(v string return s } +// SetExactResponse sets the ExactResponse field's value. +func (s *BedrockKnowledgeStoreConfiguration) SetExactResponse(v bool) *BedrockKnowledgeStoreConfiguration { + s.ExactResponse = &v + return s +} + +// SetExactResponseFields sets the ExactResponseFields field's value. +func (s *BedrockKnowledgeStoreConfiguration) SetExactResponseFields(v *BedrockKnowledgeStoreExactResponseFields) *BedrockKnowledgeStoreConfiguration { + s.ExactResponseFields = v + return s +} + +// The exact response fields given by the Bedrock knowledge store. +type BedrockKnowledgeStoreExactResponseFields struct { + _ struct{} `type:"structure"` + + // The answer field used for an exact response from Bedrock Knowledge Store. + AnswerField *string `locationName:"answerField" 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 BedrockKnowledgeStoreExactResponseFields) 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 BedrockKnowledgeStoreExactResponseFields) GoString() string { + return s.String() +} + +// SetAnswerField sets the AnswerField field's value. +func (s *BedrockKnowledgeStoreExactResponseFields) SetAnswerField(v string) *BedrockKnowledgeStoreExactResponseFields { + s.AnswerField = &v + return s +} + // Contains information about the Amazon Bedrock model used to interpret the // prompt used in descriptive bot building. type BedrockModelSpecification struct { _ struct{} `type:"structure"` + // The custom prompt used in the Bedrock model specification details. + CustomPrompt *string `locationName:"customPrompt" min:"1" type:"string"` + + // The guardrail configuration in the Bedrock model specification details. + Guardrail *BedrockGuardrailConfiguration `locationName:"guardrail" type:"structure"` + // The ARN of the foundation model used in descriptive bot building. // // ModelArn is a required field ModelArn *string `locationName:"modelArn" type:"string" required:"true"` + + // The Bedrock trace status in the Bedrock model specification details. + TraceStatus *string `locationName:"traceStatus" type:"string" enum:"BedrockTraceStatus"` } // String returns the string representation. @@ -15253,9 +15383,17 @@ func (s BedrockModelSpecification) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *BedrockModelSpecification) Validate() error { invalidParams := request.ErrInvalidParams{Context: "BedrockModelSpecification"} + if s.CustomPrompt != nil && len(*s.CustomPrompt) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CustomPrompt", 1)) + } if s.ModelArn == nil { invalidParams.Add(request.NewErrParamRequired("ModelArn")) } + if s.Guardrail != nil { + if err := s.Guardrail.Validate(); err != nil { + invalidParams.AddNested("Guardrail", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -15263,12 +15401,30 @@ func (s *BedrockModelSpecification) Validate() error { return nil } +// SetCustomPrompt sets the CustomPrompt field's value. +func (s *BedrockModelSpecification) SetCustomPrompt(v string) *BedrockModelSpecification { + s.CustomPrompt = &v + return s +} + +// SetGuardrail sets the Guardrail field's value. +func (s *BedrockModelSpecification) SetGuardrail(v *BedrockGuardrailConfiguration) *BedrockModelSpecification { + s.Guardrail = v + return s +} + // SetModelArn sets the ModelArn field's value. func (s *BedrockModelSpecification) SetModelArn(v string) *BedrockModelSpecification { s.ModelArn = &v return s } +// SetTraceStatus sets the TraceStatus field's value. +func (s *BedrockModelSpecification) SetTraceStatus(v string) *BedrockModelSpecification { + s.TraceStatus = &v + return s +} + // Provides a record of an event that affects a bot alias. For example, when // the version of a bot that the alias points to changes. type BotAliasHistoryEvent struct { @@ -49826,6 +49982,22 @@ func AudioRecognitionStrategy_Values() []string { } } +const ( + // BedrockTraceStatusEnabled is a BedrockTraceStatus enum value + BedrockTraceStatusEnabled = "ENABLED" + + // BedrockTraceStatusDisabled is a BedrockTraceStatus enum value + BedrockTraceStatusDisabled = "DISABLED" +) + +// BedrockTraceStatus_Values returns all elements of the BedrockTraceStatus enum +func BedrockTraceStatus_Values() []string { + return []string{ + BedrockTraceStatusEnabled, + BedrockTraceStatusDisabled, + } +} + // The status of the operation to replicate the bot alias. Values: Creating, // Updating, Available, Deleting, Failed. const ( diff --git a/service/rolesanywhere/api.go b/service/rolesanywhere/api.go index 05efb4fc964..0ec0c8c2f51 100644 --- a/service/rolesanywhere/api.go +++ b/service/rolesanywhere/api.go @@ -2931,6 +2931,10 @@ func (s *AttributeMapping) SetMappingRules(v []*MappingRule) *AttributeMapping { type CreateProfileInput struct { _ struct{} `type:"structure"` + // Used to determine if a custom role session name will be accepted in a temporary + // credential request. + AcceptRoleSessionName *bool `locationName:"acceptRoleSessionName" type:"boolean"` + // Used to determine how long sessions vended using this profile are valid for. // See the Expiration section of the CreateSession API documentation (https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object) // page for more details. In requests, if this value is not provided, the default @@ -3016,6 +3020,12 @@ func (s *CreateProfileInput) Validate() error { return nil } +// SetAcceptRoleSessionName sets the AcceptRoleSessionName field's value. +func (s *CreateProfileInput) SetAcceptRoleSessionName(v bool) *CreateProfileInput { + s.AcceptRoleSessionName = &v + return s +} + // SetDurationSeconds sets the DurationSeconds field's value. func (s *CreateProfileInput) SetDurationSeconds(v int64) *CreateProfileInput { s.DurationSeconds = &v @@ -5534,6 +5544,10 @@ func (s *NotificationSettingKey) SetEvent(v string) *NotificationSettingKey { type ProfileDetail struct { _ struct{} `type:"structure"` + // Used to determine if a custom role session name will be accepted in a temporary + // credential request. + AcceptRoleSessionName *bool `locationName:"acceptRoleSessionName" type:"boolean"` + // A mapping applied to the authenticating end-entity certificate. AttributeMappings []*AttributeMapping `locationName:"attributeMappings" type:"list"` @@ -5598,6 +5612,12 @@ func (s ProfileDetail) GoString() string { return s.String() } +// SetAcceptRoleSessionName sets the AcceptRoleSessionName field's value. +func (s *ProfileDetail) SetAcceptRoleSessionName(v bool) *ProfileDetail { + s.AcceptRoleSessionName = &v + return s +} + // SetAttributeMappings sets the AttributeMappings field's value. func (s *ProfileDetail) SetAttributeMappings(v []*AttributeMapping) *ProfileDetail { s.AttributeMappings = v @@ -6902,6 +6922,10 @@ func (s *UpdateCrlOutput) SetCrl(v *CrlDetail) *UpdateCrlOutput { type UpdateProfileInput struct { _ struct{} `type:"structure"` + // Used to determine if a custom role session name will be accepted in a temporary + // credential request. + AcceptRoleSessionName *bool `locationName:"acceptRoleSessionName" type:"boolean"` + // Used to determine how long sessions vended using this profile are valid for. // See the Expiration section of the CreateSession API documentation (https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object) // page for more details. In requests, if this value is not provided, the default @@ -6971,6 +6995,12 @@ func (s *UpdateProfileInput) Validate() error { return nil } +// SetAcceptRoleSessionName sets the AcceptRoleSessionName field's value. +func (s *UpdateProfileInput) SetAcceptRoleSessionName(v bool) *UpdateProfileInput { + s.AcceptRoleSessionName = &v + return s +} + // SetDurationSeconds sets the DurationSeconds field's value. func (s *UpdateProfileInput) SetDurationSeconds(v int64) *UpdateProfileInput { s.DurationSeconds = &v diff --git a/service/tnb/api.go b/service/tnb/api.go index a25f0486cd8..31a53f9866f 100644 --- a/service/tnb/api.go +++ b/service/tnb/api.go @@ -769,7 +769,7 @@ func (c *Tnb) GetSolFunctionInstanceRequest(input *GetSolFunctionInstanceInput) // GetSolFunctionInstance API operation for AWS Telco Network Builder. // -// Gets the details of a network function instance, including the instantation +// Gets the details of a network function instance, including the instantiation // state and metadata from the function package descriptor in the network function // package. // @@ -3176,6 +3176,9 @@ func (c *Tnb) UpdateSolNetworkInstanceRequest(input *UpdateSolNetworkInstanceInp // that can be deployed and on which life-cycle operations (like terminate, // update, and delete) can be performed. // +// Choose the updateType parameter to target the necessary update of the network +// instance. +// // 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. @@ -5412,10 +5415,19 @@ type GetSolNetworkOperationMetadata struct { // CreatedAt is a required field CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"` + // Metadata related to the network operation occurrence for network instantiation. + // This is populated only if the lcmOperationType is INSTANTIATE. + InstantiateMetadata *InstantiateMetadata `locationName:"instantiateMetadata" type:"structure"` + // The date that the resource was last modified. // // LastModified is a required field LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // Metadata related to the network operation occurrence for network instance + // updates. This is populated only if the lcmOperationType is UPDATE and the + // updateType is UPDATE_NS. + UpdateNsMetadata *UpdateNsMetadata `locationName:"updateNsMetadata" type:"structure"` } // String returns the string representation. @@ -5442,12 +5454,24 @@ func (s *GetSolNetworkOperationMetadata) SetCreatedAt(v time.Time) *GetSolNetwor return s } +// SetInstantiateMetadata sets the InstantiateMetadata field's value. +func (s *GetSolNetworkOperationMetadata) SetInstantiateMetadata(v *InstantiateMetadata) *GetSolNetworkOperationMetadata { + s.InstantiateMetadata = v + return s +} + // SetLastModified sets the LastModified field's value. func (s *GetSolNetworkOperationMetadata) SetLastModified(v time.Time) *GetSolNetworkOperationMetadata { s.LastModified = &v return s } +// SetUpdateNsMetadata sets the UpdateNsMetadata field's value. +func (s *GetSolNetworkOperationMetadata) SetUpdateNsMetadata(v *UpdateNsMetadata) *GetSolNetworkOperationMetadata { + s.UpdateNsMetadata = v + return s +} + type GetSolNetworkOperationOutput struct { _ struct{} `type:"structure"` @@ -5485,6 +5509,10 @@ type GetSolNetworkOperationOutput struct { // All tasks associated with this operation occurrence. Tasks []*GetSolNetworkOperationTaskDetails `locationName:"tasks" type:"list"` + + // Type of the update. Only present if the network operation lcmOperationType + // is UPDATE. + UpdateType *string `locationName:"updateType" type:"string" enum:"UpdateSolNetworkType"` } // String returns the string representation. @@ -5559,6 +5587,12 @@ func (s *GetSolNetworkOperationOutput) SetTasks(v []*GetSolNetworkOperationTaskD return s } +// SetUpdateType sets the UpdateType field's value. +func (s *GetSolNetworkOperationOutput) SetUpdateType(v string) *GetSolNetworkOperationOutput { + s.UpdateType = &v + return s +} + // Gets the details of a network operation. // // A network operation is any operation that is done to your network, such as @@ -6224,6 +6258,41 @@ func (s *GetSolVnfcResourceInfoMetadata) SetNodeGroup(v string) *GetSolVnfcResou return s } +// Metadata related to the configuration properties used during instantiation +// of the network instance. +type InstantiateMetadata struct { + _ struct{} `type:"structure"` + + // The network service descriptor used for instantiating the network instance. + // + // NsdInfoId is a required field + NsdInfoId *string `locationName:"nsdInfoId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InstantiateMetadata) 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 InstantiateMetadata) GoString() string { + return s.String() +} + +// SetNsdInfoId sets the NsdInfoId field's value. +func (s *InstantiateMetadata) SetNsdInfoId(v string) *InstantiateMetadata { + s.NsdInfoId = &v + return s +} + type InstantiateSolNetworkInstanceInput struct { _ struct{} `type:"structure"` @@ -6240,8 +6309,9 @@ type InstantiateSolNetworkInstanceInput struct { // A tag is a label that you assign to an Amazon Web Services resource. Each // tag consists of a key and an optional value. When you use this API, the tags - // are transferred to the network operation that is created. Use tags to search - // and filter your resources or track your Amazon Web Services costs. + // are only applied to the network operation that is created. These tags are + // not applied to the network instance. Use tags to search and filter your resources + // or track your Amazon Web Services costs. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InstantiateSolNetworkInstanceInput's @@ -6311,8 +6381,9 @@ type InstantiateSolNetworkInstanceOutput struct { // A tag is a label that you assign to an Amazon Web Services resource. Each // tag consists of a key and an optional value. When you use this API, the tags - // are transferred to the network operation that is created. Use tags to search - // and filter your resources or track your Amazon Web Services costs. + // are only applied to the network operation that is created. These tags are + // not applied to the network instance. Use tags to search and filter your resources + // or track your Amazon Web Services costs. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InstantiateSolNetworkInstanceOutput's @@ -7273,6 +7344,10 @@ type ListSolNetworkOperationsInfo struct { // // OperationState is a required field OperationState *string `locationName:"operationState" type:"string" required:"true" enum:"NsLcmOperationState"` + + // Type of the update. Only present if the network operation lcmOperationType + // is UPDATE. + UpdateType *string `locationName:"updateType" type:"string" enum:"UpdateSolNetworkType"` } // String returns the string representation. @@ -7335,6 +7410,12 @@ func (s *ListSolNetworkOperationsInfo) SetOperationState(v string) *ListSolNetwo return s } +// SetUpdateType sets the UpdateType field's value. +func (s *ListSolNetworkOperationsInfo) SetUpdateType(v string) *ListSolNetworkOperationsInfo { + s.UpdateType = &v + return s +} + type ListSolNetworkOperationsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -7343,6 +7424,10 @@ type ListSolNetworkOperationsInput struct { // The token for the next page of results. NextToken *string `location:"querystring" locationName:"nextpage_opaque_marker" type:"string"` + + // Network instance id filter, to retrieve network operations associated to + // a network instance. + NsInstanceId *string `location:"querystring" locationName:"nsInstanceId" type:"string"` } // String returns the string representation. @@ -7388,6 +7473,12 @@ func (s *ListSolNetworkOperationsInput) SetNextToken(v string) *ListSolNetworkOp return s } +// SetNsInstanceId sets the NsInstanceId field's value. +func (s *ListSolNetworkOperationsInput) SetNsInstanceId(v string) *ListSolNetworkOperationsInput { + s.NsInstanceId = &v + return s +} + // Metadata related to a network operation. // // A network operation is any operation that is done to your network, such as @@ -7404,6 +7495,16 @@ type ListSolNetworkOperationsMetadata struct { // // LastModified is a required field LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The network service descriptor id used for the operation. + // + // Only present if the updateType is UPDATE_NS. + NsdInfoId *string `locationName:"nsdInfoId" type:"string"` + + // The network function id used for the operation. + // + // Only present if the updateType is MODIFY_VNF_INFO. + VnfInstanceId *string `locationName:"vnfInstanceId" type:"string"` } // String returns the string representation. @@ -7436,6 +7537,18 @@ func (s *ListSolNetworkOperationsMetadata) SetLastModified(v time.Time) *ListSol return s } +// SetNsdInfoId sets the NsdInfoId field's value. +func (s *ListSolNetworkOperationsMetadata) SetNsdInfoId(v string) *ListSolNetworkOperationsMetadata { + s.NsdInfoId = &v + return s +} + +// SetVnfInstanceId sets the VnfInstanceId field's value. +func (s *ListSolNetworkOperationsMetadata) SetVnfInstanceId(v string) *ListSolNetworkOperationsMetadata { + s.VnfInstanceId = &v + return s +} + type ListSolNetworkOperationsOutput struct { _ struct{} `type:"structure"` @@ -7947,8 +8060,12 @@ type PutSolFunctionPackageContentInput struct { // Function package file. // + // File is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PutSolFunctionPackageContentInput's + // String and GoString methods. + // // File is a required field - File []byte `locationName:"file" type:"blob" required:"true"` + File []byte `locationName:"file" type:"blob" required:"true" sensitive:"true"` // Function package ID. // @@ -8147,8 +8264,12 @@ type PutSolNetworkPackageContentInput struct { // Network package file. // + // File is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by PutSolNetworkPackageContentInput's + // String and GoString methods. + // // File is a required field - File []byte `locationName:"file" type:"blob" required:"true"` + File []byte `locationName:"file" type:"blob" required:"true" sensitive:"true"` // Network service descriptor info ID. // @@ -8578,8 +8699,9 @@ type TerminateSolNetworkInstanceInput struct { // A tag is a label that you assign to an Amazon Web Services resource. Each // tag consists of a key and an optional value. When you use this API, the tags - // are transferred to the network operation that is created. Use tags to search - // and filter your resources or track your Amazon Web Services costs. + // are only applied to the network operation that is created. These tags are + // not applied to the network instance. Use tags to search and filter your resources + // or track your Amazon Web Services costs. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by TerminateSolNetworkInstanceInput's @@ -8641,8 +8763,9 @@ type TerminateSolNetworkInstanceOutput struct { // A tag is a label that you assign to an Amazon Web Services resource. Each // tag consists of a key and an optional value. When you use this API, the tags - // are transferred to the network operation that is created. Use tags to search - // and filter your resources or track your Amazon Web Services costs. + // are only applied to the network operation that is created. These tags are + // not applied to the network instance. Use tags to search and filter your resources + // or track your Amazon Web Services costs. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by TerminateSolNetworkInstanceOutput's @@ -8870,6 +8993,41 @@ func (s UntagResourceOutput) GoString() string { return s.String() } +// Metadata related to the configuration properties used during update of a +// network instance. +type UpdateNsMetadata struct { + _ struct{} `type:"structure"` + + // The network service descriptor used for updating the network instance. + // + // NsdInfoId is a required field + NsdInfoId *string `locationName:"nsdInfoId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateNsMetadata) 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 UpdateNsMetadata) GoString() string { + return s.String() +} + +// SetNsdInfoId sets the NsdInfoId field's value. +func (s *UpdateNsMetadata) SetNsdInfoId(v string) *UpdateNsMetadata { + s.NsdInfoId = &v + return s +} + type UpdateSolFunctionPackageInput struct { _ struct{} `type:"structure"` @@ -8976,16 +9134,29 @@ type UpdateSolNetworkInstanceInput struct { // A tag is a label that you assign to an Amazon Web Services resource. Each // tag consists of a key and an optional value. When you use this API, the tags - // are transferred to the network operation that is created. Use tags to search - // and filter your resources or track your Amazon Web Services costs. + // are only applied to the network operation that is created. These tags are + // not applied to the network instance. Use tags to search and filter your resources + // or track your Amazon Web Services costs. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateSolNetworkInstanceInput's // String and GoString methods. Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"` + // Identifies the network service descriptor and the configurable properties + // of the descriptor, to be used for the update. + // + // Include this property only if the update type is UPDATE_NS. + UpdateNs *UpdateSolNetworkServiceData `locationName:"updateNs" type:"structure"` + // The type of update. // + // * Use the MODIFY_VNF_INFORMATION update type, to update a specific network + // function configuration, in the network instance. + // + // * Use the UPDATE_NS update type, to update the network instance to a new + // network service descriptor. + // // UpdateType is a required field UpdateType *string `locationName:"updateType" type:"string" required:"true" enum:"UpdateSolNetworkType"` } @@ -9020,6 +9191,11 @@ func (s *UpdateSolNetworkInstanceInput) Validate() error { if s.UpdateType == nil { invalidParams.Add(request.NewErrParamRequired("UpdateType")) } + if s.UpdateNs != nil { + if err := s.UpdateNs.Validate(); err != nil { + invalidParams.AddNested("UpdateNs", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9039,6 +9215,12 @@ func (s *UpdateSolNetworkInstanceInput) SetTags(v map[string]*string) *UpdateSol return s } +// SetUpdateNs sets the UpdateNs field's value. +func (s *UpdateSolNetworkInstanceInput) SetUpdateNs(v *UpdateSolNetworkServiceData) *UpdateSolNetworkInstanceInput { + s.UpdateNs = v + return s +} + // SetUpdateType sets the UpdateType field's value. func (s *UpdateSolNetworkInstanceInput) SetUpdateType(v string) *UpdateSolNetworkInstanceInput { s.UpdateType = &v @@ -9053,8 +9235,9 @@ type UpdateSolNetworkInstanceOutput struct { // A tag is a label that you assign to an Amazon Web Services resource. Each // tag consists of a key and an optional value. When you use this API, the tags - // are transferred to the network operation that is created. Use tags to search - // and filter your resources or track your Amazon Web Services costs. + // are only applied to the network operation that is created. These tags are + // not applied to the network instance. Use tags to search and filter your resources + // or track your Amazon Web Services costs. // // Tags is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateSolNetworkInstanceOutput's @@ -9188,6 +9371,54 @@ func (s *UpdateSolNetworkPackageOutput) SetNsdOperationalState(v string) *Update return s } +// Information parameters and/or the configurable properties for a network descriptor +// used for update. +type UpdateSolNetworkServiceData struct { + _ struct{} `type:"structure"` + + // ID of the network service descriptor. + // + // NsdInfoId is a required field + NsdInfoId *string `locationName:"nsdInfoId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateSolNetworkServiceData) 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 UpdateSolNetworkServiceData) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateSolNetworkServiceData) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateSolNetworkServiceData"} + if s.NsdInfoId == nil { + invalidParams.Add(request.NewErrParamRequired("NsdInfoId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNsdInfoId sets the NsdInfoId field's value. +func (s *UpdateSolNetworkServiceData) SetNsdInfoId(v string) *UpdateSolNetworkServiceData { + s.NsdInfoId = &v + return s +} + type ValidateSolFunctionPackageContentInput struct { _ struct{} `type:"structure" payload:"File"` @@ -9196,8 +9427,12 @@ type ValidateSolFunctionPackageContentInput struct { // Function package file. // + // File is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ValidateSolFunctionPackageContentInput's + // String and GoString methods. + // // File is a required field - File []byte `locationName:"file" type:"blob" required:"true"` + File []byte `locationName:"file" type:"blob" required:"true" sensitive:"true"` // Function package ID. // @@ -9396,8 +9631,12 @@ type ValidateSolNetworkPackageContentInput struct { // Network package file. // + // File is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ValidateSolNetworkPackageContentInput's + // String and GoString methods. + // // File is a required field - File []byte `locationName:"file" type:"blob" required:"true"` + File []byte `locationName:"file" type:"blob" required:"true" sensitive:"true"` // Network service descriptor file. // @@ -9730,9 +9969,15 @@ const ( // NsStateNotInstantiated is a NsState enum value NsStateNotInstantiated = "NOT_INSTANTIATED" + // NsStateUpdated is a NsState enum value + NsStateUpdated = "UPDATED" + // NsStateImpaired is a NsState enum value NsStateImpaired = "IMPAIRED" + // NsStateUpdateFailed is a NsState enum value + NsStateUpdateFailed = "UPDATE_FAILED" + // NsStateStopped is a NsState enum value NsStateStopped = "STOPPED" @@ -9742,6 +9987,9 @@ const ( // NsStateInstantiateInProgress is a NsState enum value NsStateInstantiateInProgress = "INSTANTIATE_IN_PROGRESS" + // NsStateIntentToUpdateInProgress is a NsState enum value + NsStateIntentToUpdateInProgress = "INTENT_TO_UPDATE_IN_PROGRESS" + // NsStateUpdateInProgress is a NsState enum value NsStateUpdateInProgress = "UPDATE_IN_PROGRESS" @@ -9754,10 +10002,13 @@ func NsState_Values() []string { return []string{ NsStateInstantiated, NsStateNotInstantiated, + NsStateUpdated, NsStateImpaired, + NsStateUpdateFailed, NsStateStopped, NsStateDeleted, NsStateInstantiateInProgress, + NsStateIntentToUpdateInProgress, NsStateUpdateInProgress, NsStateTerminateInProgress, } @@ -9902,12 +10153,16 @@ func TaskStatus_Values() []string { const ( // UpdateSolNetworkTypeModifyVnfInformation is a UpdateSolNetworkType enum value UpdateSolNetworkTypeModifyVnfInformation = "MODIFY_VNF_INFORMATION" + + // UpdateSolNetworkTypeUpdateNs is a UpdateSolNetworkType enum value + UpdateSolNetworkTypeUpdateNs = "UPDATE_NS" ) // UpdateSolNetworkType_Values returns all elements of the UpdateSolNetworkType enum func UpdateSolNetworkType_Values() []string { return []string{ UpdateSolNetworkTypeModifyVnfInformation, + UpdateSolNetworkTypeUpdateNs, } } diff --git a/service/workspaces/api.go b/service/workspaces/api.go index 09c52af637c..dc4704775ab 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -1533,6 +1533,10 @@ func (c *WorkSpaces) CreateWorkspacesRequest(input *CreateWorkspacesInput) (req // // - User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core. // +// - Review your running mode to ensure you are using one that is optimal +// for your needs and budget. For more information on switching running modes, +// see Can I switch between hourly and monthly billing? (http://aws.amazon.com/workspaces-family/workspaces/faqs/#:~:text=Can%20I%20switch%20between%20hourly%20and%20monthly%20billing%20on%20WorkSpaces%20Personal%3F) +// // 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. @@ -9559,8 +9563,7 @@ func (s *BundleResourceAssociation) SetStateReason(v *AssociationStateReason) *B type Capacity struct { _ struct{} `type:"structure"` - // The desired number of user sessions for a multi-session pool. This is not - // allowed for single-session pools. + // The desired number of user sessions for the WorkSpaces in the pool. // // DesiredUserSessions is a required field DesiredUserSessions *int64 `type:"integer" required:"true"` @@ -9607,19 +9610,22 @@ func (s *Capacity) SetDesiredUserSessions(v int64) *Capacity { type CapacityStatus struct { _ struct{} `type:"structure"` - // The number of user sessions currently being used for pool sessions. This - // only applies to multi-session pools. + // The number of user sessions currently being used for your pool. // // ActiveUserSessions is a required field ActiveUserSessions *int64 `type:"integer" required:"true"` - // The total number of session slots that are available for a pool of WorkSpaces. + // The total number of user sessions that are available for streaming or are + // currently streaming in your pool. + // + // ActualUserSessions = AvailableUserSessions + ActiveUserSessions // // ActualUserSessions is a required field ActualUserSessions *int64 `type:"integer" required:"true"` - // The number of user sessions currently being used for pool sessions. This - // only applies to multi-session pools. + // The number of user sessions currently available for streaming from your pool. + // + // AvailableUserSessions = ActualUserSessions - ActiveUserSessions // // AvailableUserSessions is a required field AvailableUserSessions *int64 `type:"integer" required:"true"` @@ -23506,6 +23512,10 @@ type WorkspaceProperties struct { // The MANUAL value is only supported by Amazon WorkSpaces Core. Contact your // account team to be allow-listed to use this value. For more information, // see Amazon WorkSpaces Core (http://aws.amazon.com/workspaces/core/). + // + // Review your running mode to ensure you are using one that is optimal for + // your needs and budget. For more information on switching running modes, see + // Can I switch between hourly and monthly billing? (http://aws.amazon.com/workspaces-family/workspaces/faqs/#:~:text=Can%20I%20switch%20between%20hourly%20and%20monthly%20billing%20on%20WorkSpaces%20Personal%3F) RunningMode *string `type:"string" enum:"RunningMode"` // The time after a user logs off when WorkSpaces are automatically stopped.