Exemplo n.º 1
0
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/medialive/describe-input-device.html
if __name__ == '__main__':
    """
	list-input-devices : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/medialive/list-input-devices.html
	transfer-input-device : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/medialive/transfer-input-device.html
	update-input-device : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/medialive/update-input-device.html
    """

    parameter_display_string = """
    # input-device-id : The unique ID of this input device. For example, hd-123456789abcdef.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("medialive", "describe-input-device",
                          "input-device-id", add_option_dict)
Exemplo n.º 2
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/mediastore/get-container-policy.html
if __name__ == '__main__':
    """
	delete-container-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/mediastore/delete-container-policy.html
	put-container-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/mediastore/put-container-policy.html
    """

    parameter_display_string = """
    # container-name : The name of the container.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("mediastore", "get-container-policy",
                          "container-name", add_option_dict)
Exemplo n.º 3
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ssm/describe-effective-patches-for-patch-baseline.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # baseline-id : The ID of the patch baseline to retrieve the effective patches for.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("ssm",
                          "describe-effective-patches-for-patch-baseline",
                          "baseline-id", add_option_dict)
Exemplo n.º 4
0
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kafka/describe-configuration.html
if __name__ == '__main__':
    """
	create-configuration : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kafka/create-configuration.html
	delete-configuration : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kafka/delete-configuration.html
	list-configurations : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kafka/list-configurations.html
	update-configuration : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kafka/update-configuration.html
    """

    parameter_display_string = """
    # arn : The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("kafka", "describe-configuration", "arn",
                          add_option_dict)
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/servicecatalog/list-principals-for-portfolio.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # portfolio-id : The portfolio identifier.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("servicecatalog", "list-principals-for-portfolio", "portfolio-id", add_option_dict)
Exemplo n.º 6
0
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/get-email-template.html
if __name__ == '__main__':
    """
	create-email-template : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/create-email-template.html
	delete-email-template : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/delete-email-template.html
	update-email-template : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint/update-email-template.html
    """

    parameter_display_string = """
    # template-name : The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("pinpoint", "get-email-template", "template-name",
                          add_option_dict)
Exemplo n.º 7
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codepipeline/get-pipeline-state.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # name : The name of the pipeline about which you want to get information.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("codepipeline", "get-pipeline-state", "name", add_option_dict)
Exemplo n.º 8
0
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/securityhub/list-tags-for-resource.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # resource-arn : The ARN of the resource to retrieve tags for.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("securityhub", "list-tags-for-resource",
                          "resource-arn", add_option_dict)
Exemplo n.º 9
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ce/get-reservation-utilization.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # time-period : 
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("ce", "get-reservation-utilization", "time-period", add_option_dict)
Exemplo n.º 10
0
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codebuild/list-reports-for-report-group.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # report-group-arn : The ARN of the report group for which you want to return report ARNs.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("codebuild", "list-reports-for-report-group",
                          "report-group-arn", add_option_dict)
Exemplo n.º 11
0
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf/get-regex-pattern-set.html
if __name__ == '__main__':
    """
	create-regex-pattern-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf/create-regex-pattern-set.html
	delete-regex-pattern-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf/delete-regex-pattern-set.html
	list-regex-pattern-sets : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf/list-regex-pattern-sets.html
	update-regex-pattern-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf/update-regex-pattern-set.html
    """

    parameter_display_string = """
    # regex-pattern-set-id : The RegexPatternSetId of the  RegexPatternSet that you want to get. RegexPatternSetId is returned by  CreateRegexPatternSet and by  ListRegexPatternSets .
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("waf", "get-regex-pattern-set",
                          "regex-pattern-set-id", add_option_dict)
Exemplo n.º 12
0
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint-email/get-dedicated-ip.html
if __name__ == '__main__':
    """
	get-dedicated-ips : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/pinpoint-email/get-dedicated-ips.html
    """

    parameter_display_string = """
    # ip : The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that’s assocaited with your Amazon Pinpoint account.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("pinpoint-email", "get-dedicated-ip", "ip",
                          add_option_dict)
Exemplo n.º 13
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/opsworks/get-hostname-suggestion.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # layer-id : The layer ID.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("opsworks", "get-hostname-suggestion", "layer-id", add_option_dict)
Exemplo n.º 14
0
# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-ml-transform.html
if __name__ == '__main__':
    """
	create-ml-transform : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/create-ml-transform.html
	delete-ml-transform : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/delete-ml-transform.html
	get-ml-transforms : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/get-ml-transforms.html
	list-ml-transforms : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/list-ml-transforms.html
	update-ml-transform : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/glue/update-ml-transform.html
    """

    parameter_display_string = """
    # transform-id : The unique identifier of the transform, generated at the time that the transform was created.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("glue", "get-ml-transform", "transform-id", add_option_dict)
Exemplo n.º 15
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/configservice/get-organization-config-rule-detailed-status.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # organization-config-rule-name : The name of organization config rule for which you want status details for member accounts.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("configservice",
                          "get-organization-config-rule-detailed-status",
                          "organization-config-rule-name", add_option_dict)
Exemplo n.º 16
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kinesisvideo/get-signaling-channel-endpoint.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # channel-arn : The Amazon Resource Name (ARN) of the signalling channel for which you want to get an endpoint.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("kinesisvideo", "get-signaling-channel-endpoint", "channel-arn", add_option_dict)
Exemplo n.º 17
0
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sesv2/get-dedicated-ip.html
if __name__ == '__main__':
    """
	get-dedicated-ips : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sesv2/get-dedicated-ips.html
    """

    parameter_display_string = """
    # ip : The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP address that’s assocaited with your AWS account.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("sesv2", "get-dedicated-ip", "ip", add_option_dict)
Exemplo n.º 18
0
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/describe-app-instance.html
if __name__ == '__main__':
    """
	create-app-instance : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/create-app-instance.html
	delete-app-instance : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/delete-app-instance.html
	list-app-instances : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/list-app-instances.html
	update-app-instance : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/chime/update-app-instance.html
    """

    parameter_display_string = """
    # app-instance-arn : The ARN of the app instance.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("chime", "describe-app-instance", "app-instance-arn",
                          add_option_dict)
Exemplo n.º 19
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/networkmanager/list-tags-for-resource.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # resource-arn : The Amazon Resource Name (ARN) of the resource.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("networkmanager", "list-tags-for-resource", "resource-arn", add_option_dict)
Exemplo n.º 20
0
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/list-identity-policies.html
if __name__ == '__main__':
    """
	delete-identity-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/delete-identity-policy.html
	get-identity-policies : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/get-identity-policies.html
	put-identity-policy : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ses/put-identity-policy.html
    """

    parameter_display_string = """
    # identity : The identity that is associated with the policy for which the policies will be listed. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: [email protected] , example.com , arn:aws:ses:us-east-1:123456789012:identity/example.com .
To successfully call this API, you must own the identity.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("ses", "list-identity-policies", "identity",
                          add_option_dict)
Exemplo n.º 21
0
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/describe-images.html
if __name__ == '__main__':
    """
	list-images : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/list-images.html
	put-image : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/put-image.html
    """

    parameter_display_string = """
    # repository-name : The repository that contains the images to describe.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("ecr", "describe-images", "repository-name",
                          add_option_dict)
Exemplo n.º 22
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/wafv2/get-web-acl-for-resource.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # resource-arn : The ARN (Amazon Resource Name) of the resource.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("wafv2", "get-web-acl-for-resource", "resource-arn", add_option_dict)
Exemplo n.º 23
0
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/kafka/list-scram-secrets.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # cluster-arn : The arn of the cluster.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("kafka", "list-scram-secrets", "cluster-arn",
                          add_option_dict)
Exemplo n.º 24
0
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/forecast/describe-dataset.html
if __name__ == '__main__':
    """
	create-dataset : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/forecast/create-dataset.html
	delete-dataset : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/forecast/delete-dataset.html
	list-datasets : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/forecast/list-datasets.html
    """

    parameter_display_string = """
    # dataset-arn : The Amazon Resource Name (ARN) of the dataset.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("forecast", "describe-dataset", "dataset-arn",
                          add_option_dict)
Exemplo n.º 25
0
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf-regional/get-logging-configuration.html
if __name__ == '__main__':
    """
	delete-logging-configuration : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf-regional/delete-logging-configuration.html
	list-logging-configurations : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf-regional/list-logging-configurations.html
	put-logging-configuration : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/waf-regional/put-logging-configuration.html
    """

    parameter_display_string = """
    # resource-arn : The Amazon Resource Name (ARN) of the web ACL for which you want to get the  LoggingConfiguration .
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("waf-regional", "get-logging-configuration",
                          "resource-arn", add_option_dict)
Exemplo n.º 26
0
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/marketplace-catalog/list-change-sets.html
if __name__ == '__main__':
    """
	cancel-change-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/marketplace-catalog/cancel-change-set.html
	describe-change-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/marketplace-catalog/describe-change-set.html
	start-change-set : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/marketplace-catalog/start-change-set.html
    """

    parameter_display_string = """
    # catalog : The catalog related to the request. Fixed value: AWSMarketplace
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("marketplace-catalog", "list-change-sets", "catalog", add_option_dict)
Exemplo n.º 27
0
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/appmesh/list-tags-for-resource.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # resource-arn : The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("appmesh", "list-tags-for-resource", "resource-arn",
                          add_option_dict)
Exemplo n.º 28
0
import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/securityhub/describe-standards-controls.html
if __name__ == '__main__':
    """
	update-standards-control : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/securityhub/update-standards-control.html
    """

    parameter_display_string = """
    # standards-subscription-arn : The ARN of a resource that represents your subscription to a supported standard.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("securityhub", "describe-standards-controls",
                          "standards-subscription-arn", add_option_dict)
Exemplo n.º 29
0
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from common.execute_command import execute_one_parameter


# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iot/get-statistics.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # query-string : The query used to search. You can specify “*” for the query string to get the count of all indexed things in your AWS account.
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("iot", "get-statistics", "query-string", add_option_dict)
Exemplo n.º 30
0
from common.execute_command import execute_one_parameter

# url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iotthingsgraph/get-flow-template-revisions.html
if __name__ == '__main__':
    """

    """

    parameter_display_string = """
    # id : The ID of the workflow.
The ID should be in the following format.

urn:tdm:REGION/ACCOUNT ID/default:workflow:WORKFLOWNAME
    """

    add_option_dict = {}
    #######################################################################
    # setting option use
    # ex: add_option_dict["setting_matching_parameter"] = "--owners"
    # ex: add_option_dict["setting_key"] = "owner_id"

    #######################################################################
    # single parameter
    # ex: add_option_dict["no_value_parameter_list"] = "--single-parameter"

    #######################################################################
    # parameter display string
    add_option_dict["parameter_display_string"] = parameter_display_string

    execute_one_parameter("iotthingsgraph", "get-flow-template-revisions",
                          "id", add_option_dict)