'''
===================================
Boto 3 - CloudWatch Service Example
===================================
This application implements the CloudWatch service that lets you gets
information from Amazon Cloud Watch. See the README for more details.
'''
import boto3

'''
Define your AWS credentials:
'''
AWS_ACCESS_KEY_ID = 'AKIAJM7BQ4WBJJSVU2JQ'
AWS_SECRET_ACCESS_KEY = 'Fq9GmwWEsvbcdHuh4McD+ZUmfowPKrnzFmhczV2U'

'''
Connection to AWS.
'''
client = boto3.client('cloudwatch',
                        aws_access_key_id=AWS_ACCESS_KEY_ID,
                        aws_secret_access_key=AWS_SECRET_ACCESS_KEY)

# Main program:
if __name__ == '__main__':
    print_results()
'''
===================================
Boto 3 - CloudWatch Service Example
===================================
This application implements the CloudWatch service that lets you gets
information from Amazon Cloud Watch. See the README for more details.
'''
import boto3

'''
Define your AWS credentials:
'''
AWS_ACCESS_KEY_ID = '<YOUR ACCESS KEY ID>'
AWS_SECRET_ACCESS_KEY = '<YOUR SECRET ACCESS KEY>'

'''
Connection to AWS.
'''
client = boto3.client('cloudwatch',
                        aws_access_key_id=AWS_ACCESS_KEY_ID,
                        aws_secret_access_key=AWS_SECRET_ACCESS_KEY)

# Main program:
if __name__ == '__main__':
    print_results()
Fix issue in cloudwacth service credentials
Fix issue in cloudwacth service credentials

  '''
  ===================================
  Boto 3 - CloudWatch Service Example
  ===================================
  This application implements the CloudWatch service that lets you gets
  information from Amazon Cloud Watch. See the README for more details.
  '''
  import boto3
  
  '''
  Define your AWS credentials:
  '''
- AWS_ACCESS_KEY_ID = 'AKIAJM7BQ4WBJJSVU2JQ'
- AWS_SECRET_ACCESS_KEY = 'Fq9GmwWEsvbcdHuh4McD+ZUmfowPKrnzFmhczV2U'
+ AWS_ACCESS_KEY_ID = '<YOUR ACCESS KEY ID>'
+ AWS_SECRET_ACCESS_KEY = '<YOUR SECRET ACCESS KEY>'
  
  '''
  Connection to AWS.
  '''
  client = boto3.client('cloudwatch',
                          aws_access_key_id=AWS_ACCESS_KEY_ID,
                          aws_secret_access_key=AWS_SECRET_ACCESS_KEY)
  
  # Main program:
  if __name__ == '__main__':
      print_results()
Fix issue in cloudwacth service credentials
## Code Before:
'''
===================================
Boto 3 - CloudWatch Service Example
===================================
This application implements the CloudWatch service that lets you gets
information from Amazon Cloud Watch. See the README for more details.
'''
import boto3

'''
Define your AWS credentials:
'''
AWS_ACCESS_KEY_ID = 'AKIAJM7BQ4WBJJSVU2JQ'
AWS_SECRET_ACCESS_KEY = 'Fq9GmwWEsvbcdHuh4McD+ZUmfowPKrnzFmhczV2U'

'''
Connection to AWS.
'''
client = boto3.client('cloudwatch',
                        aws_access_key_id=AWS_ACCESS_KEY_ID,
                        aws_secret_access_key=AWS_SECRET_ACCESS_KEY)

# Main program:
if __name__ == '__main__':
    print_results()
## Instruction:
Fix issue in cloudwacth service credentials
## Code After:
'''
===================================
Boto 3 - CloudWatch Service Example
===================================
This application implements the CloudWatch service that lets you gets
information from Amazon Cloud Watch. See the README for more details.
'''
import boto3

'''
Define your AWS credentials:
'''
AWS_ACCESS_KEY_ID = '<YOUR ACCESS KEY ID>'
AWS_SECRET_ACCESS_KEY = '<YOUR SECRET ACCESS KEY>'

'''
Connection to AWS.
'''
client = boto3.client('cloudwatch',
                        aws_access_key_id=AWS_ACCESS_KEY_ID,
                        aws_secret_access_key=AWS_SECRET_ACCESS_KEY)

# Main program:
if __name__ == '__main__':
    print_results()