awscli 1.40.21__py3-none-any.whl → 1.40.22__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
awscli/__init__.py CHANGED
@@ -18,7 +18,7 @@ A Universal Command Line Environment for Amazon Web Services.
18
18
 
19
19
  import os
20
20
 
21
- __version__ = '1.40.21'
21
+ __version__ = '1.40.22'
22
22
 
23
23
  #
24
24
  # Get our data path to be added to botocore's search path
@@ -1,86 +1,95 @@
1
- **Example 1: To change the default action to a forward action**
2
-
3
- The following ``modify-listener`` example changes the default action (to a **forward** action)for the specified listener. ::
4
-
5
- aws elbv2 modify-listener \
6
- --listener-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2 \
7
- --default-actions Type=forward,TargetGroupArn=arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f
8
-
9
- Output::
10
-
11
- {
12
- "Listeners": [
13
- {
14
- "Protocol": "HTTP",
15
- "DefaultActions": [
16
- {
17
- "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
18
- "Type": "forward"
19
- }
20
- ],
21
- "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
22
- "Port": 80,
23
- "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
24
- }
25
- ]
26
- }
27
-
28
- **Example 2: To change the default action to a redirect action**
29
-
30
- The following ``modify-listener`` example changes the default action to a **redirect** action for the specified listener. ::
31
-
32
- aws elbv2 modify-listener \
33
- --listener-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2 \
34
- --default-actions Type=redirect,TargetGroupArn=arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f
35
-
36
- Output::
37
-
38
- {
39
- "Listeners": [
40
- {
41
- "Protocol": "HTTP",
42
- "DefaultActions": [
43
- {
44
- "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
45
- "Type": "redirect"
46
- }
47
- ],
48
- "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
49
- "Port": 80,
50
- "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
51
- }
52
- ]
53
- }
54
-
55
- **Example 3: To change the server certificate**
56
-
57
- This example changes the server certificate for the specified HTTPS listener. ::
58
-
59
- aws elbv2 modify-listener \
60
- --listener-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65 \
61
- --certificates CertificateArn=arn:aws:iam::123456789012:server-certificate/my-new-server-cert
62
-
63
- Output::
64
-
65
- {
66
- "Listeners": [
67
- {
68
- "Protocol": "HTTPS",
69
- "DefaultActions": [
70
- {
71
- "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
72
- "Type": "forward"
73
- }
74
- ],
75
- "SslPolicy": "ELBSecurityPolicy-2015-05",
76
- "Certificates": [
77
- {
78
- "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
79
- }
80
- ],
81
- "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
82
- "Port": 443,
83
- "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65"
84
- }
85
- ]
86
- }
1
+ **Example 1: To change the default action to a forward action**
2
+
3
+ The following ``modify-listener`` example changes the default action to a ``forward`` action for the specified listener. ::
4
+
5
+ aws elbv2 modify-listener \
6
+ --listener-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2 \
7
+ --default-actions Type=forward,TargetGroupArn=arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f
8
+
9
+ Output::
10
+
11
+ {
12
+ "Listeners": [
13
+ {
14
+ "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
15
+ "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
16
+ "Protocol": "HTTP",
17
+ "Port": 80,
18
+ "DefaultActions": [
19
+ {
20
+ "Type": "forward",
21
+ "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f"
22
+ }
23
+ ]
24
+ }
25
+ ]
26
+ }
27
+
28
+ **Example 2: To change the default action to a redirect action**
29
+
30
+ The following ``modify-listener`` example changes the default action to a ``redirect`` action for the specified listener. ::
31
+
32
+ aws elbv2 modify-listener \
33
+ --listener-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2 \
34
+ --default-actions Type=redirect, RedirectConfig='{Protocol=HTTPS,StatusCode=HTTP_302}'
35
+
36
+ Output::
37
+
38
+ {
39
+ "Listeners": [
40
+ {
41
+ "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
42
+ "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
43
+ "Protocol": "HTTP",
44
+ "Port": 80,
45
+ "DefaultActions": [
46
+ {
47
+ "Type": "redirect",
48
+ "RedirectConfig": {
49
+ "Protocol": "HTTPS",
50
+ "Port": "#{port}",
51
+ "Host": "#{host}",
52
+ "Path": "/#{path}",
53
+ "Query": "#{query}",
54
+ "StatusCode": "HTTP_302",
55
+ }
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ }
61
+
62
+ **Example 3: To change the server certificate**
63
+
64
+ The following ``modify-listener`` example changes the server certificate for the specified HTTPS listener. ::
65
+
66
+ aws elbv2 modify-listener \
67
+ --listener-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65 \
68
+ --certificates CertificateArn=arn:aws:iam::123456789012:server-certificate/my-new-server-cert
69
+
70
+ Output::
71
+
72
+ {
73
+ "Listeners": [
74
+ {
75
+ "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65",
76
+ "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
77
+ "Protocol": "HTTPS",
78
+ "Port": 443,
79
+ "DefaultActions": [
80
+ {
81
+ "Type": "forward",
82
+ "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
83
+ }
84
+ ],
85
+ "SslPolicy": "ELBSecurityPolicy-2015-05",
86
+ "Certificates": [
87
+ {
88
+ "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
89
+ }
90
+ ],
91
+ }
92
+ ]
93
+ }
94
+
95
+ For more information, see `Listener rules <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules>`__ in the *Application Load Balancers User Guide*.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: awscli
3
- Version: 1.40.21
3
+ Version: 1.40.22
4
4
  Summary: Universal Command Line Environment for AWS.
5
5
  Home-page: http://aws.amazon.com/cli/
6
6
  Author: Amazon Web Services
@@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Programming Language :: Python :: 3.12
23
23
  Requires-Python: >= 3.9
24
24
  License-File: LICENSE.txt
25
- Requires-Dist: botocore (==1.38.22)
25
+ Requires-Dist: botocore (==1.38.23)
26
26
  Requires-Dist: docutils (<=0.19,>=0.18.1)
27
27
  Requires-Dist: s3transfer (<0.14.0,>=0.13.0)
28
28
  Requires-Dist: PyYAML (<6.1,>=3.10)
@@ -1,4 +1,4 @@
1
- awscli/__init__.py,sha256=g8pSYczrpp5CvAWwDy7yvcMxGFnw_urGGOiVyLh10xc,1534
1
+ awscli/__init__.py,sha256=_wFNEV1YmdXR055cb4_-yRqlkUvz-x-0yKhOSFr3dMw,1534
2
2
  awscli/__main__.py,sha256=iBjOg0tBxNlhzTi_tyc1G0SMGBvHMVvBJzX3JqYaooY,662
3
3
  awscli/alias.py,sha256=Jj2jetpajUMcjqx9tFhHUOKpzLChQygnH2zqDFfmgIM,11315
4
4
  awscli/argparser.py,sha256=3Pxx-vWytdV985Y6MIl9DeutUXyehIvACIs_PDby8GI,7650
@@ -2671,7 +2671,7 @@ awscli/examples/elbv2/describe-tags.rst,sha256=lGCbvR8Fm8-UOFCpVVeT0G31dCa8H9QTO
2671
2671
  awscli/examples/elbv2/describe-target-group-attributes.rst,sha256=b4of14dX5IFqi31c65-BNFrEEXBIQOzQ4oitfq5FRYQ,1792
2672
2672
  awscli/examples/elbv2/describe-target-groups.rst,sha256=GTlhMYhmwt160WVmBKhINgwDdGgRaYGdXJwTxdOZnWY,2282
2673
2673
  awscli/examples/elbv2/describe-target-health.rst,sha256=Okv2qC1TOaujJfLY7Am1v_aluUdpGPfdp1fNvrvZaoM,4279
2674
- awscli/examples/elbv2/modify-listener.rst,sha256=d2E5R4lCn6Y4Dv6SXBS7I5EmNeq63kPCk9DtsLDXfCw,3805
2674
+ awscli/examples/elbv2/modify-listener.rst,sha256=m_LdGksUoSzY5_eBzfTWRB6mWOMFoucwgFKALMbVM_s,4358
2675
2675
  awscli/examples/elbv2/modify-load-balancer-attributes.rst,sha256=J3MzE88RLJPu0TzFoi4hQlMJf3UXclOkt0z26W9m0UA,2940
2676
2676
  awscli/examples/elbv2/modify-rule.rst,sha256=tueOnYCmtT8AzgDfrijlUouq0ulph8EP3NJoq2mhaN8,1361
2677
2677
  awscli/examples/elbv2/modify-target-group-attributes.rst,sha256=3wYpHxzFphqXETVo0irDPK9NqSMJCHT3Xv5Lv2B3LQk,858
@@ -6129,13 +6129,13 @@ awscli/topics/return-codes.rst,sha256=d9lpNFZwD75IiYcDEADQzu-4QiR8P28UPHkrNwPV5J
6129
6129
  awscli/topics/s3-config.rst,sha256=5EIVd4ggLBHtzjtHFvQp9hY415yMGZiG7S_rO9qy2t0,11663
6130
6130
  awscli/topics/s3-faq.rst,sha256=9qO0HFI6F9hx1wVEUDl8Jy6yoCUd9zbtv-Z0Re4dsiw,2934
6131
6131
  awscli/topics/topic-tags.json,sha256=6lUSrs3FKCZNRSQMnjcXNgWyRNGjZIeur1988a4IO5o,1577
6132
- awscli-1.40.21.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
6133
- awscli-1.40.21.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
6134
- awscli-1.40.21.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
6135
- awscli-1.40.21.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
6136
- awscli-1.40.21.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
6137
- awscli-1.40.21.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
6138
- awscli-1.40.21.dist-info/METADATA,sha256=JaVh2d7M8WPjYDNQf4GT6h-ndr4t1q_c6EYyRL6W-ls,11055
6139
- awscli-1.40.21.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6140
- awscli-1.40.21.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
6141
- awscli-1.40.21.dist-info/RECORD,,
6132
+ awscli-1.40.22.data/scripts/aws,sha256=r24FExgs0-JjILTQ3XZAqXBYE4SV6UMTtALkLGAj86g,805
6133
+ awscli-1.40.22.data/scripts/aws.cmd,sha256=s46DkC6LNgX63CIkzxxbPnFMJ6DRDBkvc88GnWa8Pvg,1432
6134
+ awscli-1.40.22.data/scripts/aws_bash_completer,sha256=RRpoEGJRagRzyHZKZZOwpltuVYv2EoiZsdXhmyWPZ54,204
6135
+ awscli-1.40.22.data/scripts/aws_completer,sha256=oC9kuMDlWE47dWk_4xjPde2PQvN-M0vND0J4YSLabVQ,1126
6136
+ awscli-1.40.22.data/scripts/aws_zsh_completer.sh,sha256=Qm6Z8ejNAMzpJjaT0pzqxbSDT2zxdmzVe5haRA7qLoc,1808
6137
+ awscli-1.40.22.dist-info/LICENSE.txt,sha256=o5XhFlwu0OK_BBrijlKCRa7dQAm36UrUB3gCV_cEr8E,549
6138
+ awscli-1.40.22.dist-info/METADATA,sha256=7pBvQsDMsOaIf0iAn-iOTEUxsL0m7jcUG8fWZ7KUZbA,11055
6139
+ awscli-1.40.22.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
6140
+ awscli-1.40.22.dist-info/top_level.txt,sha256=vt9wXFr1_nGYK6abhJgt6zY3fULe4JSZedm_5XOM9S0,7
6141
+ awscli-1.40.22.dist-info/RECORD,,
File without changes