Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Aug 26, 2024
1 parent 22f71f0 commit 8604b69
Show file tree
Hide file tree
Showing 112 changed files with 3,668 additions and 923 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[workspace]
resolver = "2"
exclude = [
"examples/examples",
"examples/cross_service",
"examples/test-utils",
"examples/lambda",
"examples/webassembly",
"examples/examples",
"tests/no-default-features",
"tests/webassembly"
]
Expand Down
467 changes: 358 additions & 109 deletions aws-models/iotsitewise.json

Large diffs are not rendered by default.

157 changes: 157 additions & 0 deletions aws-models/workspaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -4480,6 +4480,75 @@
}
}
},
"com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilter": {
"type": "structure",
"members": {
"Name": {
"target": "com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterName",
"traits": {
"smithy.api#documentation": "<p>The name of the WorkSpaces to filter.</p>",
"smithy.api#required": {}
}
},
"Values": {
"target": "com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterValues",
"traits": {
"smithy.api#documentation": "<p>The values for filtering WorkSpaces</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes the filter conditions for the WorkSpaces to return.</p>"
}
},
"com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterList": {
"type": "list",
"member": {
"target": "com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilter"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterName": {
"type": "enum",
"members": {
"USER_IDENTITY_TYPE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "USER_IDENTITY_TYPE"
}
},
"WORKSPACE_TYPE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "WORKSPACE_TYPE"
}
}
}
},
"com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterValue": {
"type": "string",
"traits": {
"smithy.api#pattern": "^[0-9a-zA-Z\\*\\.\\\\/\\?-_]{0,64}$"
}
},
"com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterValues": {
"type": "list",
"member": {
"target": "com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterValue"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.workspaces#DescribeWorkspaceDirectoriesRequest": {
"type": "structure",
"members": {
Expand All @@ -4506,6 +4575,12 @@
"traits": {
"smithy.api#documentation": "<p>If you received a <code>NextToken</code> from a previous call that was paginated,\n provide this token to receive the next set of results.</p>"
}
},
"Filters": {
"target": "com.amazonaws.workspaces#DescribeWorkspaceDirectoriesFilterList",
"traits": {
"smithy.api#documentation": "<p>The filter condition for the WorkSpaces.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -5603,6 +5678,26 @@
"smithy.api#output": {}
}
},
"com.amazonaws.workspaces#IDCConfig": {
"type": "structure",
"members": {
"InstanceArn": {
"target": "com.amazonaws.workspaces#ARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the identity center instance.</p>"
}
},
"ApplicationArn": {
"target": "com.amazonaws.workspaces#ARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the application.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies the configurations of the identity center.</p>"
}
},
"com.amazonaws.workspaces#IdleDisconnectTimeoutInSeconds": {
"type": "integer",
"traits": {
Expand Down Expand Up @@ -6400,6 +6495,32 @@
}
}
},
"com.amazonaws.workspaces#MicrosoftEntraConfig": {
"type": "structure",
"members": {
"TenantId": {
"target": "com.amazonaws.workspaces#MicrosoftEntraConfigTenantId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the tenant.</p>"
}
},
"ApplicationConfigSecretArn": {
"target": "com.amazonaws.workspaces#SecretsManagerArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the application config.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies the configurations of the Microsoft Entra.</p>"
}
},
"com.amazonaws.workspaces#MicrosoftEntraConfigTenantId": {
"type": "string",
"traits": {
"smithy.api#pattern": "^[a-zA-Z0-9-]{1,100}$"
}
},
"com.amazonaws.workspaces#MigrateWorkspace": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -7632,6 +7753,18 @@
"smithy.api#documentation": "<p>The type of identity management the user is using.</p>"
}
},
"IdcInstanceArn": {
"target": "com.amazonaws.workspaces#ARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the identity center instance.</p>"
}
},
"MicrosoftEntraConfig": {
"target": "com.amazonaws.workspaces#MicrosoftEntraConfig",
"traits": {
"smithy.api#documentation": "<p>The details about Microsoft Entra config.</p>"
}
},
"WorkspaceType": {
"target": "com.amazonaws.workspaces#WorkspaceType",
"traits": {
Expand Down Expand Up @@ -9457,6 +9590,12 @@
"traits": {
"smithy.api#enumValue": "AWS_DIRECTORY_SERVICE"
}
},
"AWS_IAM_IDENTITY_CENTER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AWS_IAM_IDENTITY_CENTER"
}
}
}
},
Expand Down Expand Up @@ -10256,6 +10395,12 @@
"smithy.api#documentation": "<p>The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP)\n user identities to Active Directory for WorkSpaces login.</p>"
}
},
"MicrosoftEntraConfig": {
"target": "com.amazonaws.workspaces#MicrosoftEntraConfig",
"traits": {
"smithy.api#documentation": "<p>Specifies details about Microsoft Entra configurations.</p>"
}
},
"WorkspaceDirectoryName": {
"target": "com.amazonaws.workspaces#WorkspaceDirectoryName",
"traits": {
Expand All @@ -10280,6 +10425,12 @@
"smithy.api#documentation": "<p>Indicates whether the directory's WorkSpace type is personal or pools.</p>"
}
},
"IDCConfig": {
"target": "com.amazonaws.workspaces#IDCConfig",
"traits": {
"smithy.api#documentation": "<p>Specifies details about identity center configurations.</p>"
}
},
"ActiveDirectoryConfig": {
"target": "com.amazonaws.workspaces#ActiveDirectoryConfig",
"traits": {
Expand Down Expand Up @@ -10382,6 +10533,12 @@
"traits": {
"smithy.api#enumValue": "CUSTOMER_MANAGED"
}
},
"AWS_IAM_IDENTITY_CENTER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "AWS_IAM_IDENTITY_CENTER"
}
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/sitewise/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
[dependencies]
thiserror = "1.0"
aws-config= { version = "1.5.5", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-iotsitewise= { version = "1.40.0", path = "../../../sdk/iotsitewise" }
aws-sdk-iotsitewise= { version = "1.41.0", path = "../../../sdk/iotsitewise" }
aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }

[dependencies.clap]
Expand Down
2 changes: 1 addition & 1 deletion sdk/iotsitewise/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
[package]
name = "aws-sdk-iotsitewise"
version = "1.40.0"
version = "1.41.0"
authors = ["AWS Rust SDK Team <[email protected]>", "Russell Cohen <[email protected]>"]
description = "AWS SDK for AWS IoT SiteWise"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion sdk/iotsitewise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ your project, add the following to your **Cargo.toml** file:
```toml
[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-iotsitewise = "1.40.0"
aws-sdk-iotsitewise = "1.41.0"
tokio = { version = "1", features = ["full"] }
```

Expand Down
6 changes: 3 additions & 3 deletions sdk/iotsitewise/src/client/create_asset_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ impl super::Client {
///
/// - The fluent builder is configurable:
/// - [`asset_model_name(impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_name) / [`set_asset_model_name(Option<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_name):<br>required: **true**<br><p>A unique name for the asset model.</p><br>
/// - [`asset_model_type(AssetModelType)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_type) / [`set_asset_model_type(Option<AssetModelType>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_type):<br>required: **false**<br><p>The type of asset model.</p> <ul> <li> <p><b>ASSET_MODEL</b> – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.</p></li> <li> <p><b>COMPONENT_MODEL</b> – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.</p></li> </ul><br>
/// - [`asset_model_id(impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_id) / [`set_asset_model_id(Option<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_id):<br>required: **false**<br><p>The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.</p><br>
/// - [`asset_model_external_id(impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_external_id) / [`set_asset_model_external_id(Option<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_external_id):<br>required: **false**<br><p>An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids">Using external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`asset_model_description(impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_description) / [`set_asset_model_description(Option<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_description):<br>required: **false**<br><p>A description for the asset model.</p><br>
/// - [`asset_model_properties(AssetModelPropertyDefinition)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_properties) / [`set_asset_model_properties(Option<Vec::<AssetModelPropertyDefinition>>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_properties):<br>required: **false**<br><p>The property definitions of the asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html">Asset properties</a> in the <i>IoT SiteWise User Guide</i>.</p> <p>You can specify up to 200 properties per asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`asset_model_hierarchies(AssetModelHierarchyDefinition)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_hierarchies) / [`set_asset_model_hierarchies(Option<Vec::<AssetModelHierarchyDefinition>>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_hierarchies):<br>required: **false**<br><p>The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html">Asset hierarchies</a> in the <i>IoT SiteWise User Guide</i>.</p> <p>You can specify up to 10 hierarchies per asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`asset_model_composite_models(AssetModelCompositeModelDefinition)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_composite_models) / [`set_asset_model_composite_models(Option<Vec::<AssetModelCompositeModelDefinition>>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_composite_models):<br>required: **false**<br><p>The composite models that are part of this asset model. It groups properties (such as attributes, measurements, transforms, and metrics) and child composite models that model parts of your industrial equipment. Each composite model has a type that defines the properties that the composite model supports. Use composite models to define alarms on this asset model.</p><note> <p>When creating custom composite models, you need to use <a href="https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html">CreateAssetModelCompositeModel</a>. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-custom-composite-models.html">Creating custom composite models (Components)</a> in the <i>IoT SiteWise User Guide</i>.</p> </note><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_tags):<br>required: **false**<br><p>A list of key-value pairs that contain metadata for the asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise resources</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`asset_model_id(impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_id) / [`set_asset_model_id(Option<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_id):<br>required: **false**<br><p>The ID to assign to the asset model, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.</p><br>
/// - [`asset_model_external_id(impl Into<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_external_id) / [`set_asset_model_external_id(Option<String>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_external_id):<br>required: **false**<br><p>An external ID to assign to the asset model. The external ID must be unique within your Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids">Using external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p><br>
/// - [`asset_model_type(AssetModelType)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::asset_model_type) / [`set_asset_model_type(Option<AssetModelType>)`](crate::operation::create_asset_model::builders::CreateAssetModelFluentBuilder::set_asset_model_type):<br>required: **false**<br><p>The type of asset model.</p> <ul> <li> <p><b>ASSET_MODEL</b> – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model.</p></li> <li> <p><b>COMPONENT_MODEL</b> – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model.</p></li> </ul><br>
/// - On success, responds with [`CreateAssetModelOutput`](crate::operation::create_asset_model::CreateAssetModelOutput) with field(s):
/// - [`asset_model_id(String)`](crate::operation::create_asset_model::CreateAssetModelOutput::asset_model_id): <p>The ID of the asset model, in UUID format. You can use this ID when you call other IoT SiteWise API operations.</p>
/// - [`asset_model_arn(String)`](crate::operation::create_asset_model::CreateAssetModelOutput::asset_model_arn): <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the asset model, which has the following format.</p> <p><code>arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}</code></p>
Expand Down
Loading

0 comments on commit 8604b69

Please sign in to comment.