Best Python code snippet using localstack_python
__init__.pyi
Source:__init__.pyi
1"""2Main interface for ssm service.3Usage::4 ```python5 import boto36 from mypy_boto3_ssm import (7 Client,8 CommandExecutedWaiter,9 DescribeActivationsPaginator,10 DescribeAssociationExecutionTargetsPaginator,11 DescribeAssociationExecutionsPaginator,12 DescribeAutomationExecutionsPaginator,13 DescribeAutomationStepExecutionsPaginator,14 DescribeAvailablePatchesPaginator,15 DescribeEffectiveInstanceAssociationsPaginator,16 DescribeEffectivePatchesForPatchBaselinePaginator,17 DescribeInstanceAssociationsStatusPaginator,18 DescribeInstanceInformationPaginator,19 DescribeInstancePatchStatesForPatchGroupPaginator,20 DescribeInstancePatchStatesPaginator,21 DescribeInstancePatchesPaginator,22 DescribeInventoryDeletionsPaginator,23 DescribeMaintenanceWindowExecutionTaskInvocationsPaginator,24 DescribeMaintenanceWindowExecutionTasksPaginator,25 DescribeMaintenanceWindowExecutionsPaginator,26 DescribeMaintenanceWindowSchedulePaginator,27 DescribeMaintenanceWindowTargetsPaginator,28 DescribeMaintenanceWindowTasksPaginator,29 DescribeMaintenanceWindowsForTargetPaginator,30 DescribeMaintenanceWindowsPaginator,31 DescribeOpsItemsPaginator,32 DescribeParametersPaginator,33 DescribePatchBaselinesPaginator,34 DescribePatchGroupsPaginator,35 DescribePatchPropertiesPaginator,36 DescribeSessionsPaginator,37 GetInventoryPaginator,38 GetInventorySchemaPaginator,39 GetOpsSummaryPaginator,40 GetParameterHistoryPaginator,41 GetParametersByPathPaginator,42 ListAssociationVersionsPaginator,43 ListAssociationsPaginator,44 ListCommandInvocationsPaginator,45 ListCommandsPaginator,46 ListComplianceItemsPaginator,47 ListComplianceSummariesPaginator,48 ListDocumentVersionsPaginator,49 ListDocumentsPaginator,50 ListOpsItemEventsPaginator,51 ListOpsItemRelatedItemsPaginator,52 ListOpsMetadataPaginator,53 ListResourceComplianceSummariesPaginator,54 ListResourceDataSyncPaginator,55 SSMClient,56 )57 session = boto3.Session()58 client: SSMClient = boto3.client("ssm")59 session_client: SSMClient = session.client("ssm")60 command_executed_waiter: CommandExecutedWaiter = client.get_waiter("command_executed")61 describe_activations_paginator: DescribeActivationsPaginator = client.get_paginator("describe_activations")62 describe_association_execution_targets_paginator: DescribeAssociationExecutionTargetsPaginator = client.get_paginator("describe_association_execution_targets")63 describe_association_executions_paginator: DescribeAssociationExecutionsPaginator = client.get_paginator("describe_association_executions")64 describe_automation_executions_paginator: DescribeAutomationExecutionsPaginator = client.get_paginator("describe_automation_executions")65 describe_automation_step_executions_paginator: DescribeAutomationStepExecutionsPaginator = client.get_paginator("describe_automation_step_executions")66 describe_available_patches_paginator: DescribeAvailablePatchesPaginator = client.get_paginator("describe_available_patches")67 describe_effective_instance_associations_paginator: DescribeEffectiveInstanceAssociationsPaginator = client.get_paginator("describe_effective_instance_associations")68 describe_effective_patches_for_patch_baseline_paginator: DescribeEffectivePatchesForPatchBaselinePaginator = client.get_paginator("describe_effective_patches_for_patch_baseline")69 describe_instance_associations_status_paginator: DescribeInstanceAssociationsStatusPaginator = client.get_paginator("describe_instance_associations_status")70 describe_instance_information_paginator: DescribeInstanceInformationPaginator = client.get_paginator("describe_instance_information")71 describe_instance_patch_states_paginator: DescribeInstancePatchStatesPaginator = client.get_paginator("describe_instance_patch_states")72 describe_instance_patch_states_for_patch_group_paginator: DescribeInstancePatchStatesForPatchGroupPaginator = client.get_paginator("describe_instance_patch_states_for_patch_group")73 describe_instance_patches_paginator: DescribeInstancePatchesPaginator = client.get_paginator("describe_instance_patches")74 describe_inventory_deletions_paginator: DescribeInventoryDeletionsPaginator = client.get_paginator("describe_inventory_deletions")75 describe_maintenance_window_execution_task_invocations_paginator: DescribeMaintenanceWindowExecutionTaskInvocationsPaginator = client.get_paginator("describe_maintenance_window_execution_task_invocations")76 describe_maintenance_window_execution_tasks_paginator: DescribeMaintenanceWindowExecutionTasksPaginator = client.get_paginator("describe_maintenance_window_execution_tasks")77 describe_maintenance_window_executions_paginator: DescribeMaintenanceWindowExecutionsPaginator = client.get_paginator("describe_maintenance_window_executions")78 describe_maintenance_window_schedule_paginator: DescribeMaintenanceWindowSchedulePaginator = client.get_paginator("describe_maintenance_window_schedule")79 describe_maintenance_window_targets_paginator: DescribeMaintenanceWindowTargetsPaginator = client.get_paginator("describe_maintenance_window_targets")80 describe_maintenance_window_tasks_paginator: DescribeMaintenanceWindowTasksPaginator = client.get_paginator("describe_maintenance_window_tasks")81 describe_maintenance_windows_paginator: DescribeMaintenanceWindowsPaginator = client.get_paginator("describe_maintenance_windows")82 describe_maintenance_windows_for_target_paginator: DescribeMaintenanceWindowsForTargetPaginator = client.get_paginator("describe_maintenance_windows_for_target")83 describe_ops_items_paginator: DescribeOpsItemsPaginator = client.get_paginator("describe_ops_items")84 describe_parameters_paginator: DescribeParametersPaginator = client.get_paginator("describe_parameters")85 describe_patch_baselines_paginator: DescribePatchBaselinesPaginator = client.get_paginator("describe_patch_baselines")86 describe_patch_groups_paginator: DescribePatchGroupsPaginator = client.get_paginator("describe_patch_groups")87 describe_patch_properties_paginator: DescribePatchPropertiesPaginator = client.get_paginator("describe_patch_properties")88 describe_sessions_paginator: DescribeSessionsPaginator = client.get_paginator("describe_sessions")89 get_inventory_paginator: GetInventoryPaginator = client.get_paginator("get_inventory")90 get_inventory_schema_paginator: GetInventorySchemaPaginator = client.get_paginator("get_inventory_schema")91 get_ops_summary_paginator: GetOpsSummaryPaginator = client.get_paginator("get_ops_summary")92 get_parameter_history_paginator: GetParameterHistoryPaginator = client.get_paginator("get_parameter_history")93 get_parameters_by_path_paginator: GetParametersByPathPaginator = client.get_paginator("get_parameters_by_path")94 list_association_versions_paginator: ListAssociationVersionsPaginator = client.get_paginator("list_association_versions")95 list_associations_paginator: ListAssociationsPaginator = client.get_paginator("list_associations")96 list_command_invocations_paginator: ListCommandInvocationsPaginator = client.get_paginator("list_command_invocations")97 list_commands_paginator: ListCommandsPaginator = client.get_paginator("list_commands")98 list_compliance_items_paginator: ListComplianceItemsPaginator = client.get_paginator("list_compliance_items")99 list_compliance_summaries_paginator: ListComplianceSummariesPaginator = client.get_paginator("list_compliance_summaries")100 list_document_versions_paginator: ListDocumentVersionsPaginator = client.get_paginator("list_document_versions")101 list_documents_paginator: ListDocumentsPaginator = client.get_paginator("list_documents")102 list_ops_item_events_paginator: ListOpsItemEventsPaginator = client.get_paginator("list_ops_item_events")103 list_ops_item_related_items_paginator: ListOpsItemRelatedItemsPaginator = client.get_paginator("list_ops_item_related_items")104 list_ops_metadata_paginator: ListOpsMetadataPaginator = client.get_paginator("list_ops_metadata")105 list_resource_compliance_summaries_paginator: ListResourceComplianceSummariesPaginator = client.get_paginator("list_resource_compliance_summaries")106 list_resource_data_sync_paginator: ListResourceDataSyncPaginator = client.get_paginator("list_resource_data_sync")107 ```108"""109from .client import SSMClient110from .paginator import (111 DescribeActivationsPaginator,112 DescribeAssociationExecutionsPaginator,113 DescribeAssociationExecutionTargetsPaginator,114 DescribeAutomationExecutionsPaginator,115 DescribeAutomationStepExecutionsPaginator,116 DescribeAvailablePatchesPaginator,117 DescribeEffectiveInstanceAssociationsPaginator,118 DescribeEffectivePatchesForPatchBaselinePaginator,119 DescribeInstanceAssociationsStatusPaginator,120 DescribeInstanceInformationPaginator,121 DescribeInstancePatchesPaginator,122 DescribeInstancePatchStatesForPatchGroupPaginator,123 DescribeInstancePatchStatesPaginator,124 DescribeInventoryDeletionsPaginator,125 DescribeMaintenanceWindowExecutionsPaginator,126 DescribeMaintenanceWindowExecutionTaskInvocationsPaginator,127 DescribeMaintenanceWindowExecutionTasksPaginator,128 DescribeMaintenanceWindowSchedulePaginator,129 DescribeMaintenanceWindowsForTargetPaginator,130 DescribeMaintenanceWindowsPaginator,131 DescribeMaintenanceWindowTargetsPaginator,132 DescribeMaintenanceWindowTasksPaginator,133 DescribeOpsItemsPaginator,134 DescribeParametersPaginator,135 DescribePatchBaselinesPaginator,136 DescribePatchGroupsPaginator,137 DescribePatchPropertiesPaginator,138 DescribeSessionsPaginator,139 GetInventoryPaginator,140 GetInventorySchemaPaginator,141 GetOpsSummaryPaginator,142 GetParameterHistoryPaginator,143 GetParametersByPathPaginator,144 ListAssociationsPaginator,145 ListAssociationVersionsPaginator,146 ListCommandInvocationsPaginator,147 ListCommandsPaginator,148 ListComplianceItemsPaginator,149 ListComplianceSummariesPaginator,150 ListDocumentsPaginator,151 ListDocumentVersionsPaginator,152 ListOpsItemEventsPaginator,153 ListOpsItemRelatedItemsPaginator,154 ListOpsMetadataPaginator,155 ListResourceComplianceSummariesPaginator,156 ListResourceDataSyncPaginator,157)158from .waiter import CommandExecutedWaiter159Client = SSMClient160__all__ = (161 "Client",162 "CommandExecutedWaiter",163 "DescribeActivationsPaginator",164 "DescribeAssociationExecutionTargetsPaginator",165 "DescribeAssociationExecutionsPaginator",166 "DescribeAutomationExecutionsPaginator",167 "DescribeAutomationStepExecutionsPaginator",168 "DescribeAvailablePatchesPaginator",169 "DescribeEffectiveInstanceAssociationsPaginator",170 "DescribeEffectivePatchesForPatchBaselinePaginator",171 "DescribeInstanceAssociationsStatusPaginator",172 "DescribeInstanceInformationPaginator",173 "DescribeInstancePatchStatesForPatchGroupPaginator",174 "DescribeInstancePatchStatesPaginator",175 "DescribeInstancePatchesPaginator",176 "DescribeInventoryDeletionsPaginator",177 "DescribeMaintenanceWindowExecutionTaskInvocationsPaginator",178 "DescribeMaintenanceWindowExecutionTasksPaginator",179 "DescribeMaintenanceWindowExecutionsPaginator",180 "DescribeMaintenanceWindowSchedulePaginator",181 "DescribeMaintenanceWindowTargetsPaginator",182 "DescribeMaintenanceWindowTasksPaginator",183 "DescribeMaintenanceWindowsForTargetPaginator",184 "DescribeMaintenanceWindowsPaginator",185 "DescribeOpsItemsPaginator",186 "DescribeParametersPaginator",187 "DescribePatchBaselinesPaginator",188 "DescribePatchGroupsPaginator",189 "DescribePatchPropertiesPaginator",190 "DescribeSessionsPaginator",191 "GetInventoryPaginator",192 "GetInventorySchemaPaginator",193 "GetOpsSummaryPaginator",194 "GetParameterHistoryPaginator",195 "GetParametersByPathPaginator",196 "ListAssociationVersionsPaginator",197 "ListAssociationsPaginator",198 "ListCommandInvocationsPaginator",199 "ListCommandsPaginator",200 "ListComplianceItemsPaginator",201 "ListComplianceSummariesPaginator",202 "ListDocumentVersionsPaginator",203 "ListDocumentsPaginator",204 "ListOpsItemEventsPaginator",205 "ListOpsItemRelatedItemsPaginator",206 "ListOpsMetadataPaginator",207 "ListResourceComplianceSummariesPaginator",208 "ListResourceDataSyncPaginator",209 "SSMClient",...
not_used_operations.py
Source:not_used_operations.py
1not_used_operations = {2 'ec2': [3 'describe_load_balancer_policies',4 'describe_vpc_endpoint_services',5 'describe_aggregate_id_format',6 'describe_load_balancer_policy_types',7 'describe_endpoints',8 'describe_availability_zones',9 'describe_account_attributes',10 'describe_dhcp_options',11 'describe_fpga_images',12 'describe_host_reservation_offerings',13 'describe_id_format',14 'describe_instance_event_notification_attributes',15 'describe_instance_type_offerings',16 'describe_instance_types',17 'describe_managed_prefix_lists',18 'describe_prefix_lists',19 'describe_regions',20 'describe_launch_template_versions',21 'describe_principal_id_format',22 'describe_spot_price_history',23 'describe_flow_logs',24 ### The blow 2 require extra parameters.25 'describe_images',26 'describe_snapshots',27 ],28 'ecr': [29 'get_authorization_token',30 ],31 'ecs': [32 'describe_capacity_providers',33 ],34 'efs': [35 'describe_account_preferences',36 ],37 'acm': [38 'get_account_configuration',39 ],40 'athena': [41 'list_data_catalogs',42 ],43 'apigateway': [44 'get_account',45 'get_sdk_types',46 ],47 'xray': [48 'get_encryption_config',49 'get_sample_rules',50 ],51 'waf': [52 'get_change_token',53 ],54 'waf-regional': [55 'get_change_token',56 ],57 'sts': [58 'get_caller_identity',59 'get_session_token',60 ],61 'ssm': [62 'describe_available_patches',63 'describe_patch_baselines',64 'get_inventory_schema',65 ],66 'ses': [67 'get_account_sending_enabled',68 'get_send_quota',69 ],70 'sesv2': [71 'get_account',72 'get_deliverability_dashboard_options',73 ],74 'signer': [75 'list_signing_platforms',76 ],77 'shield': [78 'describe_attack_statistics',79 'get_subscription_state',80 ],81 'lex-models': [82 'get_builtin_intents',83 'get_builtin_slot_types',84 ],85 'dynamodb': [86 'describe_limits',87 ],88 'lightsail': [89 'get_blueprints',90 'get_container_service_powers',91 'get_container_api_metadata',92 'get_bundles',93 'get_relational_database_blueprints',94 'get_relational_database_bundles',95 'get_regions',96 'get_bucket_bundles',97 ],98 'inspector': [99 'describe_cross_account_access_role',100 'list_rules_packages',101 ],102 'lambda': [103 'get_account_settings',104 ],105 'kinesis': [106 'describe_limits',107 ],108 'kafka': [109 'list_kafka_versions',110 'get_compatible_kafka_versions',111 ],112 'iot': [113 'describe_account_audit_configuration',114 'describe_event_configurations',115 'get_indexing_configuration',116 'get_registration_code',117 'list_domain_configurations'118 ],119 'iotsitewise': [120 'describe_logging_options',121 'describe_storage_configuration'122 ],123 'guardduty': [124 'get_invitations_count',125 ],126 'gamelift': [127 'describe_ec2_instance_limits',128 ],129 'elb': [130 'describe_account_limits',131 'describe_load_balancer_policies',132 ],133 'elbv2': [134 'describe_account_limits',135 'describe_ssl_policies',136 ],137 'elasticache': [138 'describe_cache_parameter_groups',139 'describe_service_updates',140 'list_allowed_node_type_modifications',141 'describe_cache_security_groups',142 'describe_users',143 ],144 'elasticbeanstalk': [145 'describe_account_attributes',146 'list_available_solution_stacks'147 ],148 'clouddirectory': [149 'list_managed_schema_arns',150 ],151 'codebuild': [152 'list_builds',153 'list_curated_environment_images'154 ],155 'cloudtrail': [156 'list_public_keys',157 'get_event_selectors',158 ],159 'cloudwatch': [160 'describe_alarm_history',161 'list_metrics',162 ],163 'snowball': [164 'get_snowball_usage',165 'list_compatible_images'166 ],167 'sms': [168 'get_servers'169 ],170 'sagemaker': [171 'get_sagemaker_servicecatalog_portfolio_status',172 ],173 'transfer': [174 'list_security_policies'175 ],176 'schemas': [177 'list_registries',178 ],179 'securityhub': [180 'describe_standards',181 ],182 'secretsmanager': [183 'get_random_password',184 ],185 'service-quotes': [186 'list_services',187 ],188 'wellarchitected': [189 'list_lenses',190 ],191 'route53': [192 'get_checker_ip_ranges',193 'get_geo_location',194 'get_traffic_policy_instance_count',195 'get_hosted_zone_count',196 'get_health_check_count',197 'list_geo_locations',198 ],199 'resourcegroupstaggingapi': [200 'get_resources',201 'get_tag_keys',202 ],203 'events': [204 'describe_event_bus',205 'list_event_buses',206 ],207 'fis': [208 'list_actions',209 ],210 'frauddetector': [211 'get_kms_encryption_key',212 ],213 'glacier': [214 'get_data_retrieval_policy',215 ],216 'glue': [217 'get_catalog_import_status',218 ],219 'apprunner': [220 'list_auto_scaling_configurations',221 ],222 'rds': [223 'describe_account_attributes',224 'describe_certificates',225 'describe_source_regions',226 ],227 'ram': [228 'list_permissions',229 ],230 'redshift': [231 'describe_account_attributes',232 'describe_cluster_tracks',233 'describe_orderable_cluster_options',234 'describe_storage',235 ],236 'polly': [237 'describe_voices',238 ],239 'opsworks': [240 'describe_my_user_profile',241 'describe_operating_systems',242 'describe_user_profiles',243 ],244 'opsworkscm': [245 'describe_account_attributes',246 ],247 'emr': [248 'get_block_public_access_configuration',249 'list_release_labels',250 ],251 'elastictranscoder': [252 'list_presets',253 ],254 'dms': [255 'describe_account_attributes',256 'describe_applicable_individual_assessments',257 'describe_orderable_replication_instances',258 ],259 'docdb': [260 'describe_certificates',261 'describe_db_subnet_groups',262 ],263 'ds': [264 'get_directory_limits',265 ],266 'compute-optimizer': [267 'get_enrollment_status',268 ],269 'config': [270 'get_compliance_summary_by_config_rule',271 'get_compliance_summary_by_resource_type',272 'get_discovered_resource_counts',273 ],274 'dax': [275 'describe_parameter_groups'276 ],277 'codedeploy': [278 'list_deployment_configs',279 ],280 'backup': [281 'list_backup_plan_templates',282 ],283 'autoscaling': [284 'describe_account_limits',285 ],286 'auditmanger': [287 'get_account_status',288 ],289 'cloudformation': [290 'describe_account_limits',291 ],292 'nimble': [293 'list_eulas',294 ],295 'cloudfront': [296 'list_cache_polocies',297 ]...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!