mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+876
-32
File diff suppressed because it is too large
Load Diff
+786
-206
File diff suppressed because one or more lines are too long
+254
@@ -155,6 +155,51 @@
|
||||
"title": "To create a new service behind a load balancer"
|
||||
}
|
||||
],
|
||||
"DeleteAccountSetting": [
|
||||
{
|
||||
"input": {
|
||||
"name": "serviceLongArnFormat"
|
||||
},
|
||||
"output": {
|
||||
"setting": {
|
||||
"name": "serviceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deletes the account setting for your user for the specified resource type.",
|
||||
"id": "to-delete-the-account-setting-for-your-user-account-1549524548115",
|
||||
"title": "To delete your account setting"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"name": "containerInstanceLongArnFormat",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
},
|
||||
"output": {
|
||||
"setting": {
|
||||
"name": "containerInstanceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deletes the account setting for a specific IAM user or IAM role for the specified resource type. Only the root user can view or modify the account settings for another user.",
|
||||
"id": "to-delete-the-account-setting-for-a-specific-iam-user-or-iam-role-1549524612917",
|
||||
"title": "To delete the account settings for a specific IAM user or IAM role"
|
||||
}
|
||||
],
|
||||
"DeleteCluster": [
|
||||
{
|
||||
"input": {
|
||||
@@ -537,6 +582,75 @@
|
||||
"title": "To describe a task"
|
||||
}
|
||||
],
|
||||
"ListAccountSettings": [
|
||||
{
|
||||
"input": {
|
||||
"effectiveSettings": true
|
||||
},
|
||||
"output": {
|
||||
"settings": [
|
||||
{
|
||||
"name": "containerInstanceLongArnFormat",
|
||||
"value": "disabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
},
|
||||
{
|
||||
"name": "serviceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
},
|
||||
{
|
||||
"name": "taskLongArnFormat",
|
||||
"value": "disabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example displays the effective account settings for your account.",
|
||||
"id": "to-view-your-account-settings-1549524118170",
|
||||
"title": "To view your effective account settings"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"effectiveSettings": true,
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
},
|
||||
"output": {
|
||||
"settings": [
|
||||
{
|
||||
"name": "containerInstanceLongArnFormat",
|
||||
"value": "disabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
},
|
||||
{
|
||||
"name": "serviceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
},
|
||||
{
|
||||
"name": "taskLongArnFormat",
|
||||
"value": "disabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example displays the effective account settings for the specified user or role.",
|
||||
"id": "to-view-the-account-settings-for-a-specific-iam-user-or-iam-role-1549524237932",
|
||||
"title": "To view the effective account settings for a specific IAM user or IAM role"
|
||||
}
|
||||
],
|
||||
"ListClusters": [
|
||||
{
|
||||
"input": {
|
||||
@@ -600,6 +714,30 @@
|
||||
"title": "To list the services in a cluster"
|
||||
}
|
||||
],
|
||||
"ListTagsForResource": [
|
||||
{
|
||||
"input": {
|
||||
"resourceArn": "arn:aws:ecs:region:aws_account_id:cluster/dev"
|
||||
},
|
||||
"output": {
|
||||
"tags": [
|
||||
{
|
||||
"key": "team",
|
||||
"value": "dev"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example lists the tags for the 'dev' cluster.",
|
||||
"id": "to-list-the-tags-for-a-cluster-1540582700259",
|
||||
"title": "To list the tags for a cluster."
|
||||
}
|
||||
],
|
||||
"ListTaskDefinitionFamilies": [
|
||||
{
|
||||
"input": {
|
||||
@@ -732,6 +870,77 @@
|
||||
"title": "To list the tasks on a particular container instance"
|
||||
}
|
||||
],
|
||||
"PutAccountSetting": [
|
||||
{
|
||||
"input": {
|
||||
"name": "serviceLongArnFormat",
|
||||
"value": "enabled"
|
||||
},
|
||||
"output": {
|
||||
"setting": {
|
||||
"name": "serviceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example modifies your account settings to opt in to the new ARN and resource ID format for Amazon ECS services. If you’re using this command as the root user, then changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.",
|
||||
"id": "to-modify-the-account-settings-for-your-iam-user-account-1549523130939",
|
||||
"title": "To modify your account settings"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"name": "containerInstanceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
},
|
||||
"output": {
|
||||
"setting": {
|
||||
"name": "containerInstanceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:user/principalName"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example modifies the account setting for a specific IAM user or IAM role to opt in to the new ARN and resource ID format for Amazon ECS container instances. If you’re using this command as the root user, then changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.",
|
||||
"id": "to-modify-the-account-settings-for-a-specific-iam-user-or-iam-role-1549523518390",
|
||||
"title": "To modify the account settings for a specific IAM user or IAM role"
|
||||
}
|
||||
],
|
||||
"PutAccountSettingDefault": [
|
||||
{
|
||||
"input": {
|
||||
"name": "serviceLongArnFormat",
|
||||
"value": "enabled"
|
||||
},
|
||||
"output": {
|
||||
"setting": {
|
||||
"name": "serviceLongArnFormat",
|
||||
"value": "enabled",
|
||||
"principalArn": "arn:aws:iam::<aws_account_id>:root"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example modifies the default account setting for the specified resource for all IAM users or roles on an account. These changes apply to the entire AWS account, unless an IAM user or role explicitly overrides these settings for themselves.",
|
||||
"id": "to-modify-the-default-account-settings-for-all-iam-users-or-roles-on-your-account-1549523794603",
|
||||
"title": "To modify the default account settings for all IAM users or roles on an account"
|
||||
}
|
||||
],
|
||||
"RegisterTaskDefinition": [
|
||||
{
|
||||
"input": {
|
||||
@@ -843,6 +1052,51 @@
|
||||
"title": "To run a task on your default cluster"
|
||||
}
|
||||
],
|
||||
"TagResource": [
|
||||
{
|
||||
"input": {
|
||||
"resourceArn": "arn:aws:ecs:region:aws_account_id:cluster/dev",
|
||||
"tags": [
|
||||
{
|
||||
"key": "team",
|
||||
"value": "dev"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example tags the 'dev' cluster with key 'team' and value 'dev'.",
|
||||
"id": "to-tag-a-cluster-1540581863751",
|
||||
"title": "To tag a cluster."
|
||||
}
|
||||
],
|
||||
"UntagResource": [
|
||||
{
|
||||
"input": {
|
||||
"resourceArn": "arn:aws:ecs:region:aws_account_id:cluster/dev",
|
||||
"tagKeys": [
|
||||
"team"
|
||||
]
|
||||
},
|
||||
"output": {
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "This example deletes the 'team' tag from the 'dev' cluster.",
|
||||
"id": "to-untag-a-cluster-1540582546056",
|
||||
"title": "To untag a cluster."
|
||||
}
|
||||
],
|
||||
"UpdateService": [
|
||||
{
|
||||
"input": {
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": 1,
|
||||
"defaultRegion": "us-west-2",
|
||||
"testCases": [
|
||||
{
|
||||
"operationName": "ListClusters",
|
||||
"input": {},
|
||||
"errorExpectedFromService": false
|
||||
},
|
||||
{
|
||||
"operationName": "StopTask",
|
||||
"input": {
|
||||
"task": "xxxxxxxxxxx-xxxxxxxxxxxx-xxxxxxxxxxx"
|
||||
},
|
||||
"errorExpectedFromService": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user