import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lambda/delete-provisioned-concurrency-config.html if __name__ == '__main__': """ get-provisioned-concurrency-config : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lambda/get-provisioned-concurrency-config.html list-provisioned-concurrency-configs : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lambda/list-provisioned-concurrency-configs.html put-provisioned-concurrency-config : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lambda/put-provisioned-concurrency-config.html """ parameter_display_string = """ # function-name : The name of the Lambda function. Name formats Function name - my-function . Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function . Partial ARN - 123456789012:function:my-function . The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. # qualifier : The version number or alias name. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("lambda", "delete-provisioned-concurrency-config", "function-name", "qualifier", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/connect/associate-security-key.html if __name__ == '__main__': """ disassociate-security-key : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/connect/disassociate-security-key.html list-security-keys : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/connect/list-security-keys.html """ parameter_display_string = """ # instance-id : The identifier of the Amazon Connect instance. # key : A valid security key in PEM format. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("connect", "associate-security-key", "instance-id", "key", add_option_dict)
Maximum value length - 256 Unicode characters in UTF-8 If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Do not use aws: , AWS: , or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit. (structure) The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50 For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8 Maximum value length - 256 Unicode characters in UTF-8 If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Do not use aws: , AWS: , or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit. key -> (string) One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values. value -> (string) The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("ecs", "tag-resource", "resource-arn", "tags", add_option_dict)
# -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/fms/tag-resource.html if __name__ == '__main__': """ untag-resource : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/fms/untag-resource.html """ parameter_display_string = """ # resource-arn : The Amazon Resource Name (ARN) of the resource to return tags for. The AWS Firewall Manager resources that support tagging are policies, applications lists, and protocols lists. # tag-list : The tags to add to the resource. (structure) A collection of key:value pairs associated with an AWS resource. The key:value pair can be anything you define. Typically, the tag key represents a category (such as âenvironmentâ) and the tag value represents a specific value within that category (such as âtest,â âdevelopment,â or âproductionâ). You can add up to 50 tags to each AWS resource. Key -> (string) Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as âcustomer.â Tag keys are case-sensitive. Value -> (string) Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as âcompanyAâ or âcompanyB.â Tag values are case-sensitive. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("fms", "tag-resource", "resource-arn", "tag-list", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/route53/create-query-logging-config.html if __name__ == '__main__': """ delete-query-logging-config : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/route53/delete-query-logging-config.html get-query-logging-config : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/route53/get-query-logging-config.html list-query-logging-configs : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/route53/list-query-logging-configs.html """ parameter_display_string = """ # hosted-zone-id : The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones. # cloud-watch-logs-log-group-arn : The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format of the ARN: arn:aws:logs:region :account-id :log-group:log_group_name To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the AWS SDKs. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("route53", "create-query-logging-config", "hosted-zone-id", "cloud-watch-logs-log-group-arn", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/network-firewall/update-firewall-policy.html if __name__ == '__main__': """ associate-firewall-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/network-firewall/associate-firewall-policy.html create-firewall-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/network-firewall/create-firewall-policy.html delete-firewall-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/network-firewall/delete-firewall-policy.html describe-firewall-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/network-firewall/describe-firewall-policy.html list-firewall-policies : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/network-firewall/list-firewall-policies.html """ parameter_display_string = """ # update-token : A token used for optimistic locking. Network Firewall returns a token to your requests that access the firewall policy. The token marks the state of the policy resource at the time of the request. To make changes to the policy, you provide the token in your request. Network Firewall uses the token to ensure that the policy hasnât changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException . If this happens, retrieve the firewall policy again to get a current copy of it with current token. Reapply your changes as needed, then try the operation again using the new token. # firewall-policy : """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("network-firewall", "update-firewall-policy", "update-token", "firewall-policy", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/create-instance-snapshot.html if __name__ == '__main__': """ delete-instance-snapshot : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/delete-instance-snapshot.html get-instance-snapshot : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/get-instance-snapshot.html get-instance-snapshots : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/lightsail/get-instance-snapshots.html """ parameter_display_string = """ # instance-snapshot-name : The name for your new snapshot. # instance-name : The Lightsail instance on which to base your snapshot. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("lightsail", "create-instance-snapshot", "instance-snapshot-name", "instance-name", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kendra/delete-data-source.html if __name__ == '__main__': """ create-data-source : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kendra/create-data-source.html describe-data-source : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kendra/describe-data-source.html list-data-sources : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kendra/list-data-sources.html update-data-source : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kendra/update-data-source.html """ parameter_display_string = """ # id : The unique identifier of the data source to delete. # index-id : The unique identifier of the index associated with the data source. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("kendra", "delete-data-source", "id", "index-id", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/detach-group-policy.html if __name__ == '__main__': """ attach-group-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/attach-group-policy.html delete-group-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/delete-group-policy.html get-group-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/get-group-policy.html list-group-policies : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-group-policies.html put-group-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/put-group-policy.html """ parameter_display_string = """ # group-name : The name (friendly name, not ARN) of the IAM group to detach the policy from. This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@- # policy-arn : The Amazon Resource Name (ARN) of the IAM policy you want to detach. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference . """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("iam", "detach-group-policy", "group-name", "policy-arn", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/databrew/delete-recipe-version.html if __name__ == '__main__': """ list-recipe-versions : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/databrew/list-recipe-versions.html """ parameter_display_string = """ # name : The name of the recipe to be deleted. # recipe-version : The version of the recipe to be deleted. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("databrew", "delete-recipe-version", "name", "recipe-version", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/accept-vpc-endpoint-connections.html if __name__ == '__main__': """ describe-vpc-endpoint-connections : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-vpc-endpoint-connections.html reject-vpc-endpoint-connections : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/reject-vpc-endpoint-connections.html """ parameter_display_string = """ # service-id : The ID of the VPC endpoint service. # vpc-endpoint-ids : The IDs of one or more interface VPC endpoints. (string) """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("ec2", "accept-vpc-endpoint-connections", "service-id", "vpc-endpoint-ids", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/clouddirectory/delete-typed-link-facet.html if __name__ == '__main__': """ create-typed-link-facet : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/clouddirectory/create-typed-link-facet.html update-typed-link-facet : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/clouddirectory/update-typed-link-facet.html """ parameter_display_string = """ # schema-arn : The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns . # name : The unique name of the typed link facet. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("clouddirectory", "delete-typed-link-facet", "schema-arn", "name", add_option_dict)
describe-configuration-settings : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/elasticbeanstalk/describe-configuration-settings.html """ parameter_display_string = """ # application-name : The name of the application that the configuration template or environment belongs to. # option-settings : A list of the options and desired values to evaluate. (structure) A specification identifying an individual configuration option along with its current value. For a list of possible namespaces and option values, see Option Values in the AWS Elastic Beanstalk Developer Guide . ResourceName -> (string) A unique resource name for the option setting. Use it for a timeâbased scaling configuration option. Namespace -> (string) A unique namespace that identifies the optionâs associated AWS resource. OptionName -> (string) The name of the configuration option. Value -> (string) The current value for the configuration option. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("elasticbeanstalk", "validate-configuration-settings", "application-name", "option-settings", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sesv2/put-dedicated-ip-in-pool.html if __name__ == '__main__': """ """ parameter_display_string = """ # ip : The IP address that you want to move to the dedicated IP pool. The value you specify has to be a dedicated IP address thatâs associated with your AWS account. # destination-pool-name : The name of the IP pool that you want to add the dedicated IP address to. You have to specify an IP pool that already exists. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("sesv2", "put-dedicated-ip-in-pool", "ip", "destination-pool-name", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/serverlessrepo/unshare-application.html if __name__ == '__main__': """ create-application : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/serverlessrepo/create-application.html delete-application : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/serverlessrepo/delete-application.html get-application : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/serverlessrepo/get-application.html list-applications : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/serverlessrepo/list-applications.html update-application : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/serverlessrepo/update-application.html """ parameter_display_string = """ # application-id : The Amazon Resource Name (ARN) of the application. # organization-id : The AWS Organization ID to unshare the application from. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("serverlessrepo", "unshare-application", "application-id", "organization-id", add_option_dict)
Minimum -> (double) Internal only API. SampleCount -> (integer) Internal only API. Sum -> (double) Internal only API. Timestamp -> (timestamp) Internal only API. Unit -> (string) Unit Value -> (double) Internal only API. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("mwaa", "publish-metrics", "environment-name", "metric-data", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/delete-license.html if __name__ == '__main__': """ checkout-license : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/checkout-license.html create-license : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/create-license.html get-license : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/get-license.html list-licenses : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/list-licenses.html """ parameter_display_string = """ # license-arn : Amazon Resource Name (ARN) of the license. # source-version : Current version of the license. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("license-manager", "delete-license", "license-arn", "source-version", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-event-subscription.html if __name__ == '__main__': """ delete-event-subscription : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/delete-event-subscription.html describe-event-subscriptions : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-event-subscriptions.html modify-event-subscription : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/modify-event-subscription.html """ parameter_display_string = """ # subscription-name : The name of the subscription. Constraints: The name must be less than 255 characters. # sns-topic-arn : The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("rds", "create-event-subscription", "subscription-name", "sns-topic-arn", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/create-token.html if __name__ == '__main__': """ delete-token : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/delete-token.html list-tokens : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/license-manager/list-tokens.html """ parameter_display_string = """ # license-arn : Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token. # client-token : Idempotency token, valid for 10 minutes. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("license-manager", "create-token", "license-arn", "client-token", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/update-document.html if __name__ == '__main__': """ create-document : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/create-document.html delete-document : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/delete-document.html describe-document : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/describe-document.html get-document : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/get-document.html list-documents : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/list-documents.html """ parameter_display_string = """ # content : A valid JSON or YAML string. # name : The name of the document that you want to update. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("ssm", "update-document", "content", "name", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/redshift/delete-tags.html if __name__ == '__main__': """ create-tags : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/redshift/create-tags.html describe-tags : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/redshift/describe-tags.html """ parameter_display_string = """ # resource-name : The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-2:123456789:cluster:t1 . # tag-keys : The tag key that you want to delete. (string) """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("redshift", "delete-tags", "resource-name", "tag-keys", add_option_dict)
# -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/create-policy-version.html if __name__ == '__main__': """ delete-policy-version : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/delete-policy-version.html get-policy-version : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/get-policy-version.html list-policy-versions : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/list-policy-versions.html """ parameter_display_string = """ # policy-arn : The Amazon Resource Name (ARN) of the IAM policy to which you want to add a new version. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference . # policy-document : The JSON policy document that you want to use as the content for this new version of the policy. You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. The regex pattern used to validate this parameter is a string of characters consisting of the following: Any printable ASCII character ranging from the space character (\u0020 ) through the end of the ASCII character range The printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF ) The special characters tab (\u0009 ), line feed (\u000A ), and carriage return (\u000D ) """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("iam", "create-policy-version", "policy-arn", "policy-document", add_option_dict)
import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/add-tags-to-resource.html if __name__ == '__main__': """ """ parameter_display_string = """ # resource-name : The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) . # tags : The tags to be assigned to the Amazon RDS resource. (structure) Metadata assigned to an Amazon RDS resource consisting of a key-value pair. Key -> (string) A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and canât be prefixed with âaws:â or ârds:â. The string can only contain only the set of Unicode letters, digits, white-space, â_â, â.â, â:â, â/â, â=â, â+â, â-â, â@â (Java regex: â^([\p{L}\p{Z}\p{N}_.:/=+-@]*)$â). Value -> (string) A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and canât be prefixed with âaws:â or ârds:â. The string can only contain only the set of Unicode letters, digits, white-space, â_â, â.â, â:â, â/â, â=â, â+â, â-â, â@â (Java regex: â^([\p{L}\p{Z}\p{N}_.:/=+-@]*)$â). """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("rds", "add-tags-to-resource", "resource-name", "tags", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/alexaforbusiness/delete-room-skill-parameter.html if __name__ == '__main__': """ get-room-skill-parameter : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/alexaforbusiness/get-room-skill-parameter.html put-room-skill-parameter : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/alexaforbusiness/put-room-skill-parameter.html """ parameter_display_string = """ # skill-id : The ID of the skill from which to remove the room skill parameter details. # parameter-key : The room skill parameter key for which to remove details. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("alexaforbusiness", "delete-room-skill-parameter", "skill-id", "parameter-key", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/mturk/associate-qualification-with-worker.html if __name__ == '__main__': """ """ parameter_display_string = """ # qualification-type-id : The ID of the Qualification type to use for the assigned Qualification. # worker-id : The ID of the Worker to whom the Qualification is being assigned. Worker IDs are included with submitted HIT assignments and Qualification requests. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("mturk", "associate-qualification-with-worker", "qualification-type-id", "worker-id", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/delete-campaign.html if __name__ == '__main__': """ create-campaign : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/create-campaign.html get-campaign : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/get-campaign.html get-campaigns : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/get-campaigns.html update-campaign : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/update-campaign.html """ parameter_display_string = """ # application-id : The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console. # campaign-id : The unique identifier for the campaign. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("pinpoint", "delete-campaign", "application-id", "campaign-id", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/guardduty/delete-threat-intel-set.html if __name__ == '__main__': """ create-threat-intel-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/guardduty/create-threat-intel-set.html get-threat-intel-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/guardduty/get-threat-intel-set.html list-threat-intel-sets : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/guardduty/list-threat-intel-sets.html update-threat-intel-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/guardduty/update-threat-intel-set.html """ parameter_display_string = """ # detector-id : The unique ID of the detector that the threatIntelSet is associated with. # threat-intel-set-id : The unique ID of the threatIntelSet that you want to delete. """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("guardduty", "delete-threat-intel-set", "detector-id", "threat-intel-set-id", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/gamelift/create-alias.html if __name__ == '__main__': """ delete-alias : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/gamelift/delete-alias.html describe-alias : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/gamelift/describe-alias.html resolve-alias : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/gamelift/resolve-alias.html update-alias : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/gamelift/update-alias.html """ parameter_display_string = """ # name : A descriptive label that is associated with an alias. Alias names do not need to be unique. # routing-strategy : """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("gamelift", "create-alias", "name", "routing-strategy", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/backup/update-backup-plan.html if __name__ == '__main__': """ create-backup-plan : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/backup/create-backup-plan.html delete-backup-plan : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/backup/delete-backup-plan.html get-backup-plan : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/backup/get-backup-plan.html list-backup-plans : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/backup/list-backup-plans.html """ parameter_display_string = """ # backup-plan-id : Uniquely identifies a backup plan. # backup-plan : """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("backup", "update-backup-plan", "backup-plan-id", "backup-plan", add_option_dict)
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_two_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/events/untag-resource.html if __name__ == '__main__': """ tag-resource : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/events/tag-resource.html """ parameter_display_string = """ # resource-arn : The ARN of the EventBridge resource from which you are removing tags. # tag-keys : The list of tag keys to remove from the resource. (string) """ add_option_dict = {} add_option_dict["parameter_display_string"] = parameter_display_string # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter" write_two_parameter("events", "untag-resource", "resource-arn", "tag-keys", add_option_dict)