Skip to content

Commit 809a0eb

Browse files
Update SDK models
1 parent 3b267a0 commit 809a0eb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+486
-261
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
resolver = "2"
33
exclude = [
4-
"examples/lambda",
4+
"examples/cross_service",
55
"examples/examples",
66
"examples/test-utils",
7-
"examples/cross_service",
7+
"examples/lambda",
88
"examples/webassembly",
9-
"tests/telemetry",
109
"tests/no-default-features",
10+
"tests/telemetry",
1111
"tests/webassembly"
1212
]
1313
members = [

aws-models/ec2.json

Lines changed: 31 additions & 19 deletions
Large diffs are not rendered by default.

aws-models/glue.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28269,6 +28269,12 @@
2826928269
"traits": {
2827028270
"smithy.api#documentation": "<p>This field holds details that pertain to the state of a job run. The field is nullable.</p>\n <p>For example, when a job run is in a WAITING state as a result of job run queuing, the field has the reason why the job run is in that state.</p>"
2827128271
}
28272+
},
28273+
"ExecutionRoleSessionPolicy": {
28274+
"target": "com.amazonaws.glue#OrchestrationPolicyJsonString",
28275+
"traits": {
28276+
"smithy.api#documentation": "<p>This inline session policy to the StartJobRun API allows you to dynamically restrict the permissions of the specified \n execution role for the scope of the job, without requiring the creation of additional IAM roles.</p>"
28277+
}
2827228278
}
2827328279
},
2827428280
"traits": {
@@ -28441,7 +28447,7 @@
2844128447
"WorkerType": {
2844228448
"target": "com.amazonaws.glue#WorkerType",
2844328449
"traits": {
28444-
"smithy.api#documentation": "<p>The type of predefined worker that is allocated when a job runs. Accepts a value of\n G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.</p>\n <ul>\n <li>\n <p>For the <code>G.1X</code> worker type, each worker maps to 1 DPU (4 vCPUs, 16 GB of memory) with 94GB disk, and provides 1 executor per worker. We recommend this worker type for workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.</p>\n </li>\n <li>\n <p>For the <code>G.2X</code> worker type, each worker maps to 2 DPU (8 vCPUs, 32 GB of memory) with 138GB disk, and provides 1 executor per worker. We recommend this worker type for workloads such as data transforms, joins, and queries, to offers a scalable and cost effective way to run most jobs.</p>\n </li>\n <li>\n <p>For the <code>G.4X</code> worker type, each worker maps to 4 DPU (16 vCPUs, 64 GB of memory) with 256GB disk, and provides 1 executor per worker. We recommend this worker type for jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available only for Glue version 3.0 or later Spark ETL jobs in the following Amazon Web Services Regions: US East (Ohio), US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), Canada (Central), Europe (Frankfurt), Europe (Ireland), and Europe (Stockholm).</p>\n </li>\n <li>\n <p>For the <code>G.8X</code> worker type, each worker maps to 8 DPU (32 vCPUs, 128 GB of memory) with 512GB disk, and provides 1 executor per worker. We recommend this worker type for jobs whose workloads contain your most demanding transforms, aggregations, joins, and queries. This worker type is available only for Glue version 3.0 or later Spark ETL jobs, in the same Amazon Web Services Regions as supported for the <code>G.4X</code> worker type.</p>\n </li>\n <li>\n <p>For the <code>G.025X</code> worker type, each worker maps to 0.25 DPU (2 vCPUs, 4 GB of memory) with 84GB disk, and provides 1 executor per worker. We recommend this worker type for low volume streaming jobs. This worker type is only available for Glue version 3.0 or later streaming jobs.</p>\n </li>\n <li>\n <p>For the <code>Z.2X</code> worker type, each worker maps to 2 M-DPU (8vCPUs, 64 GB of memory) with 128 GB disk, and provides up to 8 Ray workers based on the autoscaler.</p>\n </li>\n </ul>"
28450+
"smithy.api#documentation": "<p>The type of predefined worker that is allocated when a job runs. Accepts a value of\n G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs. For more information, see \n <a href=\"https://docs.aws.amazon.com/glue/latest/dg/add-job.html#create-job\">Defining job properties for Spark jobs \n </a>\n </p>"
2844528451
}
2844628452
},
2844728453
"NumberOfWorkers": {
@@ -32891,6 +32897,15 @@
3289132897
}
3289232898
}
3289332899
},
32900+
"com.amazonaws.glue#OrchestrationPolicyJsonString": {
32901+
"type": "string",
32902+
"traits": {
32903+
"smithy.api#length": {
32904+
"min": 2,
32905+
"max": 2048
32906+
}
32907+
}
32908+
},
3289432909
"com.amazonaws.glue#OrchestrationRoleArn": {
3289532910
"type": "string",
3289632911
"traits": {
@@ -39586,6 +39601,12 @@
3958639601
"traits": {
3958739602
"smithy.api#documentation": "<p>Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.</p>\n <p>The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary. </p>\n <p>Only jobs with Glue version 3.0 and above and command type <code>glueetl</code> will be allowed to set <code>ExecutionClass</code> to <code>FLEX</code>. The flexible execution class is available for Spark jobs.</p>"
3958839603
}
39604+
},
39605+
"ExecutionRoleSessionPolicy": {
39606+
"target": "com.amazonaws.glue#OrchestrationPolicyJsonString",
39607+
"traits": {
39608+
"smithy.api#documentation": "<p>This inline session policy to the StartJobRun API allows you to dynamically restrict the permissions of the specified\n execution role for the scope of the job, without requiring the creation of additional IAM roles.</p>"
39609+
}
3958939610
}
3959039611
},
3959139612
"traits": {

aws-models/sdk-endpoints.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15386,6 +15386,7 @@
1538615386
"endpoints" : {
1538715387
"af-south-1" : { },
1538815388
"ap-east-1" : { },
15389+
"ap-east-2" : { },
1538915390
"ap-northeast-1" : { },
1539015391
"ap-northeast-2" : { },
1539115392
"ap-northeast-3" : { },

aws-models/workspaces-thin-client.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,12 @@
660660
"traits": {
661661
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.</p>"
662662
}
663+
},
664+
"lastUserId": {
665+
"target": "com.amazonaws.workspacesthinclient#UserId",
666+
"traits": {
667+
"smithy.api#documentation": "<p>The user ID of the most recent session on the device.</p>"
668+
}
663669
}
664670
},
665671
"traits": {
@@ -868,6 +874,12 @@
868874
"traits": {
869875
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the device.</p>"
870876
}
877+
},
878+
"lastUserId": {
879+
"target": "com.amazonaws.workspacesthinclient#UserId",
880+
"traits": {
881+
"smithy.api#documentation": "<p>The user ID of the most recent session on the device.</p>"
882+
}
871883
}
872884
},
873885
"traits": {
@@ -3303,6 +3315,12 @@
33033315
"smithy.api#output": {}
33043316
}
33053317
},
3318+
"com.amazonaws.workspacesthinclient#UserId": {
3319+
"type": "string",
3320+
"traits": {
3321+
"smithy.api#sensitive": {}
3322+
}
3323+
},
33063324
"com.amazonaws.workspacesthinclient#ValidationException": {
33073325
"type": "structure",
33083326
"members": {

examples/examples/auto-scaling/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tracing = "0.1.37"
1212
tokio-stream = "0.1.14"
1313
aws-config= { version = "1.8.2", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
1414
aws-sdk-autoscaling= { version = "1.86.0", path = "../../../sdk/autoscaling" }
15-
aws-sdk-ec2= { version = "1.149.0", path = "../../../sdk/ec2" }
15+
aws-sdk-ec2= { version = "1.150.0", path = "../../../sdk/ec2" }
1616
aws-types= { version = "1.3.7", path = "../../../sdk/aws-types" }
1717

1818
[dependencies.tokio]

examples/examples/ebs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ base64 = "0.13.0"
1111
sha2 = "0.9.5"
1212
aws-config= { version = "1.8.2", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
1313
aws-sdk-ebs= { version = "1.76.0", path = "../../../sdk/ebs" }
14-
aws-sdk-ec2= { version = "1.149.0", path = "../../../sdk/ec2" }
14+
aws-sdk-ec2= { version = "1.150.0", path = "../../../sdk/ec2" }
1515

1616
[dependencies.tokio]
1717
version = "1.20.1"

examples/examples/ec2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ aws-smithy-runtime-api= { version = "1.8.3", path = "../../../sdk/aws-smithy-run
1515
aws-sdk-ssm= { version = "1.85.1", path = "../../../sdk/ssm" }
1616
aws-smithy-async= { version = "1.2.5", path = "../../../sdk/aws-smithy-async" }
1717
aws-config= { version = "1.8.2", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
18-
aws-sdk-ec2= { version = "1.149.0", path = "../../../sdk/ec2" }
18+
aws-sdk-ec2= { version = "1.150.0", path = "../../../sdk/ec2" }
1919
aws-types= { version = "1.3.7", path = "../../../sdk/aws-types" }
2020

2121
[dependencies.tokio]

examples/examples/glue/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ secrecy = "0.8.0"
1919
futures = "0.3.25"
2020
tracing-bunyan-formatter = "0.3.4"
2121
aws-config= { version = "1.8.2", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
22-
aws-sdk-glue= { version = "1.107.0", path = "../../../sdk/glue" }
22+
aws-sdk-glue= { version = "1.108.0", path = "../../../sdk/glue" }
2323
aws-sdk-s3= { version = "1.98.0", path = "../../../sdk/s3" }
2424
aws-http= { version = "0.60.6", path = "../../../sdk/aws-http" }
2525
aws-smithy-types= { version = "1.3.2", path = "../../../sdk/aws-smithy-types" }

examples/examples/lambda/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ anyhow = "1.0.71"
1212
lambda_runtime = "0.8.0"
1313
serde = "1.0.164"
1414
aws-config= { version = "1.8.2", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
15-
aws-sdk-ec2= { version = "1.149.0", path = "../../../sdk/ec2" }
15+
aws-sdk-ec2= { version = "1.150.0", path = "../../../sdk/ec2" }
1616
aws-sdk-iam= { version = "1.81.0", path = "../../../sdk/iam" }
1717
aws-sdk-lambda= { version = "1.89.0", path = "../../../sdk/lambda" }
1818
aws-sdk-s3= { version = "1.98.0", path = "../../../sdk/s3" }

0 commit comments

Comments
 (0)