Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Jul 20, 2022
1 parent 91b7cd4 commit 6ba1c69
Show file tree
Hide file tree
Showing 17 changed files with 146 additions and 25 deletions.
4 changes: 2 additions & 2 deletions apis/acm-pca/2017-08-22/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@
"CustomExtensionList": {
"base": null,
"refs": {
"Extensions$CustomExtensions": "<p/> <p>Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the <a href=\"https://oidref.com/2.5.29\">Global OID reference database.</a> </p> <note> <p>The OID value of a <a href=\"https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CustomExtension.html\">CustomExtension</a> must not match the OID of a predefined extension.</p> </note>"
"Extensions$CustomExtensions": "<p/> <p>Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the <a href=\"https://oidref.com/2.5.29\">Global OID reference database.</a> </p>"
}
},
"CustomObjectIdentifier": {
Expand Down Expand Up @@ -540,7 +540,7 @@
"base": null,
"refs": {
"CertificateAuthority$KeyStorageSecurityStandard": "<p>Defines a cryptographic key management compliance standard used for handling CA keys. </p> <p>Default: FIPS_140_2_LEVEL_3_OR_HIGHER</p> <p>Note: Amazon Web Services Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an <code>InvalidArgsException</code> with the message \"A certificate authority cannot be created in this region with the specified security standard.\"</p>",
"CreateCertificateAuthorityRequest$KeyStorageSecurityStandard": "<p>Specifies a cryptographic key management compliance standard used for handling CA keys.</p> <p>Default: FIPS_140_2_LEVEL_3_OR_HIGHER</p> <p>Note: <code>FIPS_140_2_LEVEL_3_OR_HIGHER</code> is not supported in Region ap-northeast-3. When creating a CA in the ap-northeast-3, you must provide <code>FIPS_140_2_LEVEL_2_OR_HIGHER</code> as the argument for <code>KeyStorageSecurityStandard</code>. Failure to do this results in an <code>InvalidArgsException</code> with the message, \"A certificate authority cannot be created in this region with the specified security standard.\"</p>"
"CreateCertificateAuthorityRequest$KeyStorageSecurityStandard": "<p>Specifies a cryptographic key management compliance standard used for handling CA keys.</p> <p>Default: FIPS_140_2_LEVEL_3_OR_HIGHER</p> <p> <i>Note:</i> <code>FIPS_140_2_LEVEL_3_OR_HIGHER</code> is not supported in the following Regions:</p> <ul> <li> <p>ap-northeast-3</p> </li> <li> <p>ap-southeast-3</p> </li> </ul> <p>When creating a CA in these Regions, you must provide <code>FIPS_140_2_LEVEL_2_OR_HIGHER</code> as the argument for <code>KeyStorageSecurityStandard</code>. Failure to do this results in an <code>InvalidArgsException</code> with the message, \"A certificate authority cannot be created in this region with the specified security standard.\"</p>"
}
},
"KeyUsage": {
Expand Down
19 changes: 18 additions & 1 deletion apis/iot/2015-05-28/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -8374,6 +8374,12 @@
"REBUILDING"
]
},
"IndexingFilter":{
"type":"structure",
"members":{
"namedShadowNames":{"shape":"NamedShadowNamesFilter"}
}
},
"InlineDocument":{"type":"string"},
"InputName":{
"type":"string",
Expand Down Expand Up @@ -10804,6 +10810,10 @@
"ON"
]
},
"NamedShadowNamesFilter":{
"type":"list",
"member":{"shape":"ShadowName"}
},
"NamespaceId":{
"type":"string",
"max":64,
Expand Down Expand Up @@ -11916,6 +11926,12 @@
"disableAllLogs":{"shape":"DisableAllLogs"}
}
},
"ShadowName":{
"type":"string",
"max":64,
"min":1,
"pattern":"[a-zA-Z0-9:_-]+"
},
"SigV4Authorization":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -12574,7 +12590,8 @@
"deviceDefenderIndexingMode":{"shape":"DeviceDefenderIndexingMode"},
"namedShadowIndexingMode":{"shape":"NamedShadowIndexingMode"},
"managedFields":{"shape":"Fields"},
"customFields":{"shape":"Fields"}
"customFields":{"shape":"Fields"},
"filter":{"shape":"IndexingFilter"}
}
},
"ThingIndexingMode":{
Expand Down
20 changes: 19 additions & 1 deletion apis/iot/2015-05-28/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"AddThingToThingGroup": "<p>Adds a thing to a thing group.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AddThingToThingGroup</a> action.</p>",
"AssociateTargetsWithJob": "<p>Associates a group with a continuous job. The following criteria must be met: </p> <ul> <li> <p>The job must have been created with the <code>targetSelection</code> field set to \"CONTINUOUS\".</p> </li> <li> <p>The job status must currently be \"IN_PROGRESS\".</p> </li> <li> <p>The total number of targets associated with a job must not exceed 100.</p> </li> </ul> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AssociateTargetsWithJob</a> action.</p>",
"AttachPolicy": "<p>Attaches the specified policy to the specified principal (certificate or other credential).</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachPolicy</a> action.</p>",
"AttachPrincipalPolicy": "<p>Attaches the specified policy to the specified principal (certificate or other credential).</p> <p> <b>Note:</b> This action is deprecated. Please use <a>AttachPolicy</a> instead.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachPrincipalPolicy</a> action.</p>",
"AttachPrincipalPolicy": "<p>Attaches the specified policy to the specified principal (certificate or other credential).</p> <p> <b>Note:</b> This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use <a>AttachPolicy</a> instead.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachPrincipalPolicy</a> action.</p>",
"AttachSecurityProfile": "<p>Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachSecurityProfile</a> action.</p>",
"AttachThingPrincipal": "<p>Attaches the specified principal to the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachThingPrincipal</a> action.</p>",
"CancelAuditMitigationActionsTask": "<p>Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CancelAuditMitigationActionsTask</a> action.</p>",
Expand Down Expand Up @@ -3941,6 +3941,12 @@
"DescribeIndexResponse$indexStatus": "<p>The index status.</p>"
}
},
"IndexingFilter": {
"base": "<p>Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set <code>namedShadowIndexingMode</code> to be <code>ON</code> and specify your shadow names in <code>filter</code>.</p>",
"refs": {
"ThingIndexingConfiguration$filter": "<p>Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set <code>namedShadowIndexingMode</code> to be <code>ON</code> and specify your shadow names in <code>filter</code>.</p>"
}
},
"InlineDocument": {
"base": null,
"refs": {
Expand Down Expand Up @@ -5335,6 +5341,12 @@
"ThingIndexingConfiguration$namedShadowIndexingMode": "<p>Named shadow indexing mode. Valid values are:</p> <ul> <li> <p>ON – Your thing index contains named shadow. To enable thing named shadow indexing, <i>namedShadowIndexingMode</i> must not be set to OFF.</p> </li> <li> <p>OFF - Named shadow indexing is disabled.</p> </li> </ul> <p>For more information about Shadows, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html\">IoT Device Shadow service.</a> </p>"
}
},
"NamedShadowNamesFilter": {
"base": null,
"refs": {
"IndexingFilter$namedShadowNames": "<p>The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits\">Amazon Web Services IoT Device Management Quotas</a> in the <i>Amazon Web Services General Reference</i>. </p>"
}
},
"NamespaceId": {
"base": null,
"refs": {
Expand Down Expand Up @@ -6889,6 +6901,12 @@
"refs": {
}
},
"ShadowName": {
"base": null,
"refs": {
"NamedShadowNamesFilter$member": null
}
},
"SigV4Authorization": {
"base": "<p>For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature Version 4 signing process</a>.</p>",
"refs": {
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-partitions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.609.0 (2022-07-20)
------------------

* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.

1.608.0 (2022-07-18)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-partitions/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.608.0
1.609.0
4 changes: 4 additions & 0 deletions gems/aws-partitions/partitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -14134,6 +14134,10 @@
},
"workspaces-web" : {
"endpoints" : {
"ap-northeast-1" : { },
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"eu-west-1" : { },
"us-east-1" : { },
"us-west-2" : { }
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-acmpca/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.49.0 (2022-07-20)
------------------

* Feature - AWS Certificate Manager (ACM) Private Certificate Authority (PCA) documentation updates

1.48.0 (2022-03-28)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-acmpca/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.48.0
1.49.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-acmpca/lib/aws-sdk-acmpca.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
# @!group service
module Aws::ACMPCA

GEM_VERSION = '1.48.0'
GEM_VERSION = '1.49.0'

end
14 changes: 10 additions & 4 deletions gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,15 @@ def initialize(*args)
#
# Default: FIPS\_140\_2\_LEVEL\_3\_OR\_HIGHER
#
# Note: `FIPS_140_2_LEVEL_3_OR_HIGHER` is not supported in Region
# ap-northeast-3. When creating a CA in the ap-northeast-3, you must
# provide `FIPS_140_2_LEVEL_2_OR_HIGHER` as the argument for
# *Note:* `FIPS_140_2_LEVEL_3_OR_HIGHER` is not supported in the
# following Regions:
#
# * ap-northeast-3
#
# * ap-southeast-3
#
# When creating a CA in these Regions, you must provide
# `FIPS_140_2_LEVEL_2_OR_HIGHER` as the argument for
# `KeyStorageSecurityStandard`. Failure to do this results in an
# `InvalidArgsException` with the message, "A certificate authority
# cannot be created in this region with the specified security
Expand Down Expand Up @@ -2466,7 +2472,7 @@ def build_request(operation_name, params = {})
params: params,
config: config)
context[:gem_name] = 'aws-sdk-acmpca'
context[:gem_version] = '1.48.0'
context[:gem_version] = '1.49.0'
Seahorse::Client::Request.new(handlers, context)
end

Expand Down
18 changes: 9 additions & 9 deletions gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -887,9 +887,15 @@ class CreateCertificateAuthorityAuditReportResponse < Struct.new(
#
# Default: FIPS\_140\_2\_LEVEL\_3\_OR\_HIGHER
#
# Note: `FIPS_140_2_LEVEL_3_OR_HIGHER` is not supported in Region
# ap-northeast-3. When creating a CA in the ap-northeast-3, you must
# provide `FIPS_140_2_LEVEL_2_OR_HIGHER` as the argument for
# *Note:* `FIPS_140_2_LEVEL_3_OR_HIGHER` is not supported in the
# following Regions:
#
# * ap-northeast-3
#
# * ap-southeast-3
#
# When creating a CA in these Regions, you must provide
# `FIPS_140_2_LEVEL_2_OR_HIGHER` as the argument for
# `KeyStorageSecurityStandard`. Failure to do this results in an
# `InvalidArgsException` with the message, "A certificate authority
# cannot be created in this region with the specified security
Expand Down Expand Up @@ -1721,15 +1727,9 @@ class ExtendedKeyUsage < Struct.new(
# the critical flag. For more information, see the [Global OID
# reference database.][1]
#
# <note markdown="1"> The OID value of a [CustomExtension][2] must not match the OID of a
# predefined extension.
#
# </note>
#
#
#
# [1]: https://oidref.com/2.5.29
# [2]: https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_CustomExtension.html
# @return [Array<Types::CustomExtension>]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/Extensions AWS API Documentation
Expand Down
5 changes: 5 additions & 0 deletions gems/aws-sdk-iot/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.93.0 (2022-07-20)
------------------

* Feature - GA release the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs. This includes Named Shadow Selection as a part of the UpdateIndexingConfiguration API.

1.92.0 (2022-07-07)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-iot/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.92.0
1.93.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-iot/lib/aws-sdk-iot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
# @!group service
module Aws::IoT

GEM_VERSION = '1.92.0'
GEM_VERSION = '1.93.0'

end
11 changes: 9 additions & 2 deletions gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@ def attach_policy(params = {}, options = {})
# Attaches the specified policy to the specified principal (certificate
# or other credential).
#
# **Note:** This action is deprecated. Please use AttachPolicy instead.
# **Note:** This action is deprecated and works as expected for backward
# compatibility, but we won't add enhancements. Use AttachPolicy
# instead.
#
# Requires permission to access the [AttachPrincipalPolicy][1] action.
#
Expand Down Expand Up @@ -6690,6 +6692,8 @@ def get_effective_policies(params = {}, options = {})
# resp.thing_indexing_configuration.custom_fields #=> Array
# resp.thing_indexing_configuration.custom_fields[0].name #=> String
# resp.thing_indexing_configuration.custom_fields[0].type #=> String, one of "Number", "String", "Boolean"
# resp.thing_indexing_configuration.filter.named_shadow_names #=> Array
# resp.thing_indexing_configuration.filter.named_shadow_names[0] #=> String
# resp.thing_group_indexing_configuration.thing_group_indexing_mode #=> String, one of "OFF", "ON"
# resp.thing_group_indexing_configuration.managed_fields #=> Array
# resp.thing_group_indexing_configuration.managed_fields[0].name #=> String
Expand Down Expand Up @@ -12838,6 +12842,9 @@ def update_fleet_metric(params = {}, options = {})
# type: "Number", # accepts Number, String, Boolean
# },
# ],
# filter: {
# named_shadow_names: ["ShadowName"],
# },
# },
# thing_group_indexing_configuration: {
# thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
Expand Down Expand Up @@ -13716,7 +13723,7 @@ def build_request(operation_name, params = {})
params: params,
config: config)
context[:gem_name] = 'aws-sdk-iot'
context[:gem_version] = '1.92.0'
context[:gem_version] = '1.93.0'
Seahorse::Client::Request.new(handlers, context)
end

Expand Down
9 changes: 9 additions & 0 deletions gems/aws-sdk-iot/lib/aws-sdk-iot/client_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@ module ClientApi
IndexNotReadyException = Shapes::StructureShape.new(name: 'IndexNotReadyException')
IndexSchema = Shapes::StringShape.new(name: 'IndexSchema')
IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
IndexingFilter = Shapes::StructureShape.new(name: 'IndexingFilter')
InlineDocument = Shapes::StringShape.new(name: 'InlineDocument')
InputName = Shapes::StringShape.new(name: 'InputName')
InternalException = Shapes::StructureShape.new(name: 'InternalException')
Expand Down Expand Up @@ -818,6 +819,7 @@ module ClientApi
MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
NamedShadowIndexingMode = Shapes::StringShape.new(name: 'NamedShadowIndexingMode')
NamedShadowNamesFilter = Shapes::ListShape.new(name: 'NamedShadowNamesFilter')
NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
NextToken = Shapes::StringShape.new(name: 'NextToken')
NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
Expand Down Expand Up @@ -1023,6 +1025,7 @@ module ClientApi
SetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetLoggingOptionsRequest')
SetV2LoggingLevelRequest = Shapes::StructureShape.new(name: 'SetV2LoggingLevelRequest')
SetV2LoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetV2LoggingOptionsRequest')
ShadowName = Shapes::StringShape.new(name: 'ShadowName')
SigV4Authorization = Shapes::StructureShape.new(name: 'SigV4Authorization')
Signature = Shapes::BlobShape.new(name: 'Signature')
SignatureAlgorithm = Shapes::StringShape.new(name: 'SignatureAlgorithm')
Expand Down Expand Up @@ -2963,6 +2966,9 @@ module ClientApi
IndexNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
IndexNotReadyException.struct_class = Types::IndexNotReadyException

IndexingFilter.add_member(:named_shadow_names, Shapes::ShapeRef.new(shape: NamedShadowNamesFilter, location_name: "namedShadowNames"))
IndexingFilter.struct_class = Types::IndexingFilter

InternalException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
InternalException.struct_class = Types::InternalException

Expand Down Expand Up @@ -3763,6 +3769,8 @@ module ClientApi
MqttContext.add_member(:client_id, Shapes::ShapeRef.new(shape: MqttClientId, location_name: "clientId"))
MqttContext.struct_class = Types::MqttContext

NamedShadowNamesFilter.member = Shapes::ShapeRef.new(shape: ShadowName)

NonCompliantResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
NonCompliantResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
NonCompliantResource.add_member(:additional_info, Shapes::ShapeRef.new(shape: StringMap, location_name: "additionalInfo"))
Expand Down Expand Up @@ -4411,6 +4419,7 @@ module ClientApi
ThingIndexingConfiguration.add_member(:named_shadow_indexing_mode, Shapes::ShapeRef.new(shape: NamedShadowIndexingMode, location_name: "namedShadowIndexingMode"))
ThingIndexingConfiguration.add_member(:managed_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "managedFields"))
ThingIndexingConfiguration.add_member(:custom_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "customFields"))
ThingIndexingConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: IndexingFilter, location_name: "filter"))
ThingIndexingConfiguration.struct_class = Types::ThingIndexingConfiguration

ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
Expand Down
Loading

0 comments on commit 6ba1c69

Please sign in to comment.